VERITAS Volume Manager 3.1 Administrator's Guide
Volume Manager Operations
Hot-Relocation
Chapter 3106
Volume Manager provides the vxunreloc utility, which can be used to
restore the system to the same configuration that existed before the disk
failure. The vxunreloc utility allows you to move the hot-relocated
subdisks back onto a disk that was replaced due to a disk failure.
When the vxunreloc utility is invoked, you must specify the disk media
name where the hot-relocated subdisks originally resided so that when
vxunreloc moves the subdisks, it moves them to the original offsets. If
you try to unrelocate to a disk that is smaller than the original disk that
failed, the vxunreloc utility does nothing except return an error.
The vxunreloc program provides an option to move the subdisks to a
different disk from where they were originally relocated. It also provides
an option to unrelocate subdisks to a different offsets if the destination
disk is large enough to accommodate all of the subdisks.
If the vxunreloc utility cannot replace the subdisks back to the same
original offsets, a force option is available that allows you to move the
subdisks to a specified disk without using the original offsets. See the
vxunreloc(1M) manual page for more information.
The following examples demonstrate the use of the vxunreloc program.
Example 1:
Assume that disk01 failed and all the subdisks were relocated. After
disk01 is replaced, use vxunreloc to move all the hot-relocated subdisks
back to disk01, as follows:
# vxunreloc -g newdg disk01
Example 2:
The vxunreloc utility provides the -n option to move the subdisks to a
different disk from where they were originally relocated.
Assume that disk01 failed, and that all of the subdisks that resided on it
were hot-relocated to other disks. After the disk is repaired, it is added
back to the disk group using a different name, e.g, disk05. If you want to
move all the hot-relocated subdisks back to the new disk, use the
following command:
# vxunreloc -g newdg -n disk05 disk01
Example 3:
Assume that disk01 failed and the subdisks were relocated and that you