mario wrote:
> Hello List,
> 
> i am trying to backup to disk and i am getting the error:
> 
> *** A TAPE ERROR OCCURRED: [new tape not found in rack].
> 
> 
> i get the same error when i try to run "amflush DailySet1".
> 
> Any ideas or tips?
> 
> Here is my amanda.conf:
> --------------------------------------------
> 
> org "DailySet1"    
> mailto "root"
> dumpuser "backup"
> inparallel 4
> netusage  2000 
> 
> bumpsize 20 MB   
> bumpdays     1  
> bumpmult     4   
> 
> dumpcycle 14 days
> tapecycle 14
> runtapes 1
> tpchanger "chg-multi"
> changerfile "/etc/amanda/DailySet1/changer.conf"
> 
> tapetype HARD-DISK
> labelstr "^DailySet1[0-9][0-9]*$"
> 
> diskdir "/backup/fallback/amanda"      # where the holding disk is
> disksize 33290 MB       # how much space can we use on it
> 
> infofile "/var/lib/amanda/DailySet1/curinfo" # database filename
> logfile  "/var/log/amanda/DailySet1/log"  # log filename
> 
> # where the index files live
> indexdir "/var/lib/amanda/DailySet1/index"
> 
> 
> define tapetype HARD-DISK {
>     comment "Hard disk instead of tape"
>     length 4000 mbytes  # Simulates end of tape on hard disk (a 4 GB 
> disk here)
> }
> 
> define dumptype hard-disk-dump {
>     comment "Back up to hard disk instead of tape - using dump"
>     holdingdisk no
>     index yes
>     priority high
> }
> 
> define dumptype hard-disk-tar {
>     hard-disk-dump
>     comment "Back up to hard disk instead of tape - using tar"
>     program "GNUTAR"
> }
> 
> define dumptype comp-user-tar {
>     program "GNUTAR"
>     comment "Root partitions with compression"
>     options compress-fast, index
>     priority low
> }
> 
> 
> 
> 
> Changer: "/etc/amanda/DailySet1/changer.conf"
> -----------------------------------------------------------------------------------
> 
> multieject 0
> gravity 0
> needeject 0
> ejectdelay 0
> 
> statefile /var/lib/amanda/DailySet1/changer-status
> 
> firstslot 1
> lastslot 5
> 
> slot 1 file:/var2/amandadumps/tape01
> slot 2 file:/var2/amandadumps/tape02
> slot 3 file:/var2/amandadumps/tape03
> slot 4 file:/var2/amandadumps/tape04
> slot 5 file:/var2/amandadumps/tape05
>  
> Thanks, Mario

You have tapecylce set to 14 but only have 5 'tapes' in your
changer.  Amanda is probably looking for tape06.  Either change
tapecyle to 5 or create more tapes (and increase lastslot to match).

Frank

-- 
Frank Smith                                      [EMAIL PROTECTED]
Sr. Systems Administrator                       Voice: 512-374-4673
Hoover's Online                                   Fax: 512-374-4501

Reply via email to