Amanda-Users

Re: amlabel: not an amanda tape ???

2007-08-01 10:42:15
Subject: Re: amlabel: not an amanda tape ???
From: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
To: amanda mailing list <amanda-users AT amanda DOT org>
Date: Wed, 01 Aug 2007 16:30:15 +0200
On 2007-08-01 14:08, Michael D Schleif wrote:
Please, ANY ideas ???


amanda is version 2.5.1p1-2.1 , running on debian:

# uname -a
Linux erda 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007 x86_64 GNU/Linux

Trying to setup a VXA-2 manual load tape drive with amanda.

Same tape that I used earlier today with amtapetype, and successfully
got a tapetype definition.

Now, I want to label this same tape, and perform the first backup.

    # sudo -u backup amlabel -f DailySet1 backup.001
    rewinding, reading label, not an amanda tape (Invalid argument)
    rewinding, writing label backup.001, checking label
    amlabel: not an amanda tape (Invalid argument)


What do you think?


Seems that, when reading something from the tape
some syscall used returns "Invalid argument".

Pure guesses:

- Is your tapedevice in the amanda.conf set to a real device?

- Did you modify the config paramater "--with-maxtapeblocksize=..." from
something other than the default value 32, which results in some
weird or invalid bufferlength for such a device?  (Also when using
fixed blocks in the tapedevice, Amanda's buffer should be at least as
large as those fixed blocks; I prefer variable blocks for tapes.)


--
Paul Bijnens, xplanation Technology Services        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>