VERITAS Volume Manager 3.5 Troubleshooting Guide (August 2002)
Recovery by Reinstallation
34 VERITAS Volume Manager Troubleshooting Guide
4. Because v01-01 was the only plex of the volume, the volume contents are
irrecoverableexcept byrestoringthe volumefrom a backup. The volume must alsobe
removed. If a backup copy of the volume exists, you can restore the volume later.
Keep a record of the volume name and its length, as you will need it for the backup
procedure.
Remove irrecoverable volumes (such as v01) using the following command:
# vxedit -r rm v01
5. It is possible that only part of a plex is located on the failed disk. If the volume has a
striped plex associated with it, the volume is divided between several disks. For
example, the volume named v02 has one striped plex striped across three disks, one
of which is the reinstalled disk disk01. The vxprint -th v02 command produces
the following output:
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WIDMODE
SD NAME PLEX DISK DISKOFFSLENGTH COL/]OFF DEVICE MODE
v v02 fsgen DISABLEDACTIVE 30720 SELECT v02-01
pl v02-01 v02 DISABLEDNODEVICE30720 STRIPE 3/128 RW
sd disk02-02v02-01 disk01 424144 10240 0/0 c1t5d2 ENA
sd disk01-05v02-01 disk01 620544 10240 1/0 c1t5d3 DIS
sd disk03-01v02-01 disk03 620544 10240 2/0 c1t5d4 ENA
The display shows three disks, across which the plex v02-01 is striped (the lines
starting with sd represent the stripes). One of the stripe areas is located on a failed
disk. This disk isno longervalid, sothe plexnamed v02-01 has astate ofNODEVICE.
Since this is the only plex of the volume, the volume is invalid and must be removed.
If a copy of v02 exists on the backup media, it can be restored later. Keep a record of
the volume name and length of any volume you intend to restore from backup.
Remove invalid volumes (such as v02) using the following command:
# vxedit -r rm v02
6. A volume that has one mirror on a failed disk can also have other mirrors on disks
that are still valid. In this case, the volume does not need to be restored from backup,
since the data is still valid on the valid disks.
The output ofthe vxprint -th command for a volume with one plexon afailed disk
(disk01) and another plex on a valid disk (disk02) is similar to the following:
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT NCOL/WIDMODE
SD NAME PLEX DISK DISKOFFSLENGTH COL/]OFF DEVICE MODE