Download Print this page

To Replace Unattached Physical Volumes - HP StorageWorks Disk System 2405 Replacement Procedure

Disk drive 18gb-36gb-72gb
Hide thumbs Also See for StorageWorks Disk System 2405:

Advertisement

To Replace Unattached Physical Volumes

Follow these instructions if the volume group is not active or if the physical volume
is unattached.
Step 1
Physically replace the disk.
Note The procedure is detailed below in the Disk Replacement Procedure section, as well as on the Disk
Replacement Sheet provided with the replacement drive.
Step 2
Execute IOSCAN to verify that the new disk drive is accessible and a proper replacement.
Step 3
Enter the following command to restore the LVM configuration/headers to the replaced disks from the backup
of the LVM configuration:
# vgcfgrestore -n <volume group name> character device file
For example: # vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t4d0
If the host fails, repeat the step to ensure that all configuration data is written to the new disk.
Step 4
Enter the following command to attach the replaced disk to the active volume group:
# vgchange -a y <volume group name>
For example: # vgchange -a y /dev/vg00
If necessary:
Enter the lvextend command to transfer the mirrors onto the replaced disk. It will take time to copy all of the
original data to the mirrored extents. The logical volumes are accessible to users' applications for two-way
mirroring during this command.
# lvextend -m <mirror_copies> <LV name> physical volume path
For example, for two-way mirroring:
# lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t4d0
For three-way mirroring:
# lvextend -m 2 /dev/vg00/lvol5 /dev/dsk/c2t4d0
All manuals and user guides at all-guides.com
6

Advertisement

loading