Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

2. Use the following form of the TACL DSAP command to determine the size of the fileset:
DSAP oss_volume_name, BYSUBVOL
You need to do this for all volumes that contain files with the subvolume name for the fileset.
To determine the list of volumes with subvolumes, you can use the command:
FUP SUBVOLS $*.ZYQnnnnn
For the HOME fileset example, the commands would be:
FUP SUBVOLS $*.ZYQ00001
If the output of this SUBVOLS command was:
$OSS2
ZYQ00001
$OSS1
ZYQ00001
$OSS
ZYQ00001
then the corresponding DSAP commands would be:
DSAP $OSS2, BYSUBVOL
DSAP $OSS1, BYSUBVOL
DSAP $OSS, BYSUBVOL
Example 14 (page 191) shows the output of one such DSAP command. The total number of
pages in a fileset on one disk is shown in the Total Pages column for its subvolume. To determine
the total number of bytes, multiply the total pages by 2048 (the number of bytes/page).
Example 14 Output of DSAP command
Subvolume Total Unused Dealloc Large Min Age Num
Name Files Pages Pages Pages File Mod,Opn Exp
...
...
ZYQ00000 2 514 5 0 472 7, 0 2
ZYQ00001 6155 485776 25411 10 34082 0,--- 1K+
ZYQ00002 1206 166448 6912 0 39082 116,--- 1K+
ZYQ00003 283 16804 851 0 4182 162,--- 283
In Example 14, the total number of pages for the HOME fileset is shown as 485776. Multiplied
by 2048, the total size of the HOME fileset would be 994,869,248 bytes if it is completely
contained on this one disk. Because this is smaller than the size limit for pax files, you can
back up the HOME fileset in the Guardian file system.
For more information about the DSAP command, see the Guardian Disk and Tape Utilities
Reference Manual.
To create the backup for the OSS files in the HOME fileset as a file in the Guardian file system,
enter the following OSS shell command:
pax -X -wvf /G/oss/backup/paxhome /home
This command creates the pax archive as the Guardian file $OSS.BACKUP.PAXHOME on the
local NonStop server node. The -X flag prevents the pax utility from descending into directories
within /home when those directories reside in a different fileset (as indicated by the use of a
different device ID from that used for files in /home that are part of the HOME fileset).
If the HOME fileset had been slightly larger than the pax file size limit, the following OSS shell
command might also have succeeded:
pax -X -wv /home | compress > /G/oss/backup/paxhome
The amount of data beyond the limit that can be backed up in this manner depends on the contents
of the files within the fileset.
Backing Up and Restoring OSS Files 191