VERITAS Volume Manager 3.1 Migration Guide
Command Differences
Comparison of LVM and VxVM Tasks
Chapter 3 69
disk_group
= veritasdg,
medianame
= disk01,
vol_name
-=
veritasvol,
plex name
= veritasvol-01,
subdisk
-= disk01-01,
devicename
= c0t0d0.
Table 3-2LVM 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
LVM Extend a logical volume or
increase space allocated to a
logical volume.
lvextend -l 50
/dev/
vol_grp
/
lvol_name
l—indicates the number of logical
extents in the logical volume
VxVM Increase the volume by or to a
given length.
vxresize -g
disk_group
-F vxfs
vol_name length
vxassist growto
vol_name
new_length
vxassist growby
vol_name
length_change
Grow the file system after growing the
volumes.