Solved

DEC tape drive via SunOS 4.1.3

Posted on 1997-02-22
1
320 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IBM flash storage 840 15 63
unix scripting question 1 95
ftpcommand 2 61
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 94
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

776 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