Solved

DEC tape drive via SunOS 4.1.3

Posted on 1997-02-22
1
317 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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.

762 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

13 Experts available now in Live!

Get 1:1 Help Now