Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Managing File Systems
Chapter 6 649
Step 5. If there are ACLs to be converted, record the HFS ACLs and save the
information in a file on a different file system. See “Managing Access to
Files and Directories” on page 753 for more information about HFS and
JFS ACLs.
Step 6. In an NFS environment, tell remote users to unmount the affected file
system to avoid having stale NFS mounts later.
Step 7. Warn all users that the system is shutting down.
Step 8. Bring the system down to single-user mode by using the shutdown
command with no parameters:
shutdown
Step 9. Create the JFS file system using the mkfs command:
mkfs -F vxfs /dev/vg00/rlvol5
Step 10. Mount the new file system:
mount -F vxfs /dev/vg00/lvol5 /opt
Step 11. Restore the file system data from the backup archive created in Step 1 to
the file system. For example:
frecover -x -i /opt
NOTE Although fbackup saves ACLs, frecover will not retain the ACLs when
restoring an HFS backup to a JFS file system. If you have ACLs, you
must write and run a script to restore them.
Step 12. If there are ACLs to be converted, use the HFS ACL information saved in
Step 5 and apply corresponding JFS ACLs to files in the new JFS file
system. You may want to write a script to do this. See “Managing Access
to Files and Directories” on page 753 for more information about HFS
and JFS ACLs.
Step 13. Put the system back into multi-user mode:
init 4
or
reboot -r