Amanda-Users

backup to disk problem....

2003-07-01 13:04:34
Subject: backup to disk problem....
From: Scott Petler <scottp AT sonic DOT net>
To: amanda-users AT amanda DOT org
Date: Tue, 1 Jul 2003 10:02:09 -0700
Hi,

 I'm trying to configure amanda 2.4.4 to backup to a spare
 drive, but can't quite get it to work.  Where is -1 KB coming from?
 I've tried changing the length number in the config and don't seem
 to be able to make it have any effect on the error message.  It seems
 that the tape size is 0 or thereabouts. Where is tape length 41943040
 coming from?
 
 Any ideas?
 
 
 *******************************************************************
 ****************** amcheck output *********************************
 *******************************************************************
 
 sierra:/usr/local/etc/amanda/DailySet1# su backup
 sierra:/usr/local/etc/amanda/DailySet1$ amcheck DailySet1
 Amanda Tape Server Host Check
 -----------------------------
 amcheck-server: slot 1: date 20030630 label DailySet101 (exact label match)
 NOTE: skipping tape-writable test
 Tape DailySet101 label ok
 Server check took 0.321 seconds
 
 Amanda Backup Client Hosts Check
 --------------------------------
 Client check: 1 host checked in 0.045 seconds, 0 problems found
 
 (brought to you by Amanda 2.4.4)
 
 *******************************************************************
 ******************** amdump output ********************************
 *******************************************************************
 
 ANALYZING ESTIMATES...
 pondering localhost:/home/travis... next_level0 10 last_level 0 (not due for a 
full dump, picking an incr level)
    picklev: last night 0, so tonight level 1
   curr level 1 size -1 total size 3095 total_lev0 0 balanced-lev0size 878106
 pondering localhost:/home/scottp... next_level0 10 last_level 0 (not due for a 
full dump, picking an incr level)
    picklev: last night 0, so tonight level 1
   curr level 1 size -1 total size 4126 total_lev0 0 balanced-lev0size 1133080
 pondering localhost:/home/photos... next_level0 10 last_level 0 (not due for a 
full dump, picking an incr level)
    picklev: last night 0, so tonight level 1
   curr level 1 size -1 total size 5157 total_lev0 0 balanced-lev0size 1622141
 INITIAL SCHEDULE (size 5157):
   localhost /home/travis pri 2 lev 1 size -1
   localhost /home/scottp pri 2 lev 1 size -1
   localhost /home/photos pri 2 lev 1 size -1
 
 DELAYING DUMPS IF NEEDED, total_size 5157, tape length 41943040 mark 1000
 planner: FAILED localhost /home/travis 20030630 1 [dump larger than tape, -1 
KB, skipping incremental]
 planner: FAILED localhost /home/scottp 20030630 1 [dump larger than tape, -1 
KB, skipping incremental]
 planner: FAILED localhost /home/photos 20030630 1 [dump larger than tape, -1 
KB, skipping incremental]
   delay: Total size now 2064.
 planner: cannot fit anything on tape, bailing out
 planner: time 35.172: cannot fit anything on tape, bailing out
 planner: time 35.172: pid 25992 finish time Mon Jun 30 13:15:30 2003
 
 *******************************************************************
 ******************** amanda.conf **********************************
 *******************************************************************
 
 org "DailySet1"      
 mailto "root"         
 dumpuser "backup"      
 inparallel 4            
 dumporder "sssS"
 netusage  600 Kbps     
 dumpcycle 10 days     
 runspercycle 10      
 tapecycle 14 tapes 
 bumpsize 20 Mb 
 bumpdays 1    
 bumpmult 4   
 etimeout 300            
 tapebufs 20
 runtapes 1          
 tpchanger "chg-multi"
 changerfile "/usr/local/etc/amanda/DailySet1/changer.conf"
 maxdumpsize 40 gbytes
 tapetype HARD-DISK           
 labelstr "^DailySet1[0-9][0-9]*$" 
 amrecover_do_fsf yes            
 amrecover_check_label yes      
 amrecover_changer "/dev/null" 
 
 define tapetype HARD-DISK {
         comment "use disk instead of tape"
         length 100000 mbytes
 }
 
 define dumptype hard-disk-dump {
         global  
         holdingdisk no
         priority high
 }
 
 *******************************************************************
 ***************** changer.conf ************************************
 *******************************************************************
 
 multieject 0
 gravity 0
 needeject 0
 ejectdelay 0
 
 statefile /var/lib/amanda/DailySet1/changer-status
 
 firstslot 1
 lastslot 14
 
 slot 1 file:/backup/amandadumps/tape01
 slot 2 file:/backup/amandadumps/tape02
 slot 3 file:/backup/amandadumps/tape03
 slot 4 file:/backup/amandadumps/tape04
 slot 5 file:/backup/amandadumps/tape05
 slot 6 file:/backup/amandadumps/tape06
 slot 7 file:/backup/amandadumps/tape07
 slot 8 file:/backup/amandadumps/tape08
 slot 9 file:/backup/amandadumps/tape09
 slot 10 file:/backup/amandadumps/tape10
 slot 11 file:/backup/amandadumps/tape11
 slot 12 file:/backup/amandadumps/tape12
 slot 13 file:/backup/amandadumps/tape13
 slot 14 file:/backup/amandadumps/tape14
 
 
 *******************************************************************
 ***************** disklist     ************************************
 *******************************************************************
 
 localhost /home/photos hard-disk-dump
 localhost /home/scottp hard-disk-dump
 localhost /home/travis hard-disk-dump
 
 *******************************************************************
 ***************** tapelist     ************************************
 *******************************************************************
 
 20030630 DailySet101 reuse
 20306300 DailySet114 reuse
 20306300 DailySet113 reuse
 20306290 DailySet112 reuse
 20306290 DailySet111 reuse
 20306290 DailySet110 reuse
 20306290 DailySet109 reuse
 20306290 DailySet108 reuse
 20306290 DailySet107 reuse
 20306290 DailySet106 reuse
 20306290 DailySet105 reuse
 20306290 DailySet104 reuse
 20306290 DailySet103 reuse
 20306290 DailySet102 reuse
 
 *******************************************************************
 ***************** target disk  ************************************
 *******************************************************************
 
 sierra:/backup/amandadumps$ ls -l
 total 56
 drwxrwx---    3 backup   backup         4096 Jun 30 12:43 tape01
 drwxrwx---    3 backup   backup         4096 Jun 29 16:42 tape02
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape03
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape04
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape05
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape06
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape07
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape08
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape09
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape10
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape11
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape12
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape13
 drwxrwx---    3 backup   backup         4096 Jun 29 16:48 tape14
 
 sierra:/backup/amandadumps/tape01$ ls -l
 total 8
 drwxrwx---    2 backup   backup       4096 Jun 30 13:27 data
 -rw-------    1 backup   backup         11 Jun 30 13:27 info

 sierra:/backup/amandadumps/tape01/data$ ls -l
 total 72
 -rw-------    1 backup   backup         10 Jun 30 13:27 00000-DailySet101
 -rw-------    1 backup   backup      32768 Jun 30 13:27 00000.DailySet101
 -rw-------    1 backup   backup         10 Jun 30 13:27 00001-TAPEEND
 -rw-------    1 backup   backup      32768 Jun 30 13:27 00001.TAPEEND

 (other 13 sub-directories are similar)

 
 

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