Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)

Table 6-3 LVM and VxVM Task Comparison (continued)
ExampleDescriptionTask TypeExampleDescription
Task
Type
vxdg rmdisk
<disk_name>
vxdg -g
<group_name>
rmdisk
<disk_name>
Remove disks
from a disk
group.
VxVM
vgreduce
/dev/<vol_grp>
/dev/dsk/<disk_name>
Remove
disks from a
volume
group or
reduce the
number of
disks in the
volume
group.
LVM
vxdg deport
<disk_group>
Deport a disk
group. You
must unmount
and stop any
volumes in the
disk group first.
VxVM
vgremove
/dev/<vol_grp>
Remove an
entire
volume
group.
Before
attempting
to remove
the volume
group, you
must
remove the
logical
volumes
using
lvremove,
and all
physical
volumes
except the
last one
using
vgreduce.
LVM
VxVM DMP is
in bypass mode
in the current
release.
VxVM
vgcreate
/dev/vol_grp\
/dev/dsk/disk_name
/dev/dsk/<disk_name_2>
To remove the link:
vgreduce
/dev/vol_grp
/dev/dsk/disk_name
Set up
alternate
links to a
physical
volume.
If a disk has
two
controllers,
you can
make one
primary and
the other an
alternate
link.
LVM
vxassist make
<vol_name>
length
layout=mirror
Create a
mirrored
volume/plex or
add a mirror to
an existing
volume.
VxVM
lvcreate -l
num_log_extents -m 1 -n
<mirr_lv>
/dev/vol_grp
Create a
mirrored
logical
volume.
LVM
Comparison of LVM and VxVM Tasks 61