VERITAS Volume Manager 3.5 Troubleshooting Guide (September 2004)
Recovery from Boot Disk Failure
Recovery by Reinstallation
Chapter 2
40
The configuration preserved on the disks not involved with the reinstallation has now
been recovered. However, because the root disk has been reinstalled, it does not appear
to VxVM as a VM disk. The configuration of the preserved disks does not include the root
disk as part of the VxVM configuration.
If the root disk of your system and any other disks involved in the reinstallation were not
under VxVM control at the time of failure and reinstallation, then the reconfiguration is
complete at this point. For information on replacing disks, see “Removing and Replacing
Disks” in the “Administering Disks” chapter of the VERITAS Volume Manager
Administrator’s Guide. There are several methods available to replace a disk; choose the
method that you prefer.
If the root disk (or another disk) was involved with the reinstallation, any volumes or
mirrors on that disk (or other disks no longer attached to the 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 system root 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” on page 40.
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” on page 40
• “Clean up Disk Configuration” on page 44
• “Final Volume Reconfiguration” on page 44
Clean up Volumes After recovering the VxVM configuration, you must 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:
Step 1. Establish which VM disks have been removed or reinstalled using the following
command:
# vxdisk list
This command 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