Dell Compellent Confidential HP-UX Best Practices 11i v2 and 11i v1
Page|17
/dev/dsk/c29t0d0 /dev/rdsk/c29t0d0
disk 30 1/4/0/0.206.5.255.0.0.0 sdisk CLAIMED DEVICE COMPELNTCompellent
Vol
/dev/dsk/c30t0d0 /dev/rdsk/c30t0d0
As shown in RED above and for sake of this discussion, please assume that the device located at this
address 1/4/0/0.206.2.255.0.0.0 is the primary path to the device /dev/dsk/c27t0d0. In order to
determine the alternate path to this device, issue the command.
Type: vgscan –pv
(It is very important to note the use of –p parameter i.e. preview; the lack of the preview parameter
would otherwise rebuild the /etc/lvmtab file with potentially harmful results).
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query all of the physical volumes.
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgscan: Warning: couldn't query physical volume "/dev/dsk/c27t0d2":
The specified path does not correspond to physical volume attached to
this volume group
<snip>
Couldn't stat physical volume "/dev/dsk/c29t0d0":
Invalid argument
Couldn't stat physical volume "/dev/dsk/c30t0d0":
Invalid argument
/dev/vg00
/dev/dsk/c1t6d0
/dev/vgdemo
/dev/dsk/c31t0d0
/dev/dsk/c27t0d0
(The warnings that show above are normal for the “vgscan” command; note the area shown in RED
above, representing the two (2) paths identified, primary “c27t0d0” and alternate “c31t0d0”)
We now add the alternate path to the Volume Group with the command.
Type: vgextend /dev/vgdemo /dev/dsk/c31t0d0
Volume group "/dev/vgdemo" has been successfully extended.
Volume Group configuration for /dev/vgdemo has been saved in /etc/lvmconf/vgdemo.conf
Commenti su questo manuale