Troubleshooting & Diagnostics

Module Replacement Procedures

DF Disk Module Replacement/Recovery Procedure for Attached Physical Volumes (HP 9000 Series 800 with Strict Mirroring)

Before you begin, review the requirements under “DF Disk Module Replacement Requirements” and ensure they are met.

Use the following commands to reduce any logical volumes that have mirror copies on the faulty disk module so they no longer mirror onto that disk module. If the host fails during a process, the recovery process is listed at the end of each step.

NOTE! This procedure will use the lvreduce command to remove mirrors whose extents are on the defective disk. Once the disk has been replaced, use the lvextend command to recreate the mirrors' extents on the new disk.

NOTE! Mirrors which span several disks may not have their extents placed on the disks as they were before. For cases where the original mirror layout needs to be preserved, the operator should consider deactivating the volume group with the vgchange command and following the steps in "DF Disk Module Replacement/Recovery Procedure for Unattached Physical Volumes (HP 9000 Series 800 with Strict Mirroring)".

Step 1

The -A n option is effective only in HP-UX release 10.01 and later and is not required for HP-UX release 9.04.

For one-way mirroring:

# lvreduce -m <one less than num_mirror> -A n <LV name> <physical volume path>

or, for two-way mirroring:

# lvreduce -m <one less than num_mirror> -A n <LV name> <physical volume path>

If you follow the example under “Example of a Disk Module Failure”, the host will display:

#lvreduce -m <one less than num_mirror> -A n /dev/vg00/lvol4 /dev/dsk/c2t4d0

#lvreduce -m <one less than num_mirror> -A n /dev/vg00/lvol5 /dev/dsk/c2t4d0

63

Troubleshooting