Example

Example

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

z = LUN

4.Display the driver information for the system using the lsdev command.

# lsdev

Character Block Driver Class

: : : :

188

31

sdisk

disk

#

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 mknod command. Create the block-type device files in the /dev/dsk directory and the character-type device files in the /dev/rdsk directory.

#cd /dev/dskGo to /dev/dsk directory.

#mknod /dev/dsk/c2t6d0 b 31 0x026000

Create block-type file.

File name, b=block-type, 31=major #, 0x026000= minor

#

#cd /dev/rdskGo to /dev/rdsk directory.

#mknod /dev/rdsk/c2t6d0 c 188 0x026000

Installation

39

Page 37
Image 37
HP XP10000, XP128 manual # lsdev Character Block Driver Class 188 Sdisk Disk