?
Solved

DEC tape drive via SunOS 4.1.3

Posted on 1997-02-22
1
Medium Priority
?
329 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
pmj011497 earned 200 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

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…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

771 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