Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)
2. Do one of the following:
• Use the SCF CONTROL FILESET command with the SYNC option to make the change
take effect immediately.
• Stop the fileset with the SCF STOP FILESET command, as described under “Stopping
(Unmounting) a Fileset” (page 151), then restart the fileset using the SCF START FILESET
command.
The change takes effect when the fileset is restarted.
Removing a Disk Volume From a Storage-Pool File
You remove a disk volume from a storage-pool file when the disk volume becomes too full to safely
accommodate new files. Removing the disk volume from the storage-pool file leaves it in the storage
pool for the fileset and leaves its existing files available for use.
To remove a disk volume from a storage-pool file:
1. Stop the fileset with the SCF STOP FILESET command, as described in “Stopping (Unmounting)
a Fileset” (page 151).
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.
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.
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” (page 151).
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.
158 Managing Filesets