VERITAS Volume Manager 3.1 Administrator's Guide
Recovery
Reinstallation Recovery
Chapter 8344
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/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
v v02 fsgen DISABLED ACTIVE 30720 SELECT v02-01
plv02-01v02DISABLEDNODEVICE30720STRIPE3/128RW
sd disk02-02 v02-01 disk02 424144 10240 0/0 c1t2d0 ENA
sd disk01-05 v02-01 disk01 620544 10240 1/0 c1t2d1 DIS
sd disk03-01 v02-01 disk03 620544 10240 2/0 c1t2d2 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 is no longer valid, so the plex named
v02-01 has a state of NODEVICE. 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.
Step 5. Use the vxedit command to remove the volume, as described in step 4.
A volume thathas one mirror on a failed disk can alsohave 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 of the vxprint -th command for a volume with one plex on a
failed 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/WID MODE
SD NAME PLEX DISK DISKOFFS LENGTH [COL/]OFF DEVICE MODE
v v03 fsgen DISABLED ACTIVE 30720 SELECT -
pl v03-01 v03 DISABLED ACTIVE 30720 CONCAT - RW
sd disk02-01 v03-01 disk01 620544 307200 c1t3d0 ENA
pl v03-02 v03 DISABLED NODEVICE 30720 CONCAT - RW
sd disk01-04 v03-02 disk03 262144 307200 c1t2d2 DIS