Amanda-Users

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

2008-12-19 11:11:22
Subject: [Amanda-users] Amanda backup problem - a tape error occured
From: mandaillou <amanda-forum AT backupcentral DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 19 Dec 2008 04:06:12 -0500
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.5        0.0
> Original Size (meg)      1113.5     1113.5        0.0
> Avg Compressed Size (%)     --         --         --
> Filesystems Dumped            1          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.5        0.0
> Tape Used (%)              28.8       28.8        0.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      %    Nb    Nc
>   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 mandaillou AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------