HP XP7 Disk Array Configuration Guide (H6F56-96003)

SAM” (page 149) for further information. The newer releases of HP-UX have deprecated the SAM
tool and replaced it with the System Management Homepage (SMH) tool.
Verifying the device files and drivers
The device files for new devices are usually created automatically during HP-UX startup. Each
device must have a block-type device file in the /dev/dsk directory and a character-type device
file in the /dev/rdsk directory.
To verify the device files and drivers, run ioscan (or ioscan fn). If the DSF (device special
files) need to be created, you will need run insf e.
Creating the physical volumes
A physical volume must be created for each new SCSI disk device.
To create physical volumes, use the insf -e command.
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” (page 149)
for details. The newer releases of HP-UX have deprecated the SAM tool and replaced it with the
System Management Homepage (SMH) tool.
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
:
Configuring disk array devices 19