VERITAS Volume Manager 4.1 Administrator's Guide

Administering Hot-Relocation
Moving and Unrelocating Subdisks
Chapter 9 345
Requested operation is to move all the subdisks which were
hot-relocated from disk10 back to disk10 of disk group rootdg.
Continue with operation? [y,n,q,?] (default: y)
A status message is displayed at the end of the operation.
Unrelocate to disk disk10 is complete.
As an alternative to this procedure, use either the vxassist command or
the vxunreloc command directly, as described in “Moving and
Unrelocating subdisks using vxassist” on page 345 and “Moving and
Unrelocating Subdisks using vxunreloc” on page 345.
Moving and Unrelocating subdisks using vxassist
You can use the vxassist command to move and unrelocate subdisks.
For example, to move the relocated subdisks on disk05 belonging to the
volume home back to disk02, enter the following command:
# vxassist -g rootdg move home !disk05 disk02
Here, !disk05 specifies the current location of the subdisks, and disk02
specifies where the subdisks should be relocated.
If the volume is enabled, subdisks within detached or disabled plexes,
and detached log or RAID-5 subdisks, are moved without recovery of
data.
If the volume is not enabled, subdisks within STALE or OFFLINE
plexes, and stale log or RAID-5 subdisks, are moved without recovery. If
there are other subdisks within a non-enabled volume that require
moving, the relocation fails.
For enabled subdisks in enabled plexes within an enabled volume, data
is moved to the new location, without loss of either availability or
redundancy of the volume.
Moving and Unrelocating Subdisks using vxunreloc
VxVM hot-relocation allows the system to automatically react to I/O
failures on a redundant VxVM object at the subdisk level and then take
necessary action to make the object available again. This mechanism
detects I/O failures in a subdisk, relocates the subdisk, and recovers the
plex associated with the subdisk. After the disk has been replaced,