VERITAS Volume Manager 3.5 Troubleshooting Guide (August 2002)
Recovery by Reinstallation
32 VERITAS Volume Manager Troubleshooting Guide
If the root disk (or another disk) was involved with the reinstallation, any volumes or
mirrorson that disk(or other disksno longer attached tothe system) are now inaccessible.
If a volume had only one plex contained on a disk that was reinstalled, removed, or
replaced, then the data in that volume is lost and must be restored from backup. In
addition, the systemroot file system,swap area, (and on some systems stand area),and
/usr file system are no longer located on volumes. To correct these problems, follow the
instructions in “Clean up the System Configuration.”
Clean up the System Configuration
To clean up the configuration of your system after reinstallation of VxVM, you must
address the following issues:
◆ Clean up Volumes
◆ Clean up Disk Configuration
◆ Final Volume Reconfiguration
Clean up Volumes
After recovering theVxVM configuration, youmust determine which volumes need to be
restored from backup. The volumes to be restored include those with all mirrors (all
copies of the volume) residing on disks that have been reinstalled or removed. These
volumes are invalid and must be removed, recreated, and restored from backup. If only
some mirrors of a volume exist on reinitialized or removed disks, these mirrors must be
removed. The mirrors can be re-added later.
To restore the volumes, perform these steps:
1. Establish which VM disks have been removed or reinstalled using the following
command:
# vxdisk list
This displays a list of system disk devices and the status of these devices. For
example, for a reinstalled system with three disks and a reinstalled root disk, the
output of the vxdisk list command is similar to this:
DEVICE TYPE DISK GROUP STATUS
c0t0d0 simple - - error
c0t1d0 simple disk02 rootdg online
c0t2d0 simple disk03 rootdg online
- - disk01 rootdg failed was:c0t0d0