VERITAS Volume Manager 3.5 Troubleshooting Guide (August 2002)

Chapter 2, Recovery from Boot Disk Failure
Recovery by Reinstallation
35
v v03 fsgen DISABLEDACTIVE 0720 SELECT -
pl v03-01 v03 DISABLEDACTIVE 30720 CONCAT - RW
sd disk02-01 v03-01 disk01 620544 30720 0 c1t5d5 ENA
pl v03-02 v03 DISABLEDNODEVICE30720 CONCAT - RW
sd disk01-04 v03-02 disk03 262144 30720 0 c1t5d6 DIS
This volume has two plexes, v03-01 and v03-02. The first plex (v03-01) does not
use any space on the invalid disk, so it can still be used. The second plex (v03-02)
uses space on invalid disk disk01 and has a state of NODEVICE. Plex v03-02 must
be removed. However, the volumestill has one validplex containing valid data.If the
volume needs to be mirrored, another plex can be added later. Note the name of the
volume to create another plex later.
To remove an invalid plex, use the vxplex command to dissociate and then remove
the plex from the volume. For example, to dissociate and remove the plex v03-02,
use the following command:
# vxplex -o rm dis v03-02
7. Once all the volumes have been cleaned up, clean up the disk configuration as
described in the following section, “Clean up Disk Configuration.”
Clean up Disk Configuration
Once all invalid volumes and plexes have been removed, the disk configuration can be
cleaned up. Each disk that was removed, reinstalled, or replaced (as determined from the
output of the vxdisk list command) must be removed from the configuration.
To remove the disk, use the vxdg command. To remove the failed disk disk01, use the
following command:
# vxdg rmdisk disk01
If the vxdg command returns an error message, some invalid mirrors exist. Repeat the
processes described in “Clean up Volumes” on page 32 until all invalid volumes and
mirrors are removed.
Final Volume Reconfiguration
Once the root disk is under VxVM control, any other disks that were replaced should be
added using the vxdiskadm command.
Once all the disks have been added to the system, any volumes that were completely
removed as part of the configuration cleanup can be recreated and their contents restored
frombackup. The volumerecreationcan bedone byusing the vxassist command or the
graphical user interface.