HP StorageWorks XP12000 HP StorageWorks XP Disk Array Configuration Guide: HP- - Page 19

Creating the device files

Page 19 highlights

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" on page 15 to verify new device recognition and the device files and driver. Example # insf -e insf: Installing special files for mux2 instance 0 address 8/0/0 : : : : : : : : # Failure of the insf -e command indicates a SAN problem. If the device files for the new disk array devices cannot be created automatically, you must create the device files manually using the mknodcommand as follows: 1. Retrieve the device information you recorded earlier. 2. Construct the device file name for each device, using the device information, and enter the file names in your table. Use the following formula to construct the device file name: cxtydz where: • x = SCSI bus instance number • y = SCSI target ID • z = LUN • c stands for controller • t stands for target ID • d stands for device The numbers x, y, and z are hexadecimal. XP Disk Array Configuration Guide for HP-UX 19

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56

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
on page 15 to verify new device recognition and the
device files and driver.
Example
# insf -e
insf: Installing special files for mux2 instance 0 address 8/0/0
:
:
:
:
:
:
:
:
#
Failure of the
insf
e
command indicates a SAN problem.
If the device files for the new disk array devices cannot be created automatically, you must create the
device files manually using the
mknodcommand
as follows:
1.
Retrieve the device information you recorded earlier.
2.
Construct the device file name for each device, using the device information, and enter the file
names in your table. Use the following formula to construct the device file name:
cxtydz
where:
x
= SCSI bus instance number
y
= SCSI target ID
z
= LUN
c
stands for controller
t
stands for target ID
d
stands for device
The numbers
x
,
y
, and
z
are hexadecimal.
XP Disk Array Configuration Guide for HP-UX
19