Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

show_pubset_export - show file system affected by pubset export

&pagelevel(4)&pagelevel

This command supplies the system administrator with information on which file systems in POSIX are affected by the export of a pubset and must therefore be unmounted before the EXPORT-PUBSET command is executed.

This information is particularly helpful when bs2fs file systems are used. Unlike with the ufs and NFS file systems, it is not sufficient in this case to check whether the mount point of a file system is located on the pubset concerned.

With bs2fs file systems the location of the BS2000 files mounted by means of bs2fs is also relevant. The mount point of the bs2fs container also plays a role. If it is located on the pubset to be exported, all mounted bs2fs file systems are affected by the export, irrespective of their location.

Depending on the file system type, a file system is affected by EXPORT-PUBSET, if the objects shown in the following list are located on the pubset to be exported:

ufs:

Mount point or container file

nfs:

Mount point

bs2fs:

Mount point or mounted BS2000 files or mount point/container file of the bs2fs container (cf. ufs)


Syntax


show_pubset_export cat-id

cat-id

Catalog ID of the pubset which is to be checked (without enclosing colons “:”). The entry can be made in upper- or lowercase notation or a mixture of both; the check is performed with the cat-id converted to uppercase notation.

File

The following files are searched for the specified catalog ID in order to determine the file systems affected:

/etc/mnttab

Table of all mounted file systems

/etc/partitions

Table of all possible partitions
If the catalog ID entry is missing in this file, the default ID is determined via BS200 and used for the check.

SYSSSI.POSIX-BC.<version>

SYSSSI file of POSIX from BS2000
The BS2000 file name of the container file of the root file system is determined from this file (ROOTFSNAME parameter) as this name is not entered in the /etc/partitions file.

Example

The file systems affected by the export of the DATA pubset are determined. The container file of the ufs file system mounted under the home directory /home/bach resides on the DATA pubset.

# show_export DaTa
the nfs filesystems on pubset DATA
nfs filesystem PGTR0157:/home4 mounted on /home/bach/nfs4
nfs filesystem PGTR0157:/home5 mounted on /home/bach/nfs5
the bs2fs filesystems on pubset DATA
bs2fs filesystem :DATA:$BACH.ASS.* mounted on /home/bach/bs2/mount.ass
bs2fs filesystem :V70A:$BACH.CCC.* mounted on /home/bach/bs2/mount.ccc
bs2fs filesystem :DATA:$BACH.PLAM* mounted on /home/bach/bs2/mount.plam
the ufs filesystems on pubset DATA
ufs filesystem /dev/dsk/4 mounted on /home/froede
ufs filesystem /dev/dsk/5 mounted on /home/bach
#