VERITAS Volume Manager 3.1 Administrator's Guide
Recovery
Reinstallation Recovery
Chapter 8 345
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 volume still
has one valid plex 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.
Step 6. To remove an invalid plex, the plex must be dissociated from the volume
and then removed. This is done with the vxplex command. To
disassociate and remove the plex v03-02, use the following command:
# vxplex -o rm dis v03-02
Step 7. Once all the volumes have been cleaned up, you must clean up the disk
configuration as described in the following section, “Disk Cleanup”
Disk Cleanup 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 “Volume Cleanup” until all
invalid volumes and mirrors are removed.
Final 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 from backup. The volume recreation can be
done by using the vxassist command or the graphical user interface.
For example. to recreate the volumes v01 and v02, use the following
command:
# vxassist make v01 24000
# vxassist make v02 30720 layout=stripe nstripe=3
Once the volumes are created, they can be restored from backup using