UNIX Configuration Guide:
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
Note: The Media Recognition System can be disabled by setting switch 3 to ON but this is not recommended.
The HP SureStore DAT24x6e autoloader has an additional selector switch on the rear panel. This switch sets different configurations for the autoloader mechanism and are read by the firmware at power-on. For a SCO system, this switch should be set to 7 (the default value), which sets the internal switches as follows:
Option |
Internal | |||
---|---|---|---|---|
|
|
|
| |
|
|
|
|
|
Note: Set the value with the autoloader switched off.
For a more detailed explanation, please see Autoloader Option Switch.
To install the appropriate driver and device files on a SCO system, perform the following steps:
mkdev tape
as root.
Configure SCSI tape drive
Install tape drive
y
to update the SCSI
configuration.
HP
" for the Vendor identification
string
2
" for the SCSI version to which the
drive conforms
2
" for the Response Data Format
(SCSI-2)
4
" for the DAT device
Note:
This procedure will automatically make the drive the
default device, even if another device is already
configured.
q
" to leave the boot string
displayed when the system is rebooted unchanged.
q
" to return to the Main Menu.
q
" to quit.
y
' when
prompted, and select the new kernel to be booted by
default.
You can use either of the following device files, as appropriate, for backup operations:
/dev/nrStpY
if you require a no-rewind
device
/dev/rStpY
if you require a rewind
device
Where Y
is the instance number as assigned
to the drive by the operating system (0 is the first device,
1 is the second, etc.).
Because SCO does not have any compression/no-compression
device files, use tape setcomp
to control the
compression status of the drive as follows:
Command |
Compression |
Decompression |
---|---|---|
tape -a 0 setcomp |
|
|
tape -a 1 setcomp |
|
|
tape -a 2 setcomp |
|
|
tape -a 3 setcomp |
|
|
If you have multiple drives, you must specify the appropriate device files in the command. For example:
% tape -a 0 setcomp /dev/nrStp2
Use tape getcomp
to tell you the current
status of the drive.
Note: Do not use the SCO
mt
utility. This is obsolete and does not
perform the same function as mt
on other
platforms. Use tape
to achieve the same
functionality.
To improve performance on a SCO system, specify larger
blocking factors for cpio
and tar
(use the b
option of tar
with an
argument of 20 or use the B
option of
cpio
). For example:
% tar cvbf 20 /dev/rStpY ./*
or
% find / -print | cpio -ocB > /dev/rStpY
or, if you have a version of SCO UNIX earlier than 5.x:
% find / -print | cpio -ocB > -O/dev/rStpY
Where Y
is the instance number assigned to
the drive by the operating system (where 0
is
the first instance, 1
is the second, etc.).
Alternatively, you can use the tape
command
as follows:
% tape -a 32768 setblk <device file>
This explicitly sets the block size used for the drive
when you are using built-in applications such as
cpio
and tar
. The <device
file>
is either /dev/nrStpY
or
/dev/rStpY
, as described above.