HP XP20000/XP24000 HP StorageWorks XP Disk Array Configuration Guide (T5278-96 - Page 19

Verifying device recognition, SCSI target ID

Page 19 highlights

Use the ioscan -f command, and verify that the rows shown in the example are displayed. If these rows are not displayed, check the host adapter installation (hardware and driver installation) or the host configuration. Example # ioscan -f Class I H/W Path ... fc 0 8/12 lan 1 8/12.5 fcp 0 8/12.8 ext bus 2 8/12.8.0.255.0 Driver S/W State H/W Type Description fcT1 CLAIMED fcT1_cntl CLAIMED fcp CLAIMED fcpdev CLAIMED INTERFACE HP Fibre ... INTERFACE HP Fibre ... INTERFACE FCP Proto... INTERFACE FCP Devic... Verifying device recognition Verify that the HP-UX system recognizes the new devices on the disk array. If the SCSI paths were defined after the system is powered on, you must halt and restart the system to allow the system to recognize the new devices. To verify device recognition: 1. Log in to the system as root. 2. Display the device data to verify that the system recognizes the newly installed devices on the disk array. Use the ioscan -fn command to display the device data. On a system with a large LUN configuration, HP-UX cannot build device files on all LUNs. Enter insf -e to build all missing device files. Example # ioscan -fn Class I H/W Path Driver S/W State H/W Type... bc 6 14 ccio CLAIMED BUS_NEXUS... fc 1 14/12 fcT1 CLAIMED INTERFACE... lan 2 14/12.5 fcT1_cntl CLAIMED INTERFACE... fcp 1 14/12.8 fcp CLAIMED INTERFACE... ext_bus 6 14/12.8.0.0.0 fcpmux CLAIMED INTERFACE... disk 4 14/12.8.0.0.0.0.0 sdisk CLAIMED DEVCE... disk 5 14/12.8.0.0.0.0.1 sdisk CLAIMED DEVICE... ext_bus 7 14/12.8.0.255.0 fcpdev CLAIMED INTERFACE... target 10 14/12.8.0.255.0.0 tgt CLAIMED DEVICE... ctl 5 14/12.8.0.255.0.0.0 sctl CLAIMED DEVICE... In the example: • HP OPEN-9 device: SCSI bus number = 14/12, bus instance = 6, SCSI target ID = 0, LUN = 0. • HP OPEN-9*2 device: SCSI bus number = 14/12, bus instance = 6, SCSI target ID = 0, LUN = 1. • If UNKNOWN is displayed for a disk, the HP 9000 system might be configured properly. See the HP documentation or contact HP customer support for assistance with the HP 9000 system or the HP-UX operating system. 3. Enter the device data for each disk array device in a table. See "Path worksheet" (page 132). 4. 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 Connecting the disk array 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
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183

Use the
ioscan
f
command, and verify that the rows shown in the example are displayed. If
these rows are not displayed, check the host adapter installation (hardware and driver installation)
or the host configuration.
Example
# ioscan
f
Class
I H/W Path
Driver
S/W State H/W Type
Description
...
fc
0 8/12
fcT1
CLAIMED
INTERFACE HP Fibre ...
lan
1 8/12.5
fcT1_cntl CLAIMED
INTERFACE HP Fibre ...
fcp
0 8/12.8
fcp
CLAIMED
INTERFACE FCP Proto...
ext bus
2 8/12.8.0.255.0
fcpdev
CLAIMED
INTERFACE FCP Devic...
Verifying device recognition
Verify that the HP-UX system recognizes the new devices on the disk array.
If the SCSI paths were defined after the system is powered on, you must halt and restart the system
to allow the system to recognize the new devices.
To verify device recognition:
1.
Log in to the system as root.
2.
Display the device data to verify that the system recognizes the newly installed devices on the
disk array. Use the
ioscan
fn
command to display the device data.
On a system with a large LUN configuration, HP-UX cannot build device files on all LUNs.
Enter
insf
e
to build all missing device files.
Example
# ioscan -fn
Class
I H/W Path
Driver
S/W State H/W Type...
bc
6 14
ccio
CLAIMED
BUS_NEXUS...
fc
1 14/12
fcT1
CLAIMED
INTERFACE...
lan
2 14/12.5
fcT1_cntl CLAIMED
INTERFACE...
fcp
1 14/12.8
fcp
CLAIMED
INTERFACE...
ext_bus
6 14/12.8.0.0.0
fcpmux
CLAIMED
INTERFACE...
disk
4 14/12.8.0.0.0.0.0
sdisk
CLAIMED
DEVCE...
disk
5 14/12.8.0.0.0.0.1
sdisk
CLAIMED
DEVICE...
ext_bus
7 14/12.8.0.255.0
fcpdev
CLAIMED
INTERFACE...
target
10 14/12.8.0.255.0.0
tgt
CLAIMED
DEVICE...
ctl
5 14/12.8.0.255.0.0.0 sctl
CLAIMED
DEVICE...
In the example:
HP OPEN-9 device: SCSI bus number = 14/12, bus instance = 6, SCSI target ID = 0,
LUN = 0.
HP OPEN-9*2 device: SCSI bus number = 14/12, bus instance = 6, SCSI target ID =
0, LUN = 1.
If UNKNOWN is displayed for a disk, the HP 9000 system might be configured properly.
See the HP documentation or contact HP customer support for assistance with the HP
9000 system or the HP-UX operating system.
3.
Enter the device data for each disk array device in a table. See
“Path worksheet” (page 132)
.
4.
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:
c
x
t
y
d
z
where:
x
= SCSI bus instance number
y
= SCSI target ID
Connecting the disk array
19