Unix Settings
Configuring for HP-UX 11.0
64
Configuring for HP-UX 11.0
Finding Current Hardware/Driver Configuration
To find currently installed SCSI controllers and devices, use the command can
ioscan–f
. This com-
mand lists all the system devices and their device names.
Attaching the LTO-1 and LTO-2 drives
Choose a SCSI address that does not conflict with any already attached SCSI devices on your SCSI
controller. See figure 1 for jumper installation for the LTO-1 and LTO-2 drives. Attach the LTO-1 or
LTO-2 drive and apply power to the drive(s) and the host system. After the boot process completes
and you log in as superuser, issue the command:
ioscan –C tape –f.
You should see output similar to:
Class I H/WPath Driver S/WState H/Wtype Description
Tape 7 8/12.6.0 stape Claimed Device SEAGATE ULTRIUM
From the root directory and as superuser, issue the command:
/sbin/insf –C tape.
Then issue the command:
/sbin/mksf –d stape –H
x
/
x
.
x
.
x
–I
y
–c 1
–n –u /dev/rmt/zcnb
Where:
•
x
is the data under
H/WPath
from the
ioscan
.
•
y
is the data under
I
from the
ioscan.
•
z
is the tape device identifier number.
You can execute an
ls
command for the
/dev/rmt
directory to choose an identifier number that
has not already been used. You can also choose a unique device name such as
cnb
to more easily
remember which device name will enable data compression during write. Refer to the man pages
for
mksf
to review settings for
rewind
/
no rewind
, Berkeley mode, and AT&T mode.
After performing the
insf
and
mksf
commands, use the command
ioscan –fn | grep –C
tape
to check the installation. You should see output showing the hardware and device addressing
and also the device name attached to the LTO-1 and LTO-2 drives.