[Bug 594159] [NEW] Bacula failes to backup to tape: I/O error

Niek Linnenbank niek.linnenbank at industrial-tsi.com
Mon Jun 14 15:29:30 BST 2010


Public bug reported:

Binary package hint: bacula

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)

The backup jobs of our fileserver stopped working after we upgraded to bacula 5.0.1-1ubuntu1 in Ubuntu 10.04,
resulting in the following error message:

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

Neither tsi-vms01-fd nor backup01-sd logged an error at the time the
error occurred. 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

** Affects: bacula (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Bacula failes to backup to tape: I/O error
https://bugs.launchpad.net/bugs/594159
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.



More information about the Ubuntu-server-bugs mailing list