Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing Filesets
Open System Services Management and Operations Guide—527191-005
5-23
Changing the Physical Makeup of a Fileset
2. Use the SCF INFO FILESET Command to determine the name of the storage-pool
file for the fileset.
3. Use a Guardian text editor to convert the entry for the disk volume to a comment
within the storage-pool file.
4. Restart the fileset with the SCF START FILESET Command.
New files created within the fileset are not added to the disk volume.
Removing a Disk Volume From a Fileset
It is sometimes necessary to remove a disk volume that is already in use as part of a
fileset. Removing a disk volume from a fileset means removing it from both its storage-
pool file and its storage pool.
To remove a disk volume from a fileset:
1. Use the SCF INFO FILESET command to determine the mount point for the fileset
that uses the disk volume you want to remove.
2. Use the OSS shell cd command to reach the mount point. For example:
cd /data1
3. Create a pax archive of the entire fileset, as follows:
pax -wvf ../oss_files.pax ./
4. Stop the fileset with the SCF STOP FILESET command, as described under
Stopping (Unmounting) a Fileset on page 5-13.
5. Use a Guardian text editor to delete the entry for the disk volume from the storage-
pool file for the fileset.
6. Restart the fileset with the SCF START FILESET command.
7. Delete all the files beneath the mount point with the OSS shell rm -r command.
This step:
•
Prevents the OSS file system from using the old catalog entries when one of
these files is accessed.
•
Empties the corresponding ZYQ subvolume so that subsequent use of the SCF
DIAGNOSE FILESET command does not inappropriately restore the files to
the lost+found directory of the fileset.
8. Restore the previously archived files to the mount point using the OSS shell pax
command. For example:
pax -rvf oss_files.pax
Note. You should never delete the entry for a volume name from a storage-pool file once
the disk volume contains OSS files; converting such entries to comments provides an easy
way to document the volume list for the fileset.