Solved

DEC tape drive via SunOS 4.1.3

Posted on 1997-02-22
1
319 Views
Last Modified: 2013-12-16
We have a Sun 4/280 running SunOS 4.1.3 with a DEC TLZ06 4mm drive on a SCSI bus which we use for backups.  The default mode for this drive is uncompressed mode.  How do we set
the drive to run in compressed mode?

The drive documentation, for Ultrix and VMS, states that the mode is determined based on the entry used in /dev, such as /dev/rmt?1 for uncompressed and /dev/rmt?h for compressed.  We don't have comparable device names on the Sun, and the only entries I'm aware of that access the drive do so in uncompressed mode.
0
Comment
Question by:iue
1 Comment
 

Accepted Solution

by:
pmj011497 earned 100 total points
ID: 1811797
ive never seen one of these drives, however, most tape drives can be accessed in their higher capacity modes from 4.1.3 for writing in the following way eg:

/dev/nrst0 -  low capacity
/dev/nrst8 -  high capacity
/dev/nrst16 - compressed mode

if your drive only has two capacity levels then obviously you will only need two of the above.

----

if the above does not work then you will need to add the drive to the known drives in "/sys/scsi/targets/{st_conf.c,st_conf.h}" files. assuming that the DEC is like the drives i have then something like the following appended into st_conf.c (there is a structure there) might work:

/* DEC TLZ06 */
{
  "DEC TLZ06 Drive", 16,
  "initial_string_of_probe_scsi_command_here",
  ST_TYPE_TLZ06, 1024,
  (ST_VARIABLE | ST_BSF | ST_BSR | ST_LONG_ERASE),   5000, 5000,
  { 0x80, 0x81, 0x19, 0x18 },
  {  0, 0, 0, 0 }
}

---

then stick the following into st_conf.h:
#define ST_TYPE_TLZ06    0x31    /* DEC */

---

you will need to compile a new kernel for this to work... good luck
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now