Installation guide
# cd /
# umount /mnt
11. Restore the /usr file system.
• If the /usr file system is on the same device as root, the process is
similar to steps 7 through 10. To restore the /usr file system on
the g partition of the same device as the root file system from the
same tape device, enter the following sequence of commands. If you
are using AdvFS, this step will not work. Use the procedure in step
11a.
# newfs /dev/rrz0g
# mount /dev/rz0g /mnt
# cd /mnt
# restore -Yrf /dev/rmt0h
# cd /
# umount /mnt
a. Use the following procedure to restore the /usr directory on
AdvFS from a tape mounted on rmt0 to a drive other than root:
# cd /dev
# MAKEDEV rz1
# cd /
# disklabel -rw rz1 rz57
# mkfdmn /dev/rz1c usr_domain
# mkfset usr_domain usr
# mount -t advfs usr_domain#usr /usr
# vrestore -x -D /usr
• If the /usr file system is on a different device from root, the
process is similar to steps 4 through 10. To restore /usr on an
RZ57, unit 1, c partition from the same tape device, enter the
following sequence of commands:
# cd /dev
# MAKEDEV rz1
# cd /
# disklabel -rw rz1 rz57
# newfs /dev/rrz1c
# mount /dev/rz1c /mnt
# cd /mnt
# restore -Yrf /dev/rmt0h
# cd /
# umount /mnt
12. Halt the system.
# halt
Administering the Archiving Services 11–27