HP StorageWorks Disk Array XP operating system configuration guide (A5951-96014, August 2004)
34 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
6. Use mknod to create the group file for the new directory. Specify the
volume group name, major number, and minor number. The major
number for all group files is 64.
Example In this example: group name = vg06, major number of group file = 64,
minor number of existing group file = 06 (which must be unique for
each volume group), and c = character.
# mknod /dev/vg06/group c 64 0x060000
:
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 –s and –e physical extent (PE)
parameters of the vgcreate command. See “LUSE device parameters”
(page 56).
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 –v to verify that the volume group was created correctly.
The –v option displays the detailed volume group information.
Example
# vgdisplay –v /dev/vg06
- - - Volume groups - - -
VG Name/dev/vg06
VG Write Accessread/write
VG Statusavailable
Max LV255
Cur LV0
Open LV0
Max PV16