From: "Douglas C. Stephens" <stephens () ameslab ! gov>
To: tru64-unix-managers
Subject: SUMMARY: DLT compression control questions
Date: Tue, 13 Jun 2000 14:35:33 +0000 [thread overview]
Message-ID: <96090704108137.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--=====================_58929546==_.ALT", Size: 15139 bytes --]
--=====================_58929546==_.ALT
Content-Type: text/plain; charset="us-ascii"
My apologies for the delay on this summary. The solution to controlling
compression came from alan@nabeth.cxo.dec.com who said I should monitor
the front-panel lights on the drive and if they don't report the correct
settings, then I should adapt the ddr entry for a DEC TZ88 drive. My
adapted ddr.dbase entry for a Quantum DLT4000 looks like this:
SCSIDEVICE
#
# Matches TZ88, TZ885, TZ887
#
Type = tape
Name = "Quantum" "DLT4000"
#
PARAMETERS:
TypeSubClass = tk
TagQueueDepth = 0
MaxTransferSize = 0x0ffffff # (16MB - 1)
ReadyTimeSeconds = 45 # seconds
DENSITY:
#
DensityNumber = 0
DensityCode = 0x18
CompressionCode = 0x0
Buffered = 0x1
DENSITY:
#
DensityNumber = 1
DensityCode = default
CompressionCode = 0x1
Buffered = 0x1
DENSITY:
#
DensityNumber = 2,4,5,6,7
DensityCode = default
CompressionCode = 0x0
Buffered = 0x1
DENSITY:
#
DensityNumber = 3
DensityCode = 42500_bpi
CompressionCode = 0x0
Buffered = 0x1
When I added this entry and compiled a new ddr.db using the command
"/sbin/ddr_config -c" command, the kernel picked up the new settings
without requiring a system reboot. Now the /dev/nrmt0m device gives me
20GB -compression, and the /dev/nrmt0h device gives me 40GB +compression.
The STU program that Eberhard Heuser-Hofmann talked about looks interesting
for other more exotic operations, though.
On an unrelated note, I was trying to load DU4.0E onto an older
AlphaStation 200 4/100 to test some things when I encountered a pleasant
suprise regarding video support in that rev. Previously this box had
been loaded with RedHat Linux 5.2 for Alpha, and that had required an
S3 ViRGE chip set video card (Diamond Stealth 3D 2000) running under ARC
console to get anything useful beyond base VGA. However the DU4.0E could
only handle it using the generic VGA driver. To my suprise, when I swapped
the Diamond card for a PowerGraph STB card based on the S3 Trio 64V+
chip set, the genvmunix kernel happily accepted it as if it were really
a Digital card. Now I just have to load the proper driver into the
regular vmunix kernel on this system. Yippee.
Replies to my question are included below, with my original message
appended after them.
Replies:
========
>From: tsh@mrc-lmb.cam.ac.uk
>
>Have you tried any of the other rmt devices? /dev/rmt?a/l/h.
>On my machine, /dev/rmt?a writes to a TZ87 without
>compression, and /dev/rmt?m with compression, with the front-panel
>lights lighting up accordingly.
>From: Eberhard Heuser-Hofmann <vaxinf@chclu.chemie.uni-konstanz.de>
>
>here's an info about a program, that changes the setup of a dlt. It migth >be useful for you:
>=============================================================================================
>
>Hi,
>
>STU is an ancient VMS program. I mangled a version that had been hacked
>for HP-UX to support Linux and Solaris. Looking for testers, especially
>for the HPUX and Solaris stuff (I don't even know if it compiles.)
>Linux and VMS work (for me.)
>
>http://members.xoom.com/rrohbeck/stu.c
>
>Main features: Version display, Firmware load, density change, directory
>recovery, EEPROM parameter display/change.
>
>Win32 is next I'm afraid... if you have SCSI code for NT
>IOCTL_SCSI_PASSTHROUGH or ASPI32 I'd be interested. Or go ahead and do it
>yourself, but send me the changes please.
>
>I also wrote up some of the FAQs I collected over time.
>http://members.xoom.com/rrohbeck/dlt.html.
>From: alan@nabeth.cxo.dec.com
>
> As a 2nd check, read the data back using the 'm' device
> and if the compression light stays on or off. If it
> stays, then it was probably written with compression.
> In that case, you'll need to adapt the TZ88 entry to
> use the right density code to get no compression on
> some device.
Original Message:
=================
>Date: Fri, 02 Jun 2000 14:51:42 -0500
>From: "Douglas C. Stephens" <stephens@ameslab.gov>
>Subject: DLT compression control questions
>Sender: tru64-unix-managers-owner@ornl.gov
>X-Sender: stephens@imap.ameslab.gov
>To: tru64-unix-managers@ornl.gov
>X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
>Delivered-to: tru64-unix-managers@sws1.ctd.ornl.gov
>Followup-to: poster
>
>I'm trying to install and configure the Amanda package (www.amanda.org)
>on a Compaq AlphaServer 800 running Digital Unix 4.0E with patch kit
>duv40eas00001-19990202 installed. In order for me to use the gzip
>client/server compression features in Amanda, I have to use my DLT drive
>in no-hardware-compression mode.
>
>I located and read the tz(7) man page which told me that the closest
>matching drive to my Quantum DLT4000 is the DEC TZ88. The supported tape
>formats in the tables in that man page said that to get 20GB with no
>compression from CompacTapeIV tapes, I should use the rmt?m device.
>
>Maybe it was simplistic, but when I wrote data to the tape using using
>the rmt?m device, the front-panel lights on the drive didn't change from
>the power-up defaults of 20GB + compression mode.
>
>Since the front-panel mode lights didn't change, and since /sbin/mt never
>reports any change in density no matter which device driver I feed it, how
>can I be sure the drive actually wrote the data with no compression?
>
>My /etc/ddr.dbase doesn't have an entry for Quantum DLT4000, but it does
>have an entry for the TZ88. Since the DLT4000 always worked before, I
>never added a ddr entry for it. Do I need to add an entry to the ddr so
>that I can control the drive hardware compression?
--
Douglas C. Stephens | Network/DNS/Unix/WinNT/VMS Administrator
System Support Specialist | Postmaster / Webmaster
Information Systems | Phone: (515) 294-6102
Ames Laboratory, US DOE | Email: stephens@ameslab.gov
--=====================_58929546==_.ALT
Content-Type: text/html; charset="us-ascii"
<html>
My apologies for the delay on this summary. The solution to
controlling<br>
compression came from alan@nabeth.cxo.dec.com who said I should
monitor<br>
the front-panel lights on the drive and if they don't report the
correct<br>
settings, then I should adapt the ddr entry for a DEC TZ88 drive.
My<br>
adapted ddr.dbase entry for a Quantum DLT4000 looks like this:<br>
<br>
SCSIDEVICE<br>
#<br>
# Matches TZ88, TZ885, TZ887<br>
#<br>
Type = tape<br>
Name = "Quantum" "DLT4000"<br>
#<br>
PARAMETERS:<br>
TypeSubClass = tk<br>
TagQueueDepth = 0<br>
MaxTransferSize =
0x0ffffff # (16MB -
1)<br>
ReadyTimeSeconds =
45
# seconds<br>
<br>
DENSITY:<br>
#<br>
DensityNumber = 0<br>
DensityCode = 0x18<br>
CompressionCode = 0x0<br>
Buffered = 0x1<br>
<br>
DENSITY:<br>
#<br>
DensityNumber = 1<br>
DensityCode = default<br>
CompressionCode = 0x1<br>
Buffered = 0x1<br>
<br>
DENSITY:<br>
#<br>
DensityNumber =
2,4,5,6,7<br>
DensityCode = default<br>
CompressionCode = 0x0<br>
Buffered = 0x1<br>
<br>
DENSITY:<br>
#<br>
DensityNumber = 3<br>
DensityCode = 42500_bpi<br>
CompressionCode = 0x0<br>
Buffered = 0x1<br>
<br>
When I added this entry and compiled a new ddr.db using the command<br>
"/sbin/ddr_config -c" command, the kernel picked up the new
settings<br>
without requiring a system reboot. Now the /dev/nrmt0m device gives
me<br>
20GB -compression, and the /dev/nrmt0h device gives me 40GB
+compression.<br>
<br>
The STU program that Eberhard Heuser-Hofmann talked about looks
interesting<br>
for other more exotic operations, though.<br>
<br>
On an unrelated note, I was trying to load DU4.0E onto an older<br>
AlphaStation 200 4/100 to test some things when I encountered a
pleasant<br>
suprise regarding video support in that rev. Previously this box
had<br>
been loaded with RedHat Linux 5.2 for Alpha, and that had required
an<br>
S3 ViRGE chip set video card (Diamond Stealth 3D 2000) running under
ARC<br>
console to get anything useful beyond base VGA. However the DU4.0E
could<br>
only handle it using the generic VGA driver. To my suprise, when I
swapped<br>
the Diamond card for a PowerGraph STB card based on the S3 Trio
64V+<br>
chip set, the genvmunix kernel happily accepted it as if it were
really<br>
a Digital card. Now I just have to load the proper driver into
the<br>
regular vmunix kernel on this system. Yippee.<br>
<br>
<br>
Replies to my question are included below, with my original message<br>
appended after them.<br>
<br>
Replies:<br>
========<br>
>From: tsh@mrc-lmb.cam.ac.uk<br>
><br>
>Have you tried any of the other rmt devices? /dev/rmt?a/l/h.<br>
>On my machine, /dev/rmt?a writes to a TZ87 without<br>
>compression, and /dev/rmt?m with compression, with the
front-panel<br>
>lights lighting up accordingly.<br>
<br>
<br>
>From: Eberhard Heuser-Hofmann
<vaxinf@chclu.chemie.uni-konstanz.de><br>
><br>
>here's an info about a program, that changes the setup of a dlt. It
migth >be useful for you:<br>
>=============================================================================================<br>
><br>
>Hi,<br>
><br>
>STU is an ancient VMS program. I mangled a version that had been
hacked<br>
>for HP-UX to support Linux and Solaris. Looking for testers,
especially<br>
>for the HPUX and Solaris stuff (I don't even know if it
compiles.)<br>
>Linux and VMS work (for me.)<br>
><br>
><a href="http://members.xoom.com/rrohbeck/stu.c" eudora="autourl">http://members.xoom.com/rrohbeck/stu.c</a><br>
><br>
>Main features: Version display, Firmware load, density change,
directory<br>
>recovery, EEPROM parameter display/change.<br>
><br>
>Win32 is next I'm afraid... if you have SCSI code for NT<br>
>IOCTL_SCSI_PASSTHROUGH or ASPI32 I'd be interested. Or go ahead and
do it<br>
>yourself, but send me the changes please.<br>
><br>
>I also wrote up some of the FAQs I collected over time.<br>
><a href="http://members.xoom.com/rrohbeck/dlt.html" eudora="autourl">http://members.xoom.com/rrohbeck/dlt.html</a>.<br>
<br>
<br>
>From: alan@nabeth.cxo.dec.com<br>
><br>
><x-tab> </x-tab>As a 2nd
check, read the data back using the 'm' device<br>
><x-tab> </x-tab>and if the
compression light stays on or off. If it<br>
><x-tab> </x-tab>stays, then
it was probably written with compression.<br>
><x-tab> </x-tab>In that
case, you'll need to adapt the TZ88 entry to<br>
><x-tab> </x-tab>use the
right density code to get no compression on<br>
><x-tab> </x-tab>some
device.<br>
<br>
<br>
Original Message:<br>
=================<br>
<blockquote type=cite cite>Date: Fri, 02 Jun 2000 14:51:42 -0500<br>
From: "Douglas C. Stephens" <stephens@ameslab.gov><br>
Subject: DLT compression control questions<br>
Sender: tru64-unix-managers-owner@ornl.gov<br>
X-Sender: stephens@imap.ameslab.gov<br>
To: tru64-unix-managers@ornl.gov<br>
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58<br>
Delivered-to: tru64-unix-managers@sws1.ctd.ornl.gov<br>
Followup-to: poster<br>
<br>
I'm trying to install and configure the Amanda package
(<a href="http://www.amanda.org/" eudora="autourl">www.amanda.org</a>)<br>
on a Compaq AlphaServer 800 running Digital Unix 4.0E with patch
kit<br>
duv40eas00001-19990202 installed. In order for me to use the
gzip<br>
client/server compression features in Amanda, I have to use my DLT
drive<br>
in no-hardware-compression mode.<br>
<br>
I located and read the tz(7) man page which told me that the
closest<br>
matching drive to my Quantum DLT4000 is the DEC TZ88. The supported
tape<br>
formats in the tables in that man page said that to get 20GB with
no<br>
compression from CompacTapeIV tapes, I should use the rmt?m device.<br>
<br>
Maybe it was simplistic, but when I wrote data to the tape using
using<br>
the rmt?m device, the front-panel lights on the drive didn't change
from<br>
the power-up defaults of 20GB + compression mode.<br>
<br>
Since the front-panel mode lights didn't change, and since /sbin/mt
never<br>
reports any change in density no matter which device driver I feed it,
how<br>
can I be sure the drive actually wrote the data with no
compression?<br>
<br>
My /etc/ddr.dbase doesn't have an entry for Quantum DLT4000, but it
does<br>
have an entry for the TZ88. Since the DLT4000 always worked before,
I<br>
never added a ddr entry for it. Do I need to add an entry to the
ddr so<br>
that I can control the drive hardware compression?</blockquote><br>
<div>--</div>
<div>Douglas C.
Stephens
| Network/DNS/Unix/WinNT/VMS Administrator</div>
<div>System Support Specialist |
Postmaster / Webmaster</div>
<div>Information
Systems
| Phone: (515) 294-6102</div>
<div>Ames Laboratory, US
DOE | Email:
stephens@ameslab.gov</div>
</html>
--=====================_58929546==_.ALT--
reply other threads:[~2000-06-13 14:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox