
Configuring Tape Drives
No Rewind Device Files
When adding tape drives to the Media Manager configuration, you need only specify a no
rewind on close device file path. These device files are found in the /dev/rmt directory
and have the following format:
/dev/rmt/c
CONTROLLER
t
TARGET
d
UNIT
BESTnb
Where:
◆ CONTROLLER is the Instance number of the controlling bus. The Instance value is
displayed in ioscan -f output under the column I of the controllers entry (ext_bus
in the Class column).
◆ TARGET is the SCSI ID of the tape drive.
◆ UNIT is the SCSI logical unit number (LUN) of the drive. This is usually 0.
If the desired tape device file does not exist, you can create device files using the sam
utility or with the following mksf(1M) command:
mksf -C tape -H
H/W_Path
-b BEST -u -n
Where H/W_Path is the hardware path of the tape drive as specified by ioscan.
No Rewind Device File Example
Assume that the desired 4-mm DDS2 compression tape drive is at SCSI ID 2 and ioscan
-f shows the following:
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
bc 0 root CLAIMED BUS_NEXUS
bc 1 56 bc CLAIMED BUS_NEXUS Bus Converter
ext_bus 0 56/52 scsi1 CLAIMED INTERFACE HP 28655A-SCSI
Interface
target 0 56/52.2 target CLAIMED DEVICE
tape 0 56/52.2.0 tape2 CLAIMED DEVICE HP HPC1533A
.
.
.
The Instance number for the controlling bus is 0 and the H/W path for the tape drive is
56/52.2.0.
The command to create the device file for the drive follows:
mksf -C tape -H 56/52.2.0 -b BEST -u -n
This creates the following device file, which you specify to Media Manager:
/dev/rmt/c0t2d0BESTnb
Chapter 4, Hewlett-Packard HP-UX 67
Comentários a estes Manuais