VERITAS Volume Manager 3.5 Migration Guide (August 2002)
Chapter 3, Command Differences
Final 24 July 2002 Comparison of LVM and VxVM Tasks
47
Table 3. LVM and VxVM Task Comparison
Task
Type
Description Example
LVM Create an LVM disk. pvcreate /dev/rdsk/disk_name
VxVM Bring a disk under Volume Manager
control.
vxdiskadd device_name
Option 1 in the vxdiskadm menu adds a disk
and initializes it.
LVM Create a volume group vgcreate /dev/vol_grp
/dev/dsk/disk_name
VxVM Create a disk group. vxdg init disk_group disk_name
Option 1 in the vxdiskadm menu performs
this task.
LVM Add a new disk to the existing volume
group.
vgextend /dev/vol_grp
/dev/rdsk/disk_name
VxVM Add a disk to an existing disk group. vxdg -g disk_group adddisk
disk=devicename
Example for a disk_group = veritasdg, medianame = disk01, vol_name -= veritasvol, plex name =
veritasvol-01, subdisk -= disk01-01, devicename = c0t0d0.