hit counter code

Verifying The Device Files And Drivers; Creating The Device Files - HP XP20000/XP24000 Configuration Manual

Hp storageworks xp disk array configuration guide (t5278-96047, may 2011)
Hide thumbs Also See for XP20000/XP24000:
Table of Contents

Advertisement

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
(page
21).
The following procedure verifies both types of device files:
1.
Display the block-type device files in the /dev/dsk directory using the ls
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
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
Example
# ioscan -fn
Class
------------------------------------------------------------
bc
bc
fc
fcp
ext_bus 2 8/12.8.0.255.0
disk
disk
disk

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,
fn command.
I H/W Path
0
1 8
0 8/12
0 8/12.8
3 8/12.8.8.255.0.6.0 sdisk
/dev/dsk/c2t6d0
4 8/12.8.8.255.0.6.1 sdisk
/dev/dsk/c2t6d1
5 8/12.8.8.255.0.8.0 sdisk
/dev/dsk/c2t8d0
Driver S/W State H/W Type
root
CLAIMED
BUS_NEXUS...
bc
CLAIMED
BUS_NEXUS...
fcT1
CLAIMED
INTERFACE...
fcp
CLAIMED
INTERFACE...
fcpdev CLAIMED
INTERFACE...
CLAIMED
DEVICE...
/dev/rdsk/c2t6d0
CLAIMED
DEVICE...
/dev/rdsk/c2t6d1
CLAIMED
DEVICE...
/dev/rdsk/c2t8d0
"Creating the device files"
l command with
l command
Desc
Configuring disk array devices
21

Advertisement

Table of Contents
loading

Table of Contents