
Managing Disk Devices
HP-UX version 11.00.01 Configuring Disk Drives 4-7
b. To determine the mirror state of the logical volumes, enter
lvdisplay lv_name
lv_name is the path name (identified in step a). Look in the
Mirror copies field for mirror information. Repeat for each logical
volume.
4. If you are replacing a nonmirrored LVM disk, move all the data contained on
the disk to another disk by entering
pvmove source_pv_path dest_pv_path
source_pv_path is the path name of the physical volume (disk to be
removed) and the dest_pv_path is the path name of the destination physical
volume.
5. If you are replacing a mirrored LVM disk, do the following:
a. Remove mirroring for all logical volumes by entering
lvreduce -m 0 lv_path pv_path
lv_path is the block device path name of the logical volume and
pv_path is the path name of the physical volume (the disk to be replaced).
Repeat this command for each logical volume.
b. Remove the disk from its volume group by entering
vgreduce vg_name pv_path
vg_name is the path name of the volume group (obtained in step 3) and
pv_path is the path name of the physical volume (the disk to be replaced).
6. Remove the disk drive and insert the new disk drive, following instructions
provided in the hardware documentation. See the HP-UX Operating System:
Continuum Series 400 Operation and Maintenance Guide (R001H), the HP-UX
Operating System: Continuum Series 400-CO Operation and Maintenance Guide
(R025H), or the HP-UX Operating System: Continuum Series 600 and 1200
Operation and Maintenance Guide (R024H) for instructions.
The green light on the disk will come on and its amber light will flash as the
disk drive goes through self-test and is brought online. When the drive is
online, the green light will go out.
7. Verify that the disk is operational by entering
ftsmaint ls hw_path
hw_path is the hardware path of the replaced drive. If the drive is not listed
as Online and its State listed as CLAIMED, contact the CAC.
Comentarios a estos manuales