On Saturday 16 November 2002 13:39, Jon LaBadie wrote:
>On Sat, Nov 16, 2002 at 06:18:22PM +0000, Marius Sorteberg wrote:
>> Hi list,
>>
>> I use Amanda2.4.3 on FreeBSD 4.7, compiled from ports.
>> My tapedevice is a DLT 15/30.
>>
>> I recently switched to software compression, and therefore whish
>> to disable hardware compression. This is done with "mt comp off"
>> on FreeBSD, and works well on my hardware. The tapedevice is
>> external, in it's own case (the backup server is 1U).
>>
>> The "mt " command is lost after a reboot, or a powercycle on the
>> tapedevice. A small script, run by cron would solve this, but is
>> it "a better way"?
>>
>> I guess I'm looking for a setting in amanda.conf.
>
>how about having the cron entry NOT run amdump directly, but do a
> 2 line shell script, mt, then amdump.
That didn't work here on dat drives Jon, because amdump reads the
tape to verify its identity. That re-reads the hidden header and
turns it back on. Thats why I always to the equ of the script I
just re-posted.
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.19% setiathome rank, not too shabby for a WV hillbilly
|