HP Surestore Disk Array 12h SGI IRIX Configuration Guide - Page 23

Create the Device Files, Fabric Switch, dev/rdsk/dks, dev/rdsk, ioctl, nsShow

Page 23 highlights

Create the Device Files The SGI IRIX system creates device files for new devices automatically during server startup. IRIX uses the following formats for the device file names. • parallel SCSI and FC-AL /dev/rdsk/dkscontroller#ddrive#{spartition#|vh|vol} /dev/rdsk/dkscontroller#ddrive#llun#{spartition#|vh|vol} /dev/dsk/dkscontroller#ddrive#spartition# /dev/dsk/dkscontroller#ddrive#llun#spartition# Example /dev/rdsk/dks8d0l8s0 • Fibre Channel fabric /dev/rdsk/nodename/lunlun#{spartition#|vh|vol}/ccontroller#pport# /dev/dsk/nodename/lunlun#spartition#/ccontroller#pport# Example /dev/rdsk/50000e10ff809999/lun1vol/c8p50000e10ff809999 The fabric device names always specify the logical unit number (lunlun#), even when it is zero. The rdsk devices use a raw interface to communicate with the disk, and the dsk devices use a block interface. The ccontroller#, ddrive#, and llun# parameters indicate the SCSI controller number, target ID, and logical unit number. The pport# and nodename parameters are used to indicate the worldwide name (WWN) and the device port number (Fibre Channel disks have two ports). The vh and vol devices are in the rdsk directory only, because they are normally used only for ioctl and raw access. Fabric Switch When the fabric switch is used, the WWN information is displayed by the nsShow command. The PortName (column 4) is the WWN, and the NodeName is the device port number. Example switch:admin> nsShow The Local Name Server has 7 entries { Type PidCOSPortNameNodeNameTTL(sec) *N 011200;23;10:00:00:60:69:00:ab:ba;10:00:00:60:69:00:ab:ba;60 FC4s: FCIP N 021200; 2,3;10:00:00:60:69:00:03:19;30:00:00:60:69:00:03:19;na FC4s: FCIP N 021300; 3;10:00:00:60:69:00:02:d6;20:00:00:60:69:00:02:d6; na NL 0214e2; 3;21:00:00:fa:ce:00:21:1e;20:00:00:fa:ce:00:21:1e; na FC4s: FCP [STOREX RS2999FCPH3 MT09] SGI IRIX Installation 23

  • 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

SGI IRIX Installation
23
Create the Device Files
The SGI IRIX system creates device files for new devices automatically during server
startup.
IRIX uses the following formats for the device file names.
parallel SCSI and FC-AL
/dev/rdsk/dks
controller#ddrive#
{
spartition#
|
vh
|
vol
}
/dev/rdsk/dks
controller#ddrive#llun#
{
spartition#
|
vh
|
vol
}
/dev/dsk/dks
controller#ddrive#spartition#
/dev/dsk/dks
controller#ddrive#llun#spartition#
Example
/dev/rdsk/dks8d0l8s0
Fibre Channel fabric
/dev/rdsk/
nodename
/
lunlun#
{
spartition#
|
vh
|
vol
}
/
ccontroller#pport#
/dev/dsk/
nodename
/
lunlun#spartition#
/
ccontroller#pport#
Example
/dev/rdsk/50000e10ff809999/lun1vol/c8p50000e10ff809999
The fabric device names always specify the logical unit number (
lunlun#
), even when
it is zero. The
rdsk
devices use a raw interface to communicate with the disk, and the
dsk
devices use a block interface.
The
ccontroller#
,
ddrive#
, and
llun#
parameters indicate the SCSI controller number,
target ID, and logical unit number.
The
pport#
and
nodename
parameters are used to indicate the worldwide name
(WWN) and the device port number (Fibre Channel disks have two ports). The
vh
and
vol
devices are in the
rdsk
directory only, because they are normally used only for
ioctl
and raw access.
Fabric Switch
When the fabric switch is used, the WWN information is displayed by the
nsShow
command. The PortName (column 4) is the WWN, and the NodeName is the device
port number.
Example
switch:admin> nsShow
The Local Name Server has 7 entries {
Type PidCOSPortNameNodeNameTTL(sec)
*N 011200;23;10:00:00:60:69:00:ab:ba;10:00:00:60:69:00:ab:ba;60
FC4s: FCIP
N 021200; 2,3;10:00:00:60:69:00:03:19;30:00:00:60:69:00:03:19;na
FC4s: FCIP
N 021300; 3;10:00:00:60:69:00:02:d6;20:00:00:60:69:00:02:d6; na
NL 0214e2; 3;21:00:00:fa:ce:00:21:1e;20:00:00:fa:ce:00:21:1e; na
FC4s: FCP [STOREX
RS2999FCPH3
MT09]