Creating Logical Volumes - HP StorageWorks P9000 Configuration Manual

Hp storageworks p9000 configuration guide (av400-96380, may 2011)
Hide thumbs Also See for StorageWorks P9000:
Table of Contents

Advertisement

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.
Example
lvextend
lvreduce
Decreases the size of an existing logical volume. Any file system attached to the logical volume
must be unmounted before executing the lvreduce command.
Example
lvreduce
CAUTION:
Create logical volumes after you create volume groups. A logical volume must be created for each
new SCSI disk device.
24
HP-UX
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
L size /dev/vgnn/lvolx
L size /dev/vgnn/lvolx
Data within the file system can be lost after execution of lvreduce.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xp p9500P9500

Table of Contents