VERITAS Volume Manager 3.5 Troubleshooting Guide (September 2004)

Recovery from Boot Disk Failure
Recovery by Reinstallation
Chapter 2
41
disk03 rootdg
online
--
disk01 rootdg
failed was:c0t0d0
NOTE Your system may use a device name that differs from the examples. For more
information on device names, see the chapter “Administering Disks” in the VERITAS
Volume Manager Administrator’s Guide.
The display shows that the reinstalled root device, c0t0d0, is not associated with a VM
disk and is marked with a status of error. The disks disk02 and disk03 were not
involved in the reinstallation and are recognized by VxVM and associated with their
devices (c0t1d0 and c0t2d0). The former disk01, which was the VM disk associated
with the replaced disk device, is no longer associated with the device (c0t0d0).
If other disks (with volumes or mirrors on them) had been removed or replaced during
reinstallation, those disks would also have a disk device listed in error state and a VM
disk listed as not associated with a device.
Step 2. Once you know which disks have been removed or replaced, locate all the mirrors on
failed disks using the following command:
# vxprint -sF “%vname” -e’sd_disk = “
disk
”’
where
disk
is the name of a disk with a failed status. Be sure to enclose the disk name
in quotes in the command. Otherwise, the command returns an error message. The
vxprint command returns a list of volumes that have mirrors on the failed disk. Repeat
this command for every disk with a failed status.
Step 3. Check the status of each volume and print volume information using the following
command:
# vxprint -th
volume
where
volume
is the name of the volume to be examined. The vxprint command
displays the status of the volume, its plexes, and the portions of disks that make up
those plexes.
For example, a volume named v01 with only one plex resides on the reinstalled disk
named disk01. The vxprint -th v01 command produces the following output:
V NAME
USETYPE KSTATE
STATE LENGTH
READPOL PREFPLEX
PL NAME
VOLUME KSTATE
STATE LENGTH
LAYOUT NCOL/WID
MODE
SD NAME
PLEX DISK
DISKOFFS LENGTH
COL/]OFF DEVICE
MODE