114 Removal and Replacement
# vgchange -a y <volume group name>
For example:
# vgchange -a y
6
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
For three-way mirroring:
# lvextend -m 2 /dev/vg00/lvol5
If there is a failure during step 6, execute an lvdisplay command to determine
if the lvextend command was successful. If the command did not successfully
execute, reissue the command. Perform any other lvextend commands that
were not executed before the system failed.
At this point, the system should be fully functioning.
To Replace Unattached Physical Volumes
Follow these instructions if the volume group is not active or if the physical
volume is unattached.
1
Replace the disk (see page 115).
2
Execute ioscan to verify that the replaced disk is accessible and a proper
replacement.
3
Enter the vgcfgrestore command to restore the LVM configuration/
headers to the replaced disk from the backup of the LVM configuration.
# vgcfgrestore -n <volume group name> character device file
For example:
# vgcfgrestore -n
If the host fails, repeat the step to ensure that all configuration data is written
to the new disk.
4
Enter the vgchange command to attach the new disk to the active volume
group:
/dev/vg00
/dev/vg00/lvol4
/dev/vg00
/dev/rdsk/c2t4d0
/dev/dsk/c2t4d0
/dev/dsk/c2t4d0
Need help?
Do you have a question about the StorageWorks 2405 - Disk System and is the answer not in the manual?