Thanks Dustin the patch is working fine, good work.

Compression enabled, does it mean that it is using compression ?

-- GG

bash-3.00$ amtapetype -f arkive /dev/rmt/0n 
Applying heuristic check for compression.
Wrote random (uncompressible) data at 7492244.64516129 bytes/sec 
Wrote fixed (compressible) data at 35732243.6923077 bytes/sec
Compression: enabled
Writing one file to fill the volume.

-----Ursprungligt meddelande-----
Från: [email protected] [mailto:[email protected]] För Dustin J. Mitchell
Skickat: den 18 maj 2010 17:01
Till: Gunnarsson, Gunnar
Kopia: [email protected]
Ämne: Re: amtapetype Amanda 3.1.0beta2

On Tue, May 18, 2010 at 9:37 AM, Dustin J. Mitchell <[email protected]> wrote:
> Hmm.. can you send me the syscall trace (truss or strace) of that?

(truss now in hand..)

Oh, silly me - the code detects that the tape drive needs the 
FSF_AFTER_FILEMARK property, by virtue of getting an error from the device .. 
but then fails on that very error.

This should be pretty easy to fix - try this patch:
  http://github.com/djmitche/amanda/commit/fsf_after_filemark.patch

You can probably apply that in-place without too much trouble.

Dustin

--
Open Source Storage Engineer
http://www.zmanda.com

Reply via email to