Hotswap software procedure – HP 9000 rp5400 Servers User Manual
Page 111

Before starting these procedures, you must have an up-to-date configuration backup file.
Configuration backup is performed by default each time an LVM command changes the LVM
configuration. The default backup files path is:
/etc/lvmconf/base_vg_name.conf.
The replacement disk drive must be the same product ID as the disk drive that is being replaced.
NOTE:
HP often uses different manufacturers for disks that have the same product number.
The HotSwap and HotPlug procedures will not update the disk drive's internal information to
that of the replaced disk drive.
The replacement disk drive will have the same capacity and blocksize as the defective disk
because they have the same product number. The only field that can be incorrect is the string
specifying the vendor's name. This will not affect the behavior of the LVM. If you desire to update
the manufacturer's name, the disks volume group must be deactivated and reactivated.
HotSwap Software Procedure
Perform these software procedural steps to replace a HotPlug disk drive device:
1.
Determine whether LVM found the physical volume to be defective when the volume group
was activated.
If the volume was defective when the volume group was activated, vgchange will generate
the following message to the console:
WARNING
VGCHANGE: WARNING: COULDN'T ATTACH TO THE VOLUME GROUP PHYSICAL
VOLUME "/DEV/DSK/cXtXdX"
VGCHANGE: WARNING: COULDN'T ATTACH TO THE VOLUME GROUP PHYSICAL
VOLUME "/DEV/DSK/cXtXdX"
THE PATH OF THE PHYSICAL VOLUME REFERS TO A DEVICE THAT DOES NOT
EXIST, OR IS NOT CONFIGURED INTO THE KERNAL.
If you are unsure of the status of vgchange, check it with the vgdisplay command:
#vgdisplay
For example:
# vgdisplay /dev/vg00
If the disk was defective when the vgchange command was entered, the following message
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.
Remove the bad disk as described in step 9 of this procedure, then follow the instructions
for replacing the disk and perform the HotSwap Procedure for Unattached Physical Volumes
described there.
Otherwise, the disk drive became defective after vgchange was run. Proceed to Step 2.
2.
Display the names of all the logical volumes on this volume group with the vgdisplay
command. For example:
#vgdisplay /dev/vg00
3.
Determine which logical volumes have mirrors with the lvdisplay command. For example:
Individual Component Remove/Replace Instructions
111