
42 SVA Path User’s Guide
Preparing the
Volume Group
Device files for each volume group on an HP 9000 system reside
in directories with names
/dev/vg*. The following example lists
the volume groups on an HP800 system running HP-UX 11.00
Two volume groups,
vg00 and vg01, already exist on this system.
To prepare to create a new volume group:
Create the device directory that will contain the logical volume,
using the next available volume group number. In this example,
the next volume group number is 2, so the group should be named
/dev/vg02:
# cd /dev
# mkdir vg02
Use mknod to create create a device file named group in the new
directory:
In the above example, the
mknod command has the following
arguments:
• the full pathname to the new device file group;
• the letter
c to indicate a character device file;
• the number
64, which is the major number for the driver that
manages volume groups;
# ls -l /dev/vg*
/dev/vg00:
total 0
crw-rw-rw- 1 rootroot 64 0x000000 Dec 23 15:23 group
brw-r-----1 root root 64 0x000001 Dec 23 15:23 lvol1
brw-r-----1 rootroot 64 0x000002 Dec 23 15:23 lvol2
brw-r-----1 root root 64 0x000003 Dec 23 15:23 lvol3
crw-r-----1 root root 64 0x000001 Dec 23 15:23 rlvol1
crw-r-----1 root root 64 0x000002 Dec 23 15:23 rlvol2
crw-r-----1 root root 64 0x000003 Dec 23 15:23 rlvol3
/dev/vg01:
total 0
crw-rw-rw- 1 root root 64 0x010000 Jan 11 14:15 group
brw-r-----1 root root 64 0x000001 Jan 23 15:23 lvol1
crw-r-----1 root root 64 0x000001 Jan 23 15:23 rlvol1
# mknod /dev/vg02/group c 64 0x020000
# ls -lg /dev/vg02
total 0
crw-rw-rw- 1 sys64 0x020000 May 18 15:51 group
Comments to this Manuals