Amanda-Users

Re: File driver usage

2007-03-30 04:31:10
Subject: Re: File driver usage
From: Paul Bijnens <Paul.Bijnens AT xplanation DOT com>
To: Amanda List <amanda-users AT amanda DOT org>
Date: Fri, 30 Mar 2007 10:23:39 +0200
On 2007-03-29 17:56, Cédric Lucantis wrote:
>> Yes, dear, the file _does_ actually exist:
>>> ls -la /xlv1/amanda/algo_test/tape1
>> total 0
>> drwxrwxr-x    3 amanda   amanda        22 Mar 28 12:57 .
>> drwxrwxr-x    3 amanda   amanda        23 Mar 28 12:57 ..
>> drwxrwxr-x    2 amanda   amanda         9 Mar 28 12:57 data
>>
> (...)
>> runtapes 1              tapedev "file:/xlv1/amanda/algo_test/tape1"
> 
> Hmm, weird... tapedev should be on a separate line, but I guess something was 
> wrong with your copy/paste (?), otherwise amcheck would have choke on it
> 
> Anyway, your setup seems to be wrong: tapedev should be a directory 
> containing 
> the tapes, not the tape itself, and data must be a sym link pointing to one 
> of the tapes. For instance, I have tapedev="file:/backup/archive" and:

I have a strong suspicion that you are wrong, and the setup was correct.
There is no requirement for data being a symlink.
Note he is using a simple file driver, no changer involved.
And even changer "chg-multi" does not use need data to be a symlink,
only the chg-disk implementation uses symlinks.

The setup is correct, but amanda 2.4.2 does not have a filedriver.
There was already a strong hint about that problem: the commands ammt
and amdd did not exist either.


-- 
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>