HP StorageWorks XP12000 HP StorageWorks XP Disk Array Configuration Guide: HP- - Page 20
Table 5 Device information example, device and driver information in the table.
![]() |
View all HP StorageWorks XP12000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 20 highlights
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 # Block : 31 Driver : sdisk Class : 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 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 Go 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/rdsk Go to /dev/rdsk directory. # mknod /dev/rdsk/c2t6d0 c 188 0x026000 Create character-type file. File name, c=character-type, 177=major #, 0x026000=minor # : # 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 -i command. Table 5 Device information example Bus Inst Disk HW path Major Major Driver Dev type TID LUN Dev file Minor no. no. char. no. block files files 8/12 02 3 8/12.8.8.255.0.6.0 sdisk OPEN-9 6 0 c2t6d0 0x026000 188 31 8/12 02 4 8/12.8.8.255.0.6.1 sdisk OPEN-9 6 1 c2t6d1 0x026100 188 31 8/12 02 5 8/12.8.8.255.0.8.0 sdisk 3390-3B 8 0 c2t8d0 0x028000 188 31 20 Installing and configuring HP-UX for the XP disk array
![](/manual_guide/products/hewlettpackard-storageworks-xp10000-hp-storageworks-xp-disk-array-configuration-guide-hpux-a595196083-2010-fd6d574/20.png)