Stefan Herrmann wrote:

yes I do have problems:

stefan:/usr/local/amanda/etc/amanda/daily amanda$ amtape daily label daily2
amtape: scanning for tape with label daily2
amtape: slot 3: date X        label daily3 (wrong tape)
amtape: slot 4: date X        label daily4 (wrong tape)
amtape: slot 5: date X        label daily5 (wrong tape)
amtape: slot 6: date X        label daily6 (wrong tape)
amtape: slot 7: date X        label daily7 (wrong tape)
amtape: slot expr:: tape_rdlabel: tape open: syntax error: No such file or directory
amtape: slot 1: date 20051026 label daily1 (wrong tape)
amtape: slot 2: date 20051027 label daily2 (exact label match)
amtape: label daily2 is now loaded.

the tape in slot 8 (daily8) cant be scanned. so if i want to load daily8 there is no match and I cant load the tape :(

Is is there anything different with the last slot?
What is the output of:

$ cd /usr/local/amanda/etc/amanda/daily
$ amgetconf tapecycle
8               # at least that what I expect
$ amgetconf tapedev
file:/some/directory/slots      # use this output in the next cmd
$ ls -la /some/directory/slots/slot[78]
... # any difference between slot 7 and 8??? permissions, filesize etc.


And of course the obvious question: what version of amanda is it?

It seems like the chg-disk somewhere generates a "syntax error" when
loading the last slot with option "-next".
Try this:

$ /usr/local/libexec/chg-disk -slot 7
$ sh -vx /usr/local/libexec/chg-disk -next

Do you get the same syntax error?  If yes, can you post (or mail me)
the output of the "sh -vx ..."?


--
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:  [EMAIL PROTECTED]
***********************************************************************
* 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          *
***********************************************************************


Reply via email to