HP XP P9000 Configuration Guide (AV400-96525, November 2012)

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.
However, some HP-compatible systems do not create the device files automatically. If verification
shows that the device files were not created, follow the instructions in “Creating the device files
(page 19).
The following procedure verifies both types of device files:
1. Display the block-type device files in the /dev/dsk directory using the ls l command with
the output piped to more. Verify there is one block-type device file for each disk array device.
Example
# ls l /dev/dsk | more
Total 0
brw-r - - - - - 1 bin sys 28 0x006000 Dec 6 15:08 c6t0d0
brw-r - - - - - 1 bin sys 280 0x06100 Dec 6 15:08 c6t0d1
2. Verify that the block-type device file name for each device is correct.
3. Display the character-type device files in the /dev/rdsk directory using the ls l command
with the output piped to more. Verify that there is one character-type device file for each disk
array device.
Example
# ls l /dev/rdsk | more
Total 0
crw-r - - - - - 1 bin sys 177 0x006000 Dec 6 15:08 c6t0d0
crw-r - - - - - 1 bin sys 177 0x006100 Dec 6 15:08 c6t0d1
4. Use the device data table you created to verify that the character-type device file name for
each device is correct.
This task can also be accomplished with the lssf command.
5. After verifying the block-type and character-type device files, verify the HP-UX driver for the
disk array using the ioscan fn command.
Example
# ioscan -fn
Class I H/W Path Driver S/W State H/W Type Desc
------------------------------------------------------------
bc 0 root CLAIMED BUS_NEXUS...
bc 1 8 bc CLAIMED BUS_NEXUS...
fc 0 8/12 fcT1 CLAIMED INTERFACE...
fcp 0 8/12.8 fcp CLAIMED INTERFACE...
ext_bus 2 8/12.8.0.255.0 fcpdev CLAIMED INTERFACE...
disk 3 8/12.8.8.255.0.6.0 sdisk CLAIMED DEVICE...
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 4 8/12.8.8.255.0.6.1 sdisk CLAIMED DEVICE...
/dev/dsk/c2t6d1 /dev/rdsk/c2t6d1
disk 5 8/12.8.8.255.0.8.0 sdisk CLAIMED DEVICE...
/dev/dsk/c2t8d0 /dev/rdsk/c2t8d0
Creating the device files
If the device files were not created automatically when the system was restarted, use the insf
e command in the /dev directory to create the device files. After this command is executed,
repeat the procedures in “Verifying device recognition (page 17) to verify new device recognition
and the device files and driver.
Configuring disk array devices 19