Recovery with veritas, booting up outside vxvm

1. Boot from the network or from the CD-ROM.

2. Run fsck, then mount slice 0 from the primary boot disk onto /mnt

3. Restore the file(s) that need to be restored from your backup tape.

4. Use a vfstab that mounts underlying partitions directly
rather than one that mounts volumes. You can use commands
like the following:

# cd /mnt/etc ; cp vfstab vfstab.save
# cp vfstab.prevm vfstab

5. Make a backup copy of /mnt/etc/system with the commands:

# cd /mnt/etc/ ; cp system system.save
then edit /mnt/etc/system and comment out the following lines:

rootdev:/pseudo/vxio@0:0
set vxio:vol_rootdev_is_volume=1

6. Stop the vxconfigd from starting with the command:

# touch /mnt/etc/vx/reconfig.d/state.d/install-db
7. Now reboot the system.

8. Log in as root and start up vxconfigd with the commands:

# vxiod set 10
# vxconfigd

Start up the vxva GUI. All the volumes will be stopped (shaded brown).
A ‘vxprint’ will indicate that all the volumes are stopped.

9. Through the vxva GUI (or using the appropriate commands), remove the
mirrors from the secondary boot disk (not the one we have booted
from), so that the volume is just a simple concat, and no longer a mirror.

Extend this step for any volumes which are associated with any underlying
devices which were modified back when you were booted from the CD-ROM.

10. Remove the install-db file.

# rm /etc/vx/reconfig.d/state.d/install-db
11. Restore the saved /etc/system and the saved /etc/vfstab.

12. Reboot.

13. Remirror the primary boot disk volumes to the secondary
boot disk using the Volume Manager.

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.