Creating New Volume Groups - HP StorageWorks XP24000 Configuration Manual

Xp disk array configuration guide for hp-ux
Hide thumbs Also See for StorageWorks XP24000:
Table of Contents

Advertisement

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
Reference information for the HP System Administrator Manager SAM
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.
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.
XP Disk Array Configuration Guide for HP-UX
for details.
25

Advertisement

Table of Contents
loading

Table of Contents