HP StorageWorks 2300 Disk System User Manual

Page 113

Advertising
background image

Removal and Replacement

113

Re
m

ova

l a

nd
R

epl

a

ce

m

ent

For example:

# vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t4d0

If the host fails, repeat the step to ensure all configuration data is written to
the new disk.

Note

If this replacement procedure is being performed now on another
host system and there is no need to execute any lvreduce
commands, then the configuration file can be updated with the
vgcfbackup command.

5

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

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 /dev/vg00/lvol4 /dev/dsk/c2t4d0

For three-way mirroring:

# lvextend -m 2 /dev/vg00/lvol5 /dev/dsk/c2t4d0

If the host fails 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.

Advertising