On Saturday 18 September 2021 16:21:39 Jon LaBadie wrote:

> On Fri, Sep 17, 2021 at 11:55:09AM -0400, Jon LaBadie wrote:
> >I'm seeing instances of wasted VTape with amanda switching
> >to a new tape for the last DLE even though there is room
> >left on the current tape.
> >
> >Here is the relevant section from yesterday.
> >
> >USAGE BY TAPE:
> >  Label                 Time         Size      %  DLEs Parts
> >  DS1-010               0:08       10884M   10.6    31    31
> >  DS1-011               0:51       74205M   72.5     1    15
> >
> >If combined on one tape it would have only filled 83% of the
> >tape.  Earlier this month the numberw were worse, 9% and 66%.
> >Even if a second tape were needed, the last DLE should have
> >at least started on the first tape.
>
> A new thought.  When the amanda taper has been writing to a
> vtape and attempts to open the next part file, is there some
> timeout that would look like the vtape is full/unavailable?
>
> Four of my six vtape drives, including the one in use above,
> are in an external USB enclosure.  These drives go to sleep
> if inactive for a period.  When a drive is accessed, it takes
> 20 to 30 seconds for the 4 drives to spin up and be ready.
>
> The DLE that was not taped on the first vtape took over an
> hour to dump.  Certainly the USB box went to idle state
> before it was ready to tape.
>
> When I do things from the command line that awakens the idle
> USB box, the command just blocks until the device is active
> (as I say, 20-30sec) and then completes normally.
>
> But perhaps the calls (perl or C) that amanda uses to open
> the next part return with a code that says EOF or error
> rather than "currently unavailable, try again".
>
> Jon

A sensible suspicion. But I am w/o facts to test.

Let me tell a story. One I should have told months ago because I sort of 
left Nathan hanging.  Bad form. 

At the same time I replaced the 1T /amandatapes drive with a 2T, both 
spinning rust so the same speed, I moved the holding disk from spinning 
rust to a small SSD, which is about 5x faster than rust. All my crc 
errors vanished too.

My backups used to take 2.5 to 3.5 hours, are now done in around half an 
hour thanks to the faster holding disk. Last nights was done in 22 
minutes.

Copyright 2021 by Maurice E. Heskett
Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

Reply via email to