Instructions will cover the installation of the DLT tape peripheral hardware and
configuration of the system to communicate with the DLT tape peripheral. SunOS 4.1.3
includes a driver to efficiently communicate with tape drives, such as the DLT tape
peripheral. The system must have the appropriate SCSI interface for DLT drive to attach
to, i.e., a SCSI single-ended DLT drive can be attached only to a SCSI single-ended
interface. The same is true for SCSI differential attachment.
Perform the installation as follows:
1. Shut down the SPARCstation and remove ac power from the system. Install the
DLT tape peripheral and connect it to its SCSI controller. Refer to the following
manual for switch and jumper settings and SCSI bus termination:
• DLT1/DLT7 Install and Operations Guide
Set the DLT SCSI device address to an unassigned ID.
2. Turn power on and execute a 'probe-scsi' command. The system response should
indicate that the DLT device is attached and from that you can verify the DLT SCSI ID
setting.
3. Boot the system and log in as root.
4. Change directory to /usr/sys/scsi/targets.
5. Edit the file st_conf.c by adding the following to the end of the table:
• <DLT tape unit> is the vendor and product ID for the DLT device. Depending on
the DLT tape peripheral you are installing, you must insert the appropriate vendor
and product ID string for <DLT tape unit> as described in the following table:
DLT Tap e Product
DLT 1Q UANTUM DLT7000
Total string character count, including spaces, in <DLT tape unit> must equal 15.
• <Density 1> and <Density 2> define part of the density code selection option and
< DLT tape unit>
are set according to the following table. <Density 1> is the default density.
DLT Tape
Product
DLT 1
The above table entry is applied to a structure called st_drivetype and is defined in /usr/sys/scsi/targets/stdef.h. The structure is shown below:
struct st_drivetype
<Density 1>
0x40
<Density 2>
0x86
<Density 3>
0x87
{
char *name; /*
Name for debug */
char length; /* Length of vendor id */
char vid [24]; /* Vendor id and model id */
char t
ype; /* Drive type for driver */
short bsize; /* Block size */
int option; /* Drive option */
<Density 4>
0x7F
int max_rretries; /* Max read retries */
int max_wretries; /* Max write retries */
u_char densities[NDENSITIES]; /* Density codes */
u_char speeds[NSPEEDS]; /* Sp
eed codes */
}
1. Enter the following command to identify the kernel architecture:
/bin/arch -k
The response to the command should be similar to sun4mand is used to substitute for the <kernel
arch> strings that appear in succeeding steps.
1. Change directory to /usr/share/sys/<kernel arch>/conf, where <kernel arch>is
the kernel architecture identifier obtained from the previous step.
2. Enter the following command in preparation for kernel rebuild. GENERIC may
be substituted for <kernel config file>in the command string.
/usr/etc/config <kernel config file>
3. Change directory to ../<kernel config file>.
4. Enter the following command to rebuild the VMUNIX kernel:
/bin/make
5. Enter the following command to save the existing kernel:
/bin/mv /vmunix /vmunix.old
6. Enter the following command to copy the new kernel to the root directory:
/bin/cp ./vmunix /vmunix
7. Enter the following command to shut down the system:
shutdown -h now
8. Boot the system with the installed DLT tape peripheral and the software files
modified for system recognition of the tape drive. The system creates special files
that enable communication with the DLT device. The special files nrst (no rewind
on close) and rst (rewind on close) reside in the /dev directory. The following
table shows the created device files and the corresponding density codes for a
DLT device installed with a SCSI ID of 4 or 5.
SCSI ID 4
nrst 0, rst0n rst1, rst1
nrst 8, rst8n rst9, rst9
S
CSI ID 5 D ensity Code
DLT1
0x40 0x87
0x86
• Enter the following command to verify the installation:
mt -f /dev/rst0 status
Note that the device file rst0 is for an installed DLT device with SCSI ID of 4. Use rst1 in the above
command string for an installed DLT device with a SCSI ID of 5.
The system response should indicate SCSI tape drive along with drive sense data.
DLT Density Codes
Below is a list of DLT device density codes referenced in this note along with additional density
characteristics based on cartridge and DLT type.
40 GB, compressed mode, vendor unique density code for DLT1 drives
0x40
loaded with DLTtape IV tape cartridge.
-
40 GB, uncompressed mode, vendor unique density code for DLT1 drives
0x86
loaded with DLTtape IV tape cartridge.
-
40 GB, compressed mode, vendor unique density code for DLT1 drives
0x87
loaded with DLTtape IV tape cartridge.
-
0x7F
No change from previous density. (NOP)
-
DLT Mini-Library Usage
The Sun operating system does not support SCSI-2 media changer device commands. Therefore, an
installed DLT7 mini-library can not be utilized in random access mode and can only be accessed in
sequential mode. Refer to the DLT1/DLT7 Install and Operations Guide manual for detailed description of
these access modes.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.