Amanda-Users

Re: Strange behaviour by amanda/tape device

2005-08-18 05:21:49
Subject: Re: Strange behaviour by amanda/tape device
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Lars Sørensen <zaphodbeeb AT gmail DOT com>
Date: Thu, 18 Aug 2005 11:09:35 +0200
Lars Sørensen wrote:

And the weird thing is that the tape mentioned is in fact in the rack
and in the right place. I've tried starting with tape 5 in the drive
and watched as the tapechanger substituted that tape with tape 6 into
the drive and then producing the exact same error as above ? ? ?

Maybe tape 6 is broken.  Try to read the tape label manually:

mt -t /the/tape/device rewind
dd if=/the/tape/device bs=32k count=1

Maybe some error occured just when writing the tape (why was it
hung?  By rebooting you got at least the device reset, but the
tapelabel was maybe destroyed just before, and no updated label
was written yet.)
Maybe you have to relabel the tape or a new tape (amrmtape first,
to forget everything about the existing tape).


Anyone got any ideas at all as to what is going on?

btw I also tried moving all the tapelist, amdump, amflush and other
log files out of the but that did not help either.

Don't do that. Amanda needs the tapelist file and log files.
Maybe you got yourself into bigger trouble now.  (Just restore
the files from the backups, if you "rm" them instead of moved
to a different place.)

--
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, *
* init 0, 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>