Hi!  I have a Seagate DDS-3 drive, attached to a FreeBSD 4.5-release computer.
When ever the system restarts, it by default turns on hardware compression.  As
I wish to use software compression, this could present a problem.  I tried
writing a shell script that would run at startup which basically called "mt -f
/dev/nrsa0 comp off".  However, when I tested it (I had to restart anyways, as I
was moving the machine), I got the error "mt: /dev/nrsa0: device not configured"
-- ie, there isn't a tape in the drive (as I had ejected the tape before
shutting down).  I tried a few tests, and have verified that I can't seem to
turn off compression on the drive unless a tape is in it.

So, in order to work around this, I have modified amdump, and put at the _very_
start, the 'mt -f /dev/nrsa0 comp off' line.

This is, however, rather a hack.  I would much rather be able to do this at
startup, as it should be done.

Does anyone have any suggestions as to how I might go about accomplishing this?
Failing that, is there some more compatible way to add this to Amanda?

Thanks,
Ricky

-----------------------------------------------------
Richard Morse                    System Administrator 
MGH Biostatistics Center      50 Staniford St. Rm 560
[EMAIL PROTECTED]                     617/724-9830

Reply via email to