[Amanda-users] Amanda backup problem - a tape error occured

2008-12-22 Thread mandaillou

Thanks for your prompt replies.

Dustin J. Mitchell wrote:
 On Fri, Dec 19, 2008 at 4:06 AM, mandaillou
 amanda-forum  at  backupcentral.com wrote:
 
  On the forum, I found people facing the same problem and the error was 
  related to the tapecycle. Mine is 12 and I have 12 reusable tapes.
  
 
 Right -- if you're doing 14 backups (2 weeks, every day), you're not
 going to fit that on 12 tapes.  You need 15 tapes.
 

I wasn't clear enough. I run a backup every working day (monday to friday), 
which means 10 backup per cycle so I guess 12 tapes is enough.


Dustin J. Mitchell wrote:
 
 Furthermore, it looks like you don't have enough holding-disk space:
 
  FAILED [no more holding disk space]
  
 which is causing your dumps to go straight to tape, which isn't very 
 efficient.
 

I confess I haven't configurated this part. I understood (maybe I'm wrong) that 
it would work anyway.


Dustin J. Mitchell wrote:
 
 Furthermore, your tape only wrote a bit over 1G:
 
  DailySet-05   2:11  1140224K   28.8 1 0
  
 which is 28% of the length you specified in your tapetype definition.
 Is there a problem with the tape?  Or is the tapetype definition
 incorrect?
 

I'm using 4Go tapes. They are all new and I have the same problem for every 
tape. I've used amtapetype for amanda.conf configuration.
Below is the extract from amanda.conf related to the tapetype definition.

 define tapetype HP-C1537A{
 length 3868 mbytes
 filemark 225 kbytes
 speed 491 kps
 }
 



Jean-Louis Martineau wrote:
 mandaillou wrote:
 Quote:
 NOTES:
 taper: tape DailySet-05 kb 1783648 fm 2 writing file: No space left on
 device
 
 The tape got full after 1783648 was written, you need bigger tape.
 

The capacity of all my tapes is 4Go. I feel like Amanda doesn't overwrite the 
tape but just fill the tape until it's full and then exit with the previous 
error message : The tape got full after 1783648 was written, you need bigger 
tape.

PS:can anybody tell me why I can't see my original post but only the replies ?

+--
|This was sent by mandail...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--




[Amanda-users] Amanda backup problem - a tape error occured

2008-12-19 Thread mandaillou

Hi everybody :D
This is my first post in this forum and maybe not the last.
I'm a newbie using Amanda and I'm facing a problem with my backup.
I'm working with Amanda 2.5.2p1.1 under RHEL 3.
My backup strategy is really simple :
- full backup every day on 1 tape
- dumpcycle : 2 weeks
- tapecycle : 12 tapes

The first cycle went ok but then when a tape has to be overwritten, I get the 
following message :


 These dumps were to tape DailySet-05.
 *** A TAPE ERROR OCCURRED: [No more writable valid tape found].
 Some dumps may have been left in the holding disk.
 Run amflush to flush them to tape.
 The next tape Amanda expects to use is: DailySet-06.
 
 FAILURE AND STRANGE DUMP SUMMARY:
   asmtls2.sda-akka.net  /opt/cvsroot/lev 0
 FAILED [out of tape]
   asmtls2.sda-akka.net  /opt/cvsroot/lev 0
 FAILED [data write: Broken pipe]
   asmtls2.sda-akka.net  /opt/cvsroot/lev 0
 FAILED [dump to tape failed]
   asmtls1.sda-akka.net  /home/fer/   lev 1
 FAILED [no more holding disk space]
   asmtls1.sda-akka.net  /UserBig/CVS_WORKSPACES/fer_cvs_workspaces/  lev 1
 FAILED [no more holding disk space]
 
 
 STATISTICS:
   Total   Full  Incr.
       
 Estimate Time (hrs:min)0:00
 Run Time (hrs:min) 2:58
 Dump Time (hrs:min)2:11   2:11   0:00
 Output Size (meg)1113.5 1113.50.0
 Original Size (meg)  1113.5 1113.50.0
 Avg Compressed Size (%) -- -- --
 Filesystems Dumped1  1  0
 Avg Dump Rate (k/s)   145.0  145.0--
 
 Tape Time (hrs:min)2:11   2:11   0:00
 Tape Size (meg)  1113.5 1113.50.0
 Tape Used (%)  28.8   28.80.0
 Filesystems Taped 1  1  0
 
 Chunks Taped  0  0  0
 Avg Tp Write Rate (k/s)   144.9  144.9--
 
 USAGE BY TAPE:
   Label Time  Size  %NbNc
   DailySet-05   2:11  1140224K   28.8 1 0
 
 
 FAILED AND STRANGE DUMP DETAILS:
 
 /--  asmtls2.sda-akka.net /opt/cvsroot/ lev 0 FAILED [data write: Broken
 pipe]
 sendbackup: start [asmtls2.sda-akka.net:/opt/cvsroot/ level 0]
 sendbackup: info BACKUP=/bin/tar
 sendbackup: info RECOVER_CMD=/bin/tar -xpGf - ...
 sendbackup: info end
 \
 
 
 NOTES:
   taper: tape DailySet-05 kb 1783648 fm 2 writing file: No space left on
 device
 
 
 DUMP SUMMARY:
 DUMPER STATS   TAPER
 STATS
 HOSTNAME   DISK   L ORIG-KB  OUT-KB  COMP%  MMM:SS   KB/s MMM:SS
 KB/s
 --- -
 -
 asmtls1.sd -r_cvs_workspaces/ 1 FAILED
 
 asmtls1.sd /UserBig/fer/  0 1140200 1140224--   131:06  144.9 131:06
 144.9
 asmtls1.sd /home/fer/ 1 FAILED
 
 asmtls2.sd /opt/cvsroot/  0 FAILED
 
 
 (brought to you by Amanda version 2.5.2p1)
 

On the forum, I found people facing the same problem and the error was related 
to the tapecycle. Mine is 12 and I have 12 reusable tapes.
Here is the tapelist from today, after the backup failure of last night:

 20081219 DailySet-05 reuse
 20081217 DailySet-04 reuse
 20081216 DailySet-03 reuse
 20081211 DailySet-02 reuse
 20081210 DailySet-01 reuse
 20081209 DailySet-12 reuse
 20081204 DailySet-11 reuse
 20081202 DailySet-10 reuse
 20081201 DailySet-09 reuse
 20081128 DailySet-08 reuse
 20081127 DailySet-07 reuse
 20081126 DailySet-06 reuse
 


From what I see, the tape 05 was the one to use and the rule the tape can't 
be used again before (tapecycle-1) other tapes are used, is respected.
So I don't have any clue how to solve this problem.
Thanks in advance for your help and sorry for the english mistakes.

Sylvain

+--
|This was sent by mandail...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--