Device Information Example - HP StorageWorks XP10000 - Disk Array Configuration Manual

Storageworks xp disk array configuration guide for hp-ux
Hide thumbs Also See for StorageWorks XP10000 - Disk Array:
Table of Contents

Advertisement

3.
Construct the minor number for each device, using the device information, and enter the file
names in your table. Use the following formula to construct the minor number:
0xxxyz00 where
xx = SCSI bus instance number, y = SCSI target ID, and z = LUN.
4.
Display the driver information for the system using the lsdev command.
Example
# lsdev
Character
:
188
#
5.
Enter the major numbers for the device drivers into the table. You should now have all required
device and driver information in the table.
6.
Create the device files for all disk array devices (SCSI disk and multiplatform devices) using the
mknodcommand. Create the block-type device files in the /dev/dsk directory and the
character-type device files in the /dev/rdsk directory.
Example
# cd /dev/dsk
# mknod /dev/dsk/c2t6d0 b 31 0x026000
# cd /dev/rdsk
# mknod /dev/rdsk/c2t6d0 c 188 0x026000 Create character-type file.
:
#
The character-type device file is required for volumes used as raw devices (for example,
3390-3A/B/C). The block-type device file is not required for volumes used as raw devices.
If you need to delete a device file, use the rm
Table 5 Device information example
Bus
Inst
Disk
8/12
02
3
8/12
02
4
8/12
02
5
20
Installing and configuring HP-UX for the XP disk array
Block
Driver
:
:
31
sdisk
HW path
Driver
8/12.8.8.255.0.6.0
sdisk
8/12.8.8.255.0.6.1
sdisk
8/12.8.8.255.0.8.0
sdisk
Class
:
disk
Go to /dev/dsk directory.
Create block-type file.
File name, b=block-type,
31=major #, 0x026000= minor #
Go to /dev/rdsk directory.
File name, c=character-type,
177=major #, 0x026000=minor #
i command.
Dev type
TID
LUN
OPEN-9
6
0
OPEN-9
6
1
3390-3B
8
0
Major
no.
Dev file
Minor no.
char.
files
c2t6d0
0x026000
188
c2t6d1
0x026100
188
c2t8d0
0x028000
188
Major
no.
block
files
31
31
31

Advertisement

Table of Contents
loading

Table of Contents