Veritas Storage Foundation 5.1 SP1 Advanced Features Administrator"s Guide (5900-1503, April 2011)
Table 27-3
LVM and VxVM task comparisons (continued)
ExampleDescriptionTask type
pvchange -z y /dev/dsk/disk_nameMake a disk available as a hot spare.LVM
vxedit set spare=on disk_nameMake a disk available as a hot spare.VxVM
Example for a disk_group = veritasdg, medianame = disk01, vol_name -=
veritasvol, plex name = veritasvol-01, subdisk -= disk01-01, devicename
= c0t0d0
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 Veritas Enterprise Administrator (VEA)
GUI, or the command line interface. Additional information is available.
See the Veritas Enterprise Administrator User’s Guide.
See the Veritas Volume Manager Administrator’s Guide.
Table 27-4
Additional VxVM tasks with no LVM equivalents
ExamplesTask descriptions
No action needed for hot relocation.
To move hot-relocated subdisks back to the original disk:
vxunreloc disk_name
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 is not
enough spare disk space, a combination of spare 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.
vxedit rename old_diskname new_disknameRename a disk
vxdisk offline disk_name
Alternatively, menu option 12 of vxdiskadm performs
this task.
Offline a disk.
vxdisk online disk_name
Select menu option 10 of vxdiskadm.
Online a disk.
447Offline data migration
Command differences