Veritas Volume Manager 5.0 Administrator's Guide (September 2006)

375Administering hot-relocation
Configuring a system for hot-relocation
When hot-relocation takes place, the failed subdisk is removed from the configuration
database, and VxVM ensures that the disk space used by the failed subdisk is not recycled
as free space.
Configuring a system for hot-relocation
By designating spare disks and making free space on disks available for use by hot
relocation, you can control how disk space is used for relocating subdisks in the event of a
disk failure. If the combined free space and space on spare disks is not sufficient or does
not meet the redundancy constraints, the subdisks are not relocated.
To find out which disks are spares or are excluded from hot-relocation, see
Displaying spare disk information” on page 375.
You can prepare for hot-relocation by designating one or more disks per disk group as
hot-relocation spares.
To designate a disk as being a hot-relocation spare for a disk group, see “Marking a
disk as a hot-relocation spare” on page 377.
To remove a disk from use as a hot-relocation spare, seeRemoving a disk from use
as a hot-relocation spare” on page 378.
If no spares are available at the time of a failure or if there is not enough space on the
spares, free space on disks in the same disk group as where the failure occurred is
automatically used, unless it has been excluded from hot-relocation use.
To exclude a disk from hot-relocation use, see “Excluding a disk from hot-relocation
use” on page 378.
To make a disk available for hot-relocation use, see “Making a disk available for
hot-relocation use” on page 379.
Depending on the locations of the relocated subdisks, you can choose to move them
elsewhere after hot-relocation occurs (see “Configuring hot-relocation to use only spare
disks” on page 380).
After a successful relocation, remove and replace the failed disk as described in
Removing and replacing disks” on page 112).
Displaying spare disk information
Use the following command to display information about spare disks that are available for
relocation:
# vxdg [-g diskgroup] spare
The following is example output:
GROUP DISK DEVICE TAG OFFSET LENGTH FLAGS
mydg mydg02 c0t2d0 c0t2d0 0 658007 s