HP XP128, XP10000 manual Creating new volume groups, To create volume groups

Models: XP10000

1 82
Download 82 pages 60.77 Kb
Page 40
Image 40
Creating new volume groups

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 –lcommand (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.

42

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

Page 40
Image 40
HP XP128, XP10000 manual Creating new volume groups, To create volume groups