Open System Services Management and Operations Guide (G06.29+, H06.07+)

Managing Filesets
Open System Services Management and Operations Guide527191-005
5-38
Cleaning Up a Fileset
The following example, which uses a fileset called HOME, shows how to eliminate
extraneous inode entries in the ROOT fileset. You must follow this same procedure for
every fileset within the ROOT hierarchy except the ROOT fileset itself:
1. In SCF, stop the HOME fileset by using the following commands:
STOP FILESET $ZPMON.HOME
2. Use pax from an OSS shell prompt to back up the ROOT fileset. The HOME fileset
is stopped, so it is not included in this backup. HP recommends that you make
multiple copies of this backup. For more information, see Creating a pax Backup of
OSS Files in the Guardian File System on page 6-21.
3. In SCF, stop the ROOT fileset by using the following commands:
STOP FILESET $ZPMON.ROOT
4. Display and record all the configuration information for the ROOT fileset:
INFO FILESET $ZPMON.ROOT, DETAIL
5. Delete the ROOT fileset and then redefine it using the recorded information from
Step 4:
a. At a TACL prompt, go to the volume that is listed as CATALOG for the ROOT
fileset:
VOLUME $OSS.ZX000000
b. Delete all the files in the ROOT fileset by using the FSCK utility:
FSCK PURGE
6. Go back to SCF and start the ROOT fileset again:
START FILESET $ZPMON.ROOT
7. Restore the ROOT fileset from the backup.
If the pax backup was done to the Guardian file system, you can restore the
ROOT fileset directly. See Restoring a pax Archive of OSS Files Directly From the
Guardian Environment on page 6-25 for more information.
If the pax backup was done to tape, you must first use COPYOSS to reinstall a
basic configuration, so that you have a copy of the OSS shell you can start and a
copy of pax to do the restoration with.
8. In SCF, start the HOME fileset:
START FILESET $ZPMON.HOME