Creating The Device Files - HP StorageWorks XP24000 Configuration Manual

Xp disk array configuration guide for hp-ux
Hide thumbs Also See for StorageWorks XP24000:
Table of Contents

Advertisement

Creating the device files

If the device files were not created automatically when the system was restarted, use the insf –e
command in the /dev directory to create the device files. After this command is executed, repeat the
procedures in the previous section
the device files and driver.
Example
# insf -e
insf: Installing special files for mux2 instance 0 address 8/0/0
:
:
#
Failure of the insf –e command indicates a SAN problem.
If the device files for the new disk array devices cannot be created automatically, you must create the
device files manually using the mknodcommand as follows:
1.
Retrieve the device information you recorded earlier.
2.
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 z = LUN
c stands for controller, t stands for target ID, and d stands for device. The numbers x, y, and
z are hexadecimal.
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.
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
Verifying device recognition
:
:
Block
Driver
Class
:
:
:
31
sdisk
disk
to verify new device recognition and
:
:
:
:
XP Disk Array Configuration Guide for HP-UX
23

Advertisement

Table of Contents
loading

Table of Contents