Amanda-Users

Re: largest fit peculiarities

2005-05-02 11:54:50
Subject: Re: largest fit peculiarities
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Brian Cuttler <brian AT wadsworth DOT org>
Date: Mon, 2 May 2005 11:44:03 -0400 (EDT)
On Mon, 2 May 2005 at 11:24am, Brian Cuttler wrote

> silly question - if you hit EOT while trying to write a DLE to
> tape... don't you know pretty closely how much room remains on
> the end of the tape - at least to within one chunksize if not
> something with smaller granularity ?

If you hit EOT, then by definition there's no room at the end of the tape.  
If you mean "then we can rewind to the beginnning of this record and write 
a DLE that we now know will fit", them amanda doesn't do that for the same 
reason it doesn't append -- we don't trust tape drives enough to do 
anything but write linearly.

In addition, your statement isn't necessarily true.  If you're using 
hardware compression, then a different DLE will compress with a different 
ratio, and may or may not fit in the number of blocks of the "failed" DLE.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

<Prev in Thread] Current Thread [Next in Thread>