Maintaining Mirrored Systems CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems
Repairing or rebuilding the /cms file system 48
9. Prepare the cms mirror for a new file system (this will take 15 to 30
minutes to complete):
10. This step remounts
/cms
. How that is done depends upon whether
you had to alter the
vfstab
file when you attempted to repair the file
system.
If you altered the
vfstab
file during the repair procedure, do the
following:
a. Load the
/etc/vfstab
file into your editor.
b. Find the
#/cms
line. Uncomment the line. (To uncomment a
line, delete the initial pound sign.)
c. Save the file and exit the editor.
d. Reboot by entering the following command:
If you did NOT alter the
vfstab
file, do the following:
a. Remount
/cms
:
11. Verify that you are in the root directory.
12. Load the latest CMSADM backup tape into the tape drive.
13. Restore CMS data from the tape:
14. Restore the latest full maintenance backup.
# newfs -m 0 /dev/md/rdsk/d21
.
.
.
14550512, 14585216, 14619920, 14654624,
14689328, 14724032, 14758736, 14793440,
14828144, 14862848, 14897552, 14929952,
ufs fsck: sanity check: /dev/md/rdsk/d21 okay
Success, /cms mirrored successfully
#
# /usr/sbin/shutdown -i6 -g0 -y
# mount /cms
# cpio -icmudv -C 10240 -I /dev/rmt/0c -M
“Insert Tape %d” “cms/*”