Creating new vo
lume groups
You must creat
e n ew volume groups for the new physical volumes. If desired, you can
also add any of
the volumes on the disk array to existing volume g roups using the
vgextend command. The physical volumes that make up one volume group can be
located either in the same disk array or in other disk arrays.
To allow more
volume groups to be created, use SAM to modify the HP-UX system k er nel
configuratio
n. See Appendix C - Reference information for SAM for details.
To create volume groups:
1. Use the vgdisplay command to display the existing volume groups.
2. Chooseauniquenameforthenewvolumegroup(forexample:vg06).
3. Create the directory for the new volume group.
Example
# mkdir /dev/vg06
4. Use the l
s–lcommand (with the output piped to grep todisplayonlythefiles
contain
ing “group”) to display the minor numbers for the existing group files.
Example
#ls–1/de
v/vg* | grep group
crw-rw-rw 1 root root 64 0x0000000 Nov7 08:13 group
:
5. Choose a unique minor number for the new group file in sequential order (for
example, when existing volume groups are vg00-vg05 and the next group na m e is
vg06,useminornumber06forthevg06groupfile) .
The minor numbers a re hexadecimal (for example, the 10th minor number is
0x0a0
000).
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 fi lesis64.
Example
In th
is example: group name = vg06, major number of group file = 64, minor
num
ber of existing group file=06(whichmustbeuniqueforeachvolumegroup),
and c = character.
#mk
nod /dev/vg06/group c 64 0x060000
:
32
Installation