Amanda-Users

Re: AMLABEL Hard-Disk

2003-11-13 18:01:41
Subject: Re: AMLABEL Hard-Disk
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 13 Nov 2003 18:00:02 -0500
On Thu, Nov 13, 2003 at 03:53:16PM -0700, Jeremy Aldrich wrote:
> Hello,
> 
> I am running Red Hat 7.3 w/amanda 2.4.2p2-7 and I am trying to write to a 
> hard-drive
> I have setup amanda to write to hard-drive like so:
> #AMANDA.CONF
> dumpcycle 6 days        # the number of days in the normal dump cycle
> runspercycle 6          # the number of amdump runs in dumpcycle days
> tapecycle 3 tapes       # the number of tapes in rotation
> tpchanger "chg-multi"   # the tape-changer glue script
> #tapedev "/dev/null"    # the no-rewind tape device to be used
> #rawtapedev "/dev/null" # the raw device to be used (ftape only)
> changerfile "/etc/amanda/test/chg-multi.conf"
> #changerdev "/dev/null"
> #tapetype HP-DAT                # what kind of tape it is (see tapetypes 
> below)
> tapetype full_to_disk_test          # what kind of tape it is (see tapetypes 
> below)
> define tapetype full_to_disk_test {
>    comment "TEST FULL BACKUP TO DISK"
>    length 9000 mbytes
> }
> #CHG-MULTI.CONF
> multieject 0
> gravity 0
> needeject 0
> ejectdelay 0
> statefile /etc/amanda/test/changer-status
> firstslot 1
> lastslot 3
> slot 1 file:/home/backup/t1
> slot 2 file:/home/backup/t2
> slot 3 file:/home/backup/t3
> 
> I then put the amanda user and disk group priveleges on the amanda 
> directories as well as the backup directories and have them all set with 766 
> permissions.
> 
> Here is my problem...........I keep getting this error when running amlabel:
> amlabel: could not load slot "1": file:/home/backup/t1: not a device file
> 
> Does anyone have an idea as to what may be wrong?
> Thanks for any time that you spend on this.

I don't see any mention of creating a "data" sub-directories
in your t1 - t3 directories.

And do you really mean permissions 755, not 766?  I hope so.


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