Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Chapter 12, Administering Hot-Relocation
Configuring a System for Hot-Relocation
333
When selecting space for relocation, hot-relocation preserves the redundancy
characteristics of the VxVM object to which the relocated subdisk belongs. For example,
hot-relocation ensures that subdisks from a failed plex are not relocated to a disk
containing a mirror of the failed plex. If redundancy cannot be preserved using any
available spare disks and/or free space, hot-relocation does not take place. If relocation is
not possible, the system administrator is notified and no further action is taken.
From the eligible disks, hot-relocation attempts to use the disk that is “closest” to the
failed disk. The value of “closeness” depends on the controller, target, and disk number of
the failed disk. A disk on the same controller as the failed disk is closer than a disk on a
different controller. A disk under the same target as the failed disk is closer than one on a
different target.
Hot-relocation tries to move all subdisks from a failing drive to the same destination disk,
if possible.
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 334.
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 335.
To remove a disk from use as a hot-relocation spare, see “Removing a Disk from Use
as a Hot-Relocation Spare” on page 336.
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 337.
To make a disk available for hot-relocation use, see “Making a Disk Available for
Hot-Relocation Use” on page 338.