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

Managing Filesets
Open System Services Management and Operations Guide—527191-005
5-36
Moving a Directory Hierarchy to Its Own Fileset
Upgrading From an RVU Preceding G05.00
Older configuration files can be deleted. Once the G05.00 RVU is installed and the
OSS file system is started for the first time, the content of the ZXMNTTAB file is no
longer accurate. That file should be deleted as soon as you are sure that you need not
fall back to a previous RVU.
The ZXCONFIG file can also be deleted. However, you might want to maintain the
contents of ZXCONFIG in parallel with the ZOSSFSET file, because if you need to fall
back to the RVU you upgraded from, an accurate ZXCONFIG file is essential. You
would need to rename ZXCONFIG to ZPCONFIG before you could bring up the
previous RVU.
Moving a Directory Hierarchy to Its Own
Fileset
Before moving a directory hierarchy, you should back up the entire fileset using the
pax utility. For information on how to back up OSS files to the Guardian file system,
see Creating a pax Backup of OSS Files in the Guardian File System on page 6-21.
HP recommends that you make multiple copies of the backup.
The following example shows how to move the /home directory from the ROOT fileset
to a newly-defined HOME fileset. To move the /home directory, you need to be logged
in as the super ID.
1. Using the OSS shell command mv, change the name of the /home directory to a
file or directory name that does not already exist in the ROOT directory, for
example, /homex. This action removes the /home directory from the ROOT
fileset’s namespace so another fileset named /home can be created:
mv /home /homex
2. Create a new directory named /home, using the shell command mkdir:
mkdir /home
3. Record the existing security permissions for the /homex directory.
4. Change the security permissions for /home to 777 (all read, write, and execute).
When the new fileset is mounted on this directory, you can reset the permissions to
those used for /homex.
chmod 777 /home
5. Create a fileset named HOME, using a unique OSS name server, that has a
DEVICELABEL of 000001. The use of multiple OSS name server processes can
improve overall performance if the default name server, $ZPNS, is very busy.
a. Start SCF.