hp workstations zx6000, hp server rx2600 - operation and maintenance guide

Product Information
Hot-Swappable/Pluggable Devices
Chapter 1
28
If the disk was defective at vgchange time, the following messages will be printed
one or more times:
WARNING:
VGDISPLAY: WARNING: COULDN’T QUERY PHYSICAL VOLUME
“/DEV/DSK/cXtXdX”
THE SPECIFIED PATH DOES NOT CORRESPOND TO PHYSICAL VOLUME
ATTACHED TO THE VOLUME GROUP.
VGDISPLAY: WARNING: COULDN’T QUERY ALL OF THE PHYSICAL
VOLUMES
If you see these messages, the disk was defective at the time the volume group was
activated.
Otherwise, your disk became defective after the vgchange and you must continue
with step 2 of this procedure.
Step 2
Reduce any logical volumes that have mirror copies on the faulty disk so that they no
longer mirror onto that disk (note the -A n option). This will take a several minutes.
lvreduce -m 0 -A n <LV name> /dev/dsk/<hard drive>
(for 1-way mirroring)
For example:
lvreduce -m 0 -A n /dev/vg00/stand /dev/dsk/c2t5d0
lvreduce -m 0 -A n /dev/vg00/swap /dev/dsk/c2t5d0
lvreduce -m 0 -A n /dev/vg00/ /dev/dsk/c2t5d0
The number of logical volumes that this step needs is variable. For instance, on a
mirror of a root disk you should have at least three logical volumes: /swap (is
lvol2), and / (is lvol3). Note that if your root mirror disk dies, you need to do the
following:
Go to your system’s “EFI Boot Manager” menu and select the Primary HP-UX
Boot menu item.
Type boot -lq at the HPUX> prompt and press Enter.
The -lq option stands for loss of quorum. Once this procedure has been completed
the system will boot.
Step 3
Replace the faulty disk.
•Doanioscan on the replaced disk to insure that it is accessible and also as a double
check that it is a proper replacement.
For example:
ioscan /dev/dsk/c2t5d0