Amanda-Users

Re: Tapeless Backup using chg-multi

2003-07-17 17:25:58
Subject: Re: Tapeless Backup using chg-multi
From: Jon LaBadie <jon AT jgcomp DOT com>
To: "'amanda-users AT amanda DOT org'" <amanda-users AT amanda DOT org>
Date: Thu, 17 Jul 2003 17:20:48 -0400
On Thu, Jul 17, 2003 at 03:26:38PM -0500, Byarlay, Wayne A. wrote:
> I am attempting to use AMANDA to write to Disk instead of Tape.
> 
> I have followed the directions in the archives to the best of my ability...
> but I'm still running into an error.
> 
> I try to use amlabel (/usr/sbin/amlabel -f DailyNAS1 DailyNAS01 slot 1)to
> prepare the directories, but I keep getting an error that says "device could
> not load slot "current": not a device file."
> 
> Very similar error if I omit the slot 1.
> 
> If I CD into this dir, I can create/delete files/directories so it's not a
> permissions problem (even though the path is a NFS mounted remote NAS.)
> 
> 
> ------------------------
> Contents of amanda.conf:
> uh, having problems getting this one... let me know if you need to see
> something
> 
> 
> ------------------------
> Contents of changer.conf:
> multieject 0
> gravity 0
> needeject 0
> ejectdelay 0
> statefile /etc/amanda/DailyNAS1/changer-status
> firstslot 1
> lastslot 1
> slot 1 file:/test/amanda/slot1 #verified to be existing. this path contains
> a folder called "data".
> 
> ----------------------------
> contents of changer-status:
> #created by wab 7-16-03
> multieject 0
> gravity 0
> needeject 0
> ejectdelay 0
> firstslot 1
> lastslot 1
> curslot 1
> curloaded 1
> slot 1 file:/test/amanda/slot1
> statefile /var/lib/amanda/DailyNAS1/statefile

I presume you are using chg-multi as your changer type in amanda.conf.

Couple of comments,
You have two statefile definitions, one in changer.conf and another
in changer-status.

If I understand changer-status, your comment "created by wab" should
not have been created or touched in any way by wab.  Mine has much
less info;

        # multi-changer state cache: DO NOT EDIT!
        curslot 4
        curloaded 1

Your changer.conf file seems similar to mine:

        multieject 0
        gravity 0
        needeject 0
        ejectdelay 0
        posteject 0
        statefile /usr/local/etc/amanda/FT/changer-status
        firstslot 1
        lastslot 10
        slot  1 file:/w2/FileDrive/FTape-01
        slot  2 file:/w2/FileDrive/FTape-02
           ...
        slot  9 file:/w2/FileDrive/FTape-09
        slot 10 file:/w2/FileDrive/FTape-10


Can you get reasonable results from ammt and amtape using
your setup?  That should be a first step.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>