Bacula-users

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

2010-06-11 04:33:25
Subject: Re: [Bacula-users] Bacula fails to backup jobs to Tape
From: Niek Linnenbank <niek.linnenbank AT industrial-tsi DOT com>
To: Martin Simmons <martin AT lispworks DOT com>
Date: Fri, 11 Jun 2010 10:30:52 +0200

Hi Martin,

 

We are running bacula 5.0.1-1ubuntu1 on Ubuntu Server 10.04. Tsi-vms01-fd is a dedicated

machine which is used as our fileserver, and has the following ethernet card:

 

Ethernet controller: Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express (rev 21)

 

The backup01-sd is a vmware virtual machine running on an ESX host, has a SCSI tape unit connected to

it, and emulates this network card:

 

Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)

 

Neither tsi-vms01-fd nor backup01-sd logged an error at the time the error occurred. I have tried Francisco's

suggestion to use /dev/nst0 instead of /dev/st0, which also seems to work with btape test, but also throws the same

I/O error at some point.

 

Our tapes have a label written on it which says: 'IMB TotalStorage LTO Ultrium 400GB uncompressed, 800GB compressed'. The tape unit itself has a label 'IBM TotalStorage LTO Ultrium 3'. The fileserver job takes at least 500GB. I suspect that the tape gets full at some point, and that bacula doesn't detect this. The backup01-sd configuration is:

 

Device {
  Name = "Tape Device"
  Media Type = IBM
#  Archive Device = /dev/st0
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = no;
  RemovableMedia = yes;
  RandomAccess = no;
## Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg1
## AutoChanger = yes
#  # Enable the Alert command only if you have the mtx package loaded
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
## If you have smartctl, enable this, it has more info than tapeinfo
## Alert Command = "sh -c 'smartctl -H -l error %c'" 
}
 

Thanks in advance for your help,

 

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

 

 
 

-----Original message-----
From: Martin Simmons <martin AT lispworks DOT com>
Sent: Wed 09-06-2010 15:04
To: Niek Linnenbank <niek.linnenbank AT industrial-tsi DOT com>;
CC: bacula-users AT lists.sourceforge DOT net; Yuri Kok <yuri.kok AT industrial-tsi DOT com>; Roald Hopman <roald.hopman AT industrial-tsi DOT com>;
Subject: Re: [Bacula-users] Bacula fails to backup jobs to Tape

The job failed with an unexpected error:

08-Jun 00:20 tsi-vms01-fd JobId 267: Fatal error: backup.c:892 Network send error to SD. ERR=Input/output error

which means that the fd got Input/output error while writing to the sd via a
socket.

I've never seen ERR=Input/output error from a socket connection.

What hardware connects tsi-vms01-fd and backup01-sd?  Is it reliable?

Did tsi-vms01-fd log any error around that time, e.g. in /var/log/messages?

__Martin

------------------------------------------------------------------------------
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