HP -UX 11i Administrator's Manual page 153

Logical volume management
Hide thumbs Also See for HP-UX 11i:
Table of Contents

Advertisement

Table 16 LVM Command Summary (continued)
Command
pvchange
pvck
pvcreate
pvdisplay
pvmove
pvremove
vgcfgbackup
vgcfgrestore
vgchange
vgchgid
vgcdsf
vgcreate
vgdisplay
vgdsf
vgextend
vgexport
vgimport
vgmodify
vgmove
Description and Example
Changes the characteristics of a physical volume:
# pvchange -a n /dev/disk/disk2
Performs a consistency check on a physical volume:
# pvck /dev/disk/disk47_p2
Creates a physical volume be to used as part of a volume group:
# pvcreate /dev/rdisk/disk2
Displays information about a physical volume:
# pvdisplay -v /dev/disk/disk2
Moves extents from one physical volume to another:
# pvmove /dev/disk/disk2 /dev/disk/disk3
Removes LVM data structures from a physical volume:
# pvremove /dev/rdisk/disk2
Saves the LVM configuration for a volume group:
# vgcfgbackup vg00
Restores the LVM configuration:
# vgcfgrestore -n /dev/vg00 /dev/rdisk/disk2
Turns a volume group off or on:
# vgchange -a y /dev/vg00
Changes the volume group ID of a physical volume::
# vgchgid /dev/rdisk/disk3
Converts persistent device special files in a volume group to cluster device special files:
# vgcdsf /dev/vg10
Creates a volume group:
# vgcreate /dev/vg01 /dev/disk/disk2 /dev/disk/disk3
Displays information about a volume group:
# vgdisplay -v /dev/vg00
Migrates volume groups from legacy to persistent device files:
# vgdsf
Extends a volume group by adding a physical volume:
# vgextend /dev/vg00 /dev/disk/disk2
Removes a volume group from the system:
# vgexport /dev/vg01
Adds an existing volume group to the system:
# vgimport -v /dev/vg04
Modifies the configuration parameters of a volume group:
# vgmodify -v -t -n -r vg32
Migrates a volume group to different disks:
# vgmove -f diskmap.txt vg10
153

Advertisement

Table of Contents
loading

Table of Contents