HP-UX command summary
The following is a summary of commands that may be useful when you configure and verify devices. For usage examples, see the procedures in this chapter.
ioscan -C class -f
Shows the information about the physical interfaces. Numeric information is displayed in decimal.
class is the type of interface, as follows:
tape specifies tape drives.
ext_bus specifies SCSI controllers.
mknod /dev/spt/cCARDtTARGETlLUN c Major 0xIITL00
Creates the device files for SCSI robotic or tape drive controls.
The following describe the device file names:
CARD is the card instance number of the adapter.
TARGET is the SCSI ID of the robotic control.
LUN is the SCSI logical unit number (LUN) of the robot.
Major is the character major number (from the lsdev command).
II are two hexadecimal digits that represent the card instance number.
T is a hexadecimal digit that represents the SCSI ID of robotic control.
L is a hexadecimal digit that represents the SCSI LUN of the robotic control.
lsdev -d driver
Displays the information about the SCSI robotic control drivers.
mksf -C tape -H hw-path -b BEST -u -n
Creates the device files for tape drives. The hw-path is the hardware path of the tape drive, as specified by the ioscan command.