Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

DEC tape drive via SunOS 4.1.3

Posted on 1997-02-22
1
Medium Priority
?
334 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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 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.:
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…
Suggested Courses

609 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