Bacula-users

Re: [Bacula-users] Bacula fails to backup jobs to Tape

2010-06-09 06:49:12
Subject: Re: [Bacula-users] Bacula fails to backup jobs to Tape
From: francisco javier funes nieto <esencia AT gmail DOT com>
To: Niek Linnenbank <niek.linnenbank AT industrial-tsi DOT com>
Date: Wed, 9 Jun 2010 12:46:32 +0200
You must use the  "/dev/nst0" Device in your Storage Daemon config
file (Device Section) better than "/dev/st0". Try to run the btape
test and post the results for more accurate help.


Javier.

2010/6/9 Niek Linnenbank <niek.linnenbank AT industrial-tsi DOT com>:
> Hello,
>
>
>
> We are using Bacula for several months now as our primary backup solution,
>
> yet we are still struggling to get the automatic backup to tape working.
>
> I temporarily disabled them and ran the backup jobs manually. I inserted an
> empty
>
> tape and labelled it 'Maandag'. The jobs started and were doing the backup
> when I left the office,
>
> but the next day I got this error:
>
>
>
> 07-Jun 18:15 backup01-dir JobId 267: Start Backup JobId 267,
> Job=tsi-vms01.2010-06-07_18.15.49_04
> 07-Jun 18:15 backup01-dir JobId 267: Using Device "Tape^ADevice"
> 07-Jun 18:15 backup01-sd JobId 267: Wrote label to prelabeled Volume
> "Maandag" on device "Tape Device" (/dev/st0)
> 08-Jun 00:20 tsi-vms01-fd JobId 267: Fatal error: backup.c:892 Network send
> error to SD. ERR=Input/output error
> 08-Jun 00:16 backup01-sd JobId 267: Fatal error: append.c:242 Network error
> reading from FD. ERR=No data available
> 08-Jun 00:16 backup01-sd JobId 267: Job write elapsed time = 06:00:19,
> Transfer rate = 19.54 M Bytes/second
>
>
> The job for backing up our fileserver has obviously failed, but I can't
> figure out why from this error
>
> message I got in the logs. Even worse, other jobs after it also failed
> because of this message:
>
>
>
> 08-Jun 00:16 backup01-sd JobId 269: Volume "Maandag" previously written,
> moving to end of data.
> 08-Jun 00:16 backup01-sd JobId 269: Error: Bacula cannot write on tape
> Volume "Maandag" because:
> The number of files mismatch! Volume=423 Catalog=422
> 08-Jun 00:16 backup01-sd JobId 269: Marking Volume "Maandag" in Error in
> Catalog.
> 08-Jun 00:16 backup01-sd JobId 269: Job tsi-mail01.2010-06-07_18.17.35_06 is
> waiting. Cannot find any appendable volumes.
> Please use the "label" command to create a new Volume for:
>     Storage:      "Tape Device" (/dev/st0)
>     Pool:         DayPool
>     Media type:   IBM
>
>
> What is going on exactly? I didn't find anything strange in the dmesg or
> syslog of the bacula machine (which
>
> runs bacula-dir and bacula-sd) or the fileserver with bacula-fd.
>
>
>
> I hope somebody can help us out. Thanks in advance,
>
>
>
> Niek Linnenbank
>
> Open Source Consultant
>
>
>
> Industrial-TSI BV
> Dukatenburg 82b
> 3437 AE Nieuwegein
> The Netherlands
> E-mail: info(at)industrial-tsi.com
> Tel: (+31)30-6005010
> Fax: (+31)30-6005019
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>



-- 
_____________________________________________

Francisco Javier Funes Nieto [esencia AT gmail DOT com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users