Amanda-Users

Re: how to even tape over multi tapes.

2007-05-11 17:16:14
Subject: Re: how to even tape over multi tapes.
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: "McGraw, Robert P." <rmcgraw AT purdue DOT edu>
Date: Fri, 11 May 2007 23:11:42 +0200
McGraw, Robert P. schreef:
My archive backups are taking 4 tapes but I think I could get by with 3 if my files were more evenly spread over the tapes.

I am using

     dumporder "BTBTBTBTBT"

NOTES:

  taper: tape A00021 kb 337870752 fm 39 writing file: short write
taper: retrying zorn:/export/users-d.0 on new tape due to: [writing file: short write]
  taper: tape A00022 kb 290592832 fm 7 writing file: short write
taper: retrying zorn:/export/users-a.0 on new tape due to: [writing file: short write]
  taper: tape A00023 kb 274556928 fm 5 writing file: short write
  driver: Taper  error: "[writing file: short write]"
  driver: going into degraded mode because of taper component error.

The last taper failed because I had specified on 3 tapes in the backup.

tape 1 95% full
tape 2 75% full
tape 3 75% full

The problem is all my small files are getting put on the first tape (39) which leaves the bigger files for the next two tapes. I would like to spread the small files over the other tapes.

Do you have any suggestions on how to have the smaller files more evenly spread over all tapes?

Good diagnosis; and here is a solution:

http://wiki.zmanda.com/index.php/How_To:Fill_tapes_to_100%25

First set "taperalgo largestfit".
Maybe you you need to lower the number the "inparallel", so that
the smaller backups do not get started too early. And surely specify
dumporder "SSSSS" (as many S'es as you have "inparallel").

Another solution is applying the taperwait patch from Orion
Poplawski or push for the "delayed taper startup" feature to be
implemented:
http://marc.info/?l=amanda-hackers&m=112420616918385&w=2
http://marc.info/?l=amanda-hackers&m=115462409425323&w=2

--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************

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