VERITAS Volume Manager 3.1 Administrator's Guide
Disk Tasks
Adding a VM Disk to the Hot-Relocation Pool
Chapter 4190
Adding a VM Disk to the Hot-Relocation Pool
NOTE You may need an additional license to use this feature.
Hot-relocation allows the system to automatically react to I/O failure by
relocating redundant subdisks to other disks. Hot-relocation then
restores the affected Volume Manager objects and data. If a disk has
already been designated as a spare in the disk group, the subdisks from
the failed disk are relocated to the spare disk. Otherwise, any suitable
free space in the disk group is used.
Designating a Disk from the Command Line
To designate a disk as a hot-relocation spare, enter the following
command:
# vxedit set spare=on
diskname
For example, to designate disk01 as a spare, enter the following
command:
# vxedit set spare=on disk01
You can use the vxdisk list command to confirm that this disk is now a
spare; disk01 should be listed with a spare flag.
Any VM disk in this disk group can now use this disk as a spare in the
event of a failure. If a disk fails, hot-relocation automatically occurs (if
possible). You are notified of the failure and relocation through electronic
mail. After successful relocation, you may want to replace the failed disk.
Designating a Disk with vxdiskadm
To designate a disk as a spare through the vxdiskadm main menu, use
the following procedure:
Step 1. Select menu item 11 (Mark a disk as a spare for a disk
group) from the vxdiskadm main menu.
Step 2. At the following prompt, enter a disk name (such as disk01):