HP rp5400 User Guide - HP rp5400 Family of Servers - Page 165
Hot Swap Procedure for Unattached Physical Volumes
View all HP rp5400 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 165 highlights
Removing and Replacing Components Individual Component Remove/Replace Instructions g. Verify that the mirroring is set up properly. For example: # vgdisplay -v /dev/vg00 # lvdisplay /dev/vg00/lol1 - lvol8 # lvlnboot -v /dev/vg00 Both disks should list as "Boot Disk" and both should appear in the lvol lists. At this point the system will be fully functional. Hot Swap Procedure for Unattached Physical Volumes The following steps are an example of how to replace a HotPlug disk drive for unattached physical volumes. This example assumes the disks are mirrored. NOTE HP often uses different manufacturers for disks, but assigns the same product number. The hot swap manual procedure will not update disk driver internal information to that of the replaced disk drive. Step 1. Perform an ioscan on the replaced disk drive to ensure that it is accessible (claimed), to double check that it is a proper replacement, and that the device files are present. Refer to the above note. For example: # ioscan -fnC disk Step 2. Restore the LVM configuration/headers onto the replaced disk drive from your backup of the LVM configuration with the following entry: # vgcfgrestore -n /dev/rdsk/cXtXdX For example: # vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtXdX Step 3. Attach the new disk drive to the active volume group with the following vgchange command: # vgchange -A y For example: # vgchange -A y /dev/vg00 Step 4. Use the mkboot command to make the device bootable. For example: # mkboot /dev/rdsk/cXtXdX Step 5. Use the mkboot command again to add the HP-UX auto-file-string.For example: # mkboot -a "hpux" /dev/rdsk/cXtXdX Step 6. Run lvlnboot with the following command: # lvlnboot -R Step 7. Resynchronize the mirrors of the replaced disk drive with the following command. It may take several minutes to copy all the data from the original copy of the data to the mirrored extents. The logical volume(s) are still accessible to users' applications during this command. # vgsync For example: # vgsync /dev/vg00 At this point the system will be fully functional. Chapter 7 151