08-27-2013 07:12 AM
I have a failed hard drive in vg00. Thankfully it is mirrored. I have the ability to perform LVM OLR, but I cannot locate a service manual to determine if I can hot swap the drive. Does anyone know if this is permissible with an L2000? If so, can you pint me to the manual or kindly explain the steps?
Solved! Go to Solution.
08-27-2013 10:39 AM
On a L2000, the OS version must be 11.23 or earlier. Yes, hot-swapping the disks is permissible on a L2000 (also known as rp5450 in the newer model number scheme).
Here's the best document on disk replacement procedures, "When Good Disks Go Bad". Too bad it's the 11.31 version of the document:
Basically, first use "pvchange -a N /dev/dsk/cXtYdZ" to completely disable LVM access to the failed disk if possible in your OS version. (If you don't have it, but the failed disk is indicated as NO_HW in "ioscan -fnCdisk" listing, you can skip this step.)
Then swap the physical disk.
Use "vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtYdZ" to restore the LVM configuration to the replaced disk. Confirm that the disk is now CLAIMED in "ioscan -fnCdisk".
Then allow LVM to access the replaced disk: "pvchange -a y /dev/dsk/cXtYdZ". LVM should automatically start syncing the mirrors. If that does not happen, you can use "vgsync vg00" to start the synchronization manually.
Don't forget to recreate the boot LIF, as it is outside the LVM-managed disk area and won't be duplicated automatically.
The commands you'll need are "mkboot -l /dev/rdsk/cXtYdZ", and "mkboot -a 'hpux -lq' /dev/rdsk/cXtYdZ". Use "lvlnboot -v" to confirm that the both mirror halves are identified as bootable disks and the boot/root/swap LVs are recognized on both disks. If necessary, use "lvlnboot -R" to update the root VG information.
You should also verify that both halves of the mirror are listed in /stand/bootconf. (In my experience, this step is often missed when mirroring vg00.)
08-27-2013 11:46 AM
Thanks, I appreciate the reply. I believe I have the LVM portion of the replace pretty well ironed out. Is there any procedures to run against the hardware to prepare for the replacement? Or, do you just pull the drive?
08-27-2013 11:35 PM
On page 31 in the "Installation Guide rp5400 Family of Servers" it is shown how to access the disks in the HP9000 L-Class Servers.
Was this post useful? - You may click the KUDOS! Star.
08-27-2013 11:51 PM
Don't skip this step, otherwise vgcfgrestore will fail.
Hope this helps!
There are only 10 types of people in the world -
those who understand binary, and those who don't.
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!