HP StorageWorks Disk Array XP operating system configuration guide for HP-UX XP24000, XP12000, XP10000, SVS200, v01 (A5951-96018, June 2007)

# cd /dev/dsk Go to /dev/dsk directory.
# mknod /dev/dsk/c2t6d0 b 31 0x026000 Create block-type file.
File name, b=block-type,
31=major #, 0x026000= minor #
# cd /dev/rdsk Go to /dev/rdsk directory.
# mknod /dev/rdsk/c2t6d0 c 188 0x026000 Create character-type file.
File name, c=character-type,
177=major #, 0x026000=minor #
:
#
The character-type device file is required for volumes used as raw devices (for example,
3390-3A/B/C). The block-type device file is not required for volumes used as raw devices.
If you need to delete a device file, use the rm –i command.
Table 6 Device information example
Major
no.
block
files
Major
no.
char.
files
Minor
no.
Dev
file
LUNTIDDev
type
DriverHW pathDiskInstBus
311880x026000c2t6d006OPEN-9sdisk8/12.8.8.255.0.6.03028/12
311880x026100c2t6d116OPEN-9sdisk8/12.8.8.255.0.6.14028/12
311880x028000c2t8d0083390-3Bsdisk8/12.8.8.255.0.8.05028/12
Creating the physical volumes
A physical volume must be created for each new SCSI disk device.
To create the physical volumes:
1. Use the pvcreate command to create the physical volumes with the character-type device file
as the argument. Specify the /dev/rdsk directory.
Example
# pvcreate /dev/rdsk/c6t0d0
Physical volume "/dev/rdsk/c6t0d0" has been successfully created.
:
# pvcreate /dev/rdsk/c6t0d1
Physical volume "/dev/rdsk/c6t0d1" has been successfully created.
Do not use the –f option with the pvcreate command. This option creates a new physical
volume forcibly and overwrites the existing volume. If you accidentally enter the character-type
device file for an existing volume, you will lose the data on that volume.
2. Repeat step 1 for each OPEN-x device on the disk array.
Installing and configuring HP-UX for the XP disk array24