Creating new volume groups, Creating new volume groups 42 – HP XP12000 User Manual

Page 40

Advertising
background image

42

HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX

Creating new volume groups

You must create new volume groups for the new physical volumes. If
desired, you can also add any of the volumes on the disk array to existing
volume groups 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 kernel configuration. See appendix C

(page 73)

for details.

To create volume groups:

1. Use the vgdisplay command to display the existing volume groups.

2. Choose a unique name for the new volume group (for example: vg06).

3. Create the directory for the new volume group.

Example

# mkdir /dev/vg06

4. Use the ls –l command (with the output piped to grep to display only

the files containing “group”) to display the minor numbers for the
existing group files.

Example

# ls –1 /dev/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 name is vg06, use minor number 06 for the vg06 group file).

The minor numbers are hexadecimal (for example, the 10th minor
number is 0x0a0000).

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.

Advertising
This manual is related to the following products: