VERITAS Volume Manager 3.5 Migration Guide (August 2002)

Tasks With No Direct LVM Equivalents Final 24 July 2002
56 VERITAS Volume Manager Migration Guide
Tasks With No Direct LVM Equivalents
The following table lists tasks which have no direct LVM equivalent. Most of these tasks
can be performed either with the VxVM GUI (VEA), or the command line interface. For
more information, refer to the VERITAS Volume Manager Users Guide—VEA and the
VERITAS Volume Manager Administrators Guide.
Table 4. Additional VxVM Tasks with no LVM equivalents
Task Description Example
Hot-relocation: in addition to using disks as
hot spares, the hot relocation facility can also
use any available free space in the disk group.
If no disks have been designated as spares
when a failure of a redundant object occurs,
VxVM automatically uses any available free
space in the disk group in which the failure
occurs.If there isnot enoughsparedisk space,
a combination ofspare space and free space is
used. After a disk is repaired, you can move
all the hot-relocated subdisks back to the
original disk using the vxunreloc (1M)
utility.
No action needed for hot relocation.
To move hot-relocated subdisks back to the
original disk:
vxunreloc disk_name
Rename a disk vxedit rename old_diskname new_diskname
Offline a disk. vxdisk offline disk_name
Alternatively, menu option 12 of vxdiskadm
performs this task.
Online a disk. vxdisk online disk_name
Select menu option 10 of vxdiskadm.
Evacuate a disk. vxevac -g disk_group medianame
new_medianame
Replace a disk. Select menu option 4 of vxdiskadm.
Recover volumes on a disk. vxrecover -g disk_group vol_name
medianame
Display a DMP node. vxdisk list meta_device
Rename a disk group. vxdg -tC -n newdg_name
Rename a volume. vxedit -v rename name newname
Update the /usr/fstab file with the new name.
Add a DRL log to a volume. vxassist addlog vol_name