HP StorageWorks Disk Array XP operating system configuration guide (A5951-96014, August 2004)

32 HP StorageWorks Disk Array XP Operating System Configuration Guide: HP-UX
File name, b=block-type, 31=major #, 0x026000= minor #
# cd /dev/rdskGo 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.
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
Example of a completed device data table
Bus
no.
Instance
(XX)
Disk
no.
H/W path Driver
Device
type
TID
(Y)
LUN
(Z)
Device
file
Minor #
0xXXYZ0
0
Major #
for char.
files
Major #
for block
files
8/12 02 3 8/12.8.8.255.0.6.0 sdisk OPEN-9 6 0 c2t6d0 0x026000 188 31
8/12 02 4 8/12.8.8.255.0.6.1 sdisk OPEN-9 6 1 c2t6d1 0x026100 188 31
8/12 02 5 8/12.8.8.255.0.8.0 sdisk 3390-3
B
8 0 c2t8d0 0x028000 188 31