Open System Services Management and Operations Guide (G06.25+, H06.03+)
Managing Filesets
Open System Services Management and Operations Guide—527191-002
5-36
Cleaning Up a Fileset
You can verify the results of the copy by using the following OSS shell commands:
cd /homex
ls -lR * > /tmp/homex.list
cd /home
ls -lR * > /tmp/home.list
diff /tmp/home.list /tmp/homex.list
If the copy was executed correctly, the diff command produces no output,
meaning that the two directories are identical.
7. Remove the /homex directory and all files and directories underneath it:
rm -r /homex
8. Restore the security permissions that you recorded from the /homex directory in
Step 3 to the new /home directory:
chmod 744 /home
Cleaning Up a Fileset
No OSS Monitor command exists to clean up unused inode entries in a fileset. The
procedure to move files into their own filesets does not reduce the number of inode
entries in the original (source) fileset. Rearranging filesets alone might not improve the
performance of the SCF DIAGNOSE FILESET command on an affected fileset. To
clean up the inode entries for a fileset, the fileset must be removed and reinstalled.
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-20.
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