Creating Logical Volumes - HP XP7 Configuration Manual

Hide thumbs Also See for XP7:
Table of Contents

Advertisement

7.
Create the volume group.
To allocate more than one physical volume to the new volume group, add the other physical
volumes, separated by a space.
Example
# vgcreate /dev/vg06 /dev/dsk/c6t0d0
Volume group "/dev/vg06" has been successfully created.
Volume group configuration for /dev/vg06 has been saved in
/etc/1vmconf/vg06.conf.
For Logical Unit Size Expansion (LUSE) volumes that contain more than 17 OPEN-8/9 LDEVs
or more than 7043 MB (OPEN-8/9*n-CVS), use the
of the vgcreate command. See
If you need to delete a volume group, use the vgremove command (for example, vgremove
/dev/vgnn). If the vgremove command does not work because the volume group is not
active, use the vgexport command (for example, vgexport /dev/vgnn).
8.
Use the vgdisplay command to verify that the new directory was created.
9.
Use vgdisplay
displays the detailed volume group information.
Example
# vgdisplay
- - - Volume groups - - -
VG Name
VG Write Access
VG Status
Max LV
Cur LV
Open LV
Max PV
Cur PV
Act PV
Max PE per PV
VGDA 2
PE Size (Mbytes)
Total PE
Alloc PE
Free PE
Total PVG
- - Physical Volumes - - -
PV Name /dev/dsk/c6t0d0
PV Status available
Total PE 586
Free PE 586

Creating logical volumes

Use these commands for logical volume configuration:
lvremove
Deletes a logical volume. Any file system attached to the logical volume must be unmounted
before executing the lvremove command.
Example
lvremove /dev/vgnn/lvolx
lvextend
Increases the size of an existing logical volume.
20
HP-UX
"LUSE device parameters" (page
v to verify that the volume group was created correctly. The v option
v /dev/vg06
/dev/vg06
read/write
available
255
0
0
16
1
1
1016
4
586
0
586
0
s and e physical extent (PE) parameters
115).

Advertisement

Table of Contents
loading

Table of Contents