dlt4000 to sun2.4 & 5.4
GESNSO2X
Revision 10 – 6 January, 2003
TAPE DRIVE ATTACHMENT TO SUN SPARC WORKSTATIONS
(Solaris 2.4 or higher)
This application note is to be used only as a guideline for the above titled subject. It is assumed that the
user of these notes is knowledgeable on the above titled platform and associated operating system and
utilities. The user assumes all responsibility for understanding the interrelationships of this information
with other affected software or system products. Overland Data provides this information as a service
only, and assumes no responsibility for any damages which could result from the use of this information.
The information in this application note is subject to change without notice and is not to be construed as a
commitment by Overland Data. Overland Data assumes no responsibility for any errors that may appear
in this document. Brand or product names used in this document are trademarks or registered trademarks
of their respective holders.
This document describes the procedure for attaching Overland Data tape drives to the
Sun Microsystems Sparcstation family of products running under Solaris 2.4 or higher.
This Application Note should NOT be used under Solaris 2.3 or earlier releases.
1. Verify that the unit has a SCSI interface compatible with the SCSI controller installed
in the workstation (i.e., low voltage differential, single-ended or high voltage
differential).
2. Determine available SCSI IDs on the workstation. If this information is not known,
halt the Sun system and at the ok prompt type probe-scsi or probe-scsi-all
to display the addresses of devices currently connected to the system (refer to your Sun
system documentation if necessary). Each device on the SCSI bus must have a unique
SCSI ID. If necessary, refer to the appropriate User & Installation Manual for
instructions on setting the SCSI ID of the tape drive.
3. Using an appropriate text editor (like vi) edit the file /kernel/drv/st.conf.
It is important to use the exact spelling, case, and punctuation when entering the
information into the st.conf file (for example, there must be five spaces between DEC
and DLT2000 when entering the string for the DLT2000XT).
It may be helpful if the user reads the man pages on st prior to editing any files.
GESNSO2X
Revision 10 – 6 January, 2003
Add the following in st.conf:
tape-config-list=
"SEAGATE ULTRIUM06242-XXX",”Overland LTO","lto-data",
“HP
Ultrium 1”,”HP Ultrium 1”, “ULTRIUM-1”,
“HP
Ultrium 2”,”HP Ultrium 2”, “ULTRIUM-2”,
"QUANTUM SuperDLT1","Overland SuperDLT1","sdlt1-data",
"QUANTUM SDLT 320","Overland SDLT 320","sdlt320-data",
"SONY
SDX-700C","Sony AIT3 8mm","SONY_AIT",
"SONY
SDX-500C","Sony AIT2 8mm","SONY_AIT",
"SONY
SDX-300C","Sony AIT1 8mm","SONY_AIT",
"QUANTUM DLT8000","Overland DLT8000","dlt8000-data",
"QUANTUM DLT7000","Overland DLT7000","dlt7000-data",
"Quantum DLT4000","Overland DLT4000","dlt4000-data",
"DEC
DLT2000","Overland DLT2000XT","dlt2000xt-data",
"OVERLANDL490E","Overland L490E","l490e-data",
"OVERLANDT490E","Overland T490E","l490e-data",
"OVERLAND 5622","Overland 5622/5624","ninetrk-data",
"OVERLANDM995","Overland M995","ninetrk-data";
lto-data=
ULTRIUM-1 =
ULTRIUM-2 =
sdlt320-data =
sdlt1-data=
SONY_AIT=
dlt8000-data=
dlt7000-data=
dlt4000-data=
dlt2000xt-data=
l490e-data=
ninetrk-data =
1,0x36,0,0x1d639,4,0x00,0x00,0x00,0x00,0;
1,0x36,0,0x1d639,4,0x00,0x00,0x00,0x40,3;
1,0x36,0,0x1d639,4,0x00,0x00,0x00,0x42,3;
1,0x38,0,0x1D639,4,0x90,0x91,0x92,0x93,3;
1,0x36,0,0x1d639,4,0x00,0x00,0x00,0x00,0;
1,0x36,0,0x1d679,4,0x00,0x00,0x00,0x00,0;
1,0x36,0,0xd619,4,0x84,0x85,0x88,0x89,3;
1,0x36,0,0xd619,4,0x82,0x83,0x84,0x85,3;
1,0x36,0,0xd619,4,0x80,0x81,0x82,0x83,3;
1,0x36,0,0xd619,4,0x17,0x18,0x80,0x81,3;
1,0x36,0,0x4619,4,0x90,0x91,0x92,0x93,3;
1,0x33,0,0x443d,4,0x02,0x02,0x03,0x03,3;
4. After editing and saving the new st.conf file, shut down the system and reboot with
the following command:
>boot -rv
The switch r forces the compiling of the kernel and the switch v is verbose. As the
system boots, it will recompile the kernel and create the special files in /dev to
communicate with the tape drive. Switch v causes the SCSI targets to be displayed
during the boot. It will display whatever value is entered in the second string of the
associated tape-config-list entry defined in step 3. After the system has finished booting,
you can use the UNIX command dmesg to determine if the tape device has been
properly recognized.
5. Special files used to communicate with the tape drive will be created in the /dev/rmt
directory. After completing steps 1-4 and logging on to the system, determine the
/dev/rmt device files associated with the tape drive by typing the following at a UNIX
prompt:
GESNSO2X
Revision 10 – 6 January, 2003
# ls -l /dev/rmt/?
A display similar to following will be shown:
/dev/rmt/0 -> ../~path~/st4,0
/dev/rmt/1 -> ../~path~/st5,0
In this example /dev/rmt/0 refers to the tape drive using SCSI ID 4 and /dev/rmt/1 refers
to the tape drive using SCSI ID 5.
6. A series of special files are created for each tape drive to modify the operation of the
st tape driver. To display the set of special files associated with a particular device, type
the following at a UNIX prompt:
# ls /dev/rmt/0*
A list of special files should be displayed:
/dev/rmt/0 /dev/rmt/0cbn /dev/rmt/0hn /dev/rmt/0m /dev/rmt/0u
/dev/rmt/0b /dev/rmt/0cn /dev/rmt/0l /dev/rmt/0mb /dev/rmt/0ub
/dev/rmt/0bn /dev/rmt/0h /dev/rmt/0lb /dev/rmt/0mbn /dev/rmt/0ubn
/dev/rmt/0c /dev/rmt/0hb /dev/rmt/0lbn /dev/rmt/0mn /dev/rmt/0un
/dev/rmt/0cb /dev/rmt/0hbn /dev/rmt/0ln /dev/rmt/0n
Using the following syntax:
/dev/rmt/[0- 127][l,m,h,u,c][b][n]
- where l,m,h,u,c specifies the density (low, medium, high, ultra/compressed),
b specifies the optional BSD behavior (see mtio(7)),
n specifies the optional no rewind behavior.
For example, /dev/rmt/0lbn
specifies unit 0, low density, BSD behavior, and no rewind.
7. The following tables define the relationship of the density codes to the device files
(l,m,h,u,c) for the various Overland tape drives configured in step 3. These examples
assume that the primary device file is /dev/rmt/0
Seagate LTO Ultrium (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x00
0x00
0x00
0x00
0x00
Format Selected
100 GB uncompressed (LTO Ultrium-1 cartridge)
100 GB uncompressed (LTO Ultrium-1 cartridge)
100 GB uncompressed (LTO Ultrium-1 cartridge)
200 GB compressed (LTO Ultrium-1 cartridge)
200 GB compressed (LTO Ultrium-1 cartridge)
GESNSO2X
Revision 10 – 6 January, 2003
HP LTO Ultrium-1 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x00
0x00
0x00
0x40
0x40
Format Selected
100 GB uncompressed (LTO Ultrium-1 cartridge)
100 GB uncompressed (LTO Ultrium-1 cartridge)
100 GB uncompressed (LTO Ultrium-1 cartridge)
200 GB compressed (LTO Ultrium-1 cartridge)
200 GB compressed (LTO Ultrium-1 cartridge)
HP LTO Ultrium-2 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x00
0x00
0x00
0x42
0x42
Format Selected
200 GB uncompressed (LTO Ultrium-2 cartridge)
200 GB uncompressed (LTO Ultrium-2 cartridge)
200 GB uncompressed (LTO Ultrium-2 cartridge)
400 GB compressed (LTO Ultrium-2 cartridge)
400 GB compressed (LTO Ultrium-2 cartridge)
SuperDLT1 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x00
0x00
0x00
0x00
0x00
Format Selected
110 GB uncompressed (Super DLTtape I cartridge)
110 GB uncompressed (Super DLTtape I cartridge)
110 GB uncompressed (Super DLTtape I cartridge)
220 GB compressed (Super DLTtape I cartridge)
220 GB compressed (Super DLTtape I cartridge)
SDLT320 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x90
0x91
0x92
0x93
0x93
Format Selected
110 GB uncompressed (Super DLTtape I cartridge)
220 GB compressed (Super DLTtape I cartridge)
160 GB uncompressed (Super DLTtape I cartridge)
320 GB compressed (Super DLTtape I cartridge)
320 GB compressed (Super DLTtape I cartridge)
SDX-700C (rewind, no BSD behavior)
Device File
/dev/rmt/0l
Density Code
0x00
/dev/rmt/0m
0x00
Format Selected
AIT-3 uncompressed (AIT-3 cassette) or
AIT-1 or AIT-2 uncompressed (AIT-1 or AIT-2 cassette)
AIT-3 uncompressed (AIT-3 cassette) or
GESNSO2X
Revision 10 – 6 January, 2003
/dev/rmt/0h
0x00
/dev/rmt/0u
0x00
/dev/rmt/0c
0x00
AIT-1 or AIT-2 uncompressed (AIT-1 or AIT-2 cassette)
AIT-3 uncompressed (AIT-3 cassette) or
AIT-1 or AIT-2 uncompressed (AIT-1 or AIT-2 cassette)
AIT-3 compressed (AIT-3 cassette) or
AIT-1 or AIT-2 compressed (AIT-1 or AIT-2 cassette)
AIT-3 compressed (AIT-3 cassette) or
AIT-1 or AIT-2 compressed (AIT-1 or AIT-2 cassette)
SDX-500C (rewind, no BSD behavior)
Device File
/dev/rmt/0l
Density Code
0x00
/dev/rmt/0m
0x00
/dev/rmt/0h
0x00
/dev/rmt/0u
0x00
/dev/rmt/0c
0x00
Format Selected
AIT-2 uncompressed (AIT-2 cassette) or
AIT-1 uncompressed (AIT-1 cassette)
AIT-2 uncompressed (AIT-2 cassette) or
AIT-1 uncompressed (AIT-1 cassette)
AIT-2 uncompressed (AIT-2 cassette) or
AIT-1 uncompressed (AIT-1 cassette)
AIT-2 compressed (AIT-2 cassette) or
AIT-1 compressed (AIT-1 cassette)
AIT-2 compressed (AIT-2 cassette) or
AIT-1 compressed (AIT-1 cassette)
GESNSO2X
Revision 10 – 6 January, 2003
SDX-300C (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x00
0x00
0x00
0x00
0x00
Format Selected
AIT-1 uncompressed (AIT-1 cassette)
AIT-1 uncompressed (AIT-1 cassette)
AIT-1 uncompressed (AIT-1 cassette)
AIT-1 compressed (AIT-1 cassette)
AIT-1 compressed (AIT-1 cassette)
DLT8000 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x84
0x85
0x88
0x89
0x89
Format Selected
35 GB uncompressed (DLTtape IV cartridge)
70 GB compressed (DLTtape IV cartridge)
40 GB uncompressed (DLTtape IV cartridge)
80 GB compressed (DLTtape IV cartridge)
80 GB compressed (DLTtape IV cartridge)
DLT7000 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x82
0x83
0x84
0x85
0x85
Format Selected
20 GB uncompressed (DLTtape IV cartridge)
40 GB compressed (DLTtape IV cartridge)
35 GB uncompressed (DLTtape IV cartridge)
70 GB compressed (DLTtape IV cartridge)
70 GB compressed (DLTtape IV cartridge)
DLT4000 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x80
0x81
0x82
0x83
0x83
Format Selected
10/15 GB uncompressed (DLTtape III/IIIXT cartridge)
20/30 GB compressed (DLTtape III/IIIXT cartridge)
20 GB uncompressed (DLTtape IV cartridge)
40 GB compressed (DLTtape IV cartridge)
40 GB compressed (DLTtape IV cartridge)
GESNSO2X
Revision 10 – 6 January, 2003
DLT2000XT (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x17
0x18
0x80
0x81
0x81
Format Selected
2.6 GB uncompressed (DLTtape III cartridge)
6.0 GB compressed (DLTtape III cartridge)
10/15 GB uncompressed (DLTtape III/IIIXT cartridge)
20/30 GB compressed (DLTtape III/IIIXT cartridge)
20/30 GB compressed (DLTtape III/IIIXT cartridge)
L490E or T490E (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x90
0x91
0x92
0x93
0x93
Format Selected
3480 format, 18-track uncompressed
3490 format, 18-track compressed
3490E format, 36-track uncompressed
3490E format, 36-track compressed
3490E format, 36-track compressed
Note: To use these density code values with the L490E or T490E, Config Option 63
must be set to VU DENSITY. Refer to the L490E or T490E User and Installation
manual for information on setting configuration options.
5622/5624 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x02
0x02
0x03
0x03
0x03
Format Selected
1600 bpi
1600 bpi
6250 bpi
6250 bpi
6250 bpi
M995 (rewind, no BSD behavior)
Device File
/dev/rmt/0l
/dev/rmt/0m
/dev/rmt/0h
/dev/rmt/0u
/dev/rmt/0c
Density Code
0x02
0x02
0x03
0x03
0x03
Format Selected
1600 bpi
1600 bpi
6250 bpi
6250 bpi
6250 bpi
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising