Amanda-Users

Re: [UPDATE] How to control which tape is next?

2003-10-22 13:53:59
Subject: Re: [UPDATE] How to control which tape is next?
From: Jean-Louis Martineau <martinea AT iro.umontreal DOT ca>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Wed, 22 Oct 2003 13:46:30 -0400
Hi Paul,

I commited your patch with a small change. In write_tapelist, it return 1
instead of calling error(), all caller handle the return code correctly.

Jean-Louis

On Wed, Oct 22, 2003 at 04:04:19PM +0200, Paul Bijnens wrote:
> donald.ritchey AT exeloncorp DOT com wrote:
> 
> >Check to see if some problem has truncated your tapelist file.  If a 
> >problem (e.g., no space left on a device) prevents the tapelist from 
> >being created or some other problem truncated the file, then you 
> >could expect to see a problem like this.  Check to see if there have 
> >been any drive faults or other system events at the time when Amanda
> >started giving you strange results.
> 
> I have created a patch, which seems not yet included in the current
> sources, for similar errors:
> 
> http://groups.yahoo.com/group/amanda-hackers/message/3769
> 
> (but it seems that this is not the problem, as Lucio seems to indicate
> that there ARE enough entries in the tapelist file.  Maybe a permission
> problem?  Or looking at a file with the same name but not the one
> as configured in amanda.conf?)
> 
> 
> Jean-Louis,
> 
> This patch was posted, while you were on holiday, or burried under the
> work...  I believe it's nice to include anyway.
> 
> -- 
> 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          *
> ***********************************************************************
> 

-- 
Jean-Louis Martineau             email: martineau AT iro.umontreal DOT ca 
Département IRO, Université de Montréal
C.P. 6128, Succ. CENTRE-VILLE    Tel: (514) 343-6111 ext. 3529
Montréal, Canada, H3C 3J7        Fax: (514) 343-5834