Hi Folks,

I've noticed a pattern in my backups when two jobs are simultaneously writing to the same tape. When the tape ends, Bacula doesn't respond gracefully. This is only a problem when two jobs are running on the tape, not when a single job is running. I assume that only the final 64k was lost? I haven't tried a restore yet, as these are 1TB multi- volume jobs :)

See below for relevant log, volume query and SD config.

Thanks for any ideas,
Ian


Log:

24-Feb 11:29 sbgrid-sd: End of Volume "000007L1" at 142:10755 on device "LTO-2" (/dev/nst0). Write of 64512 bytes got -1. 24-Feb 11:29 sbgrid-sd: NFS_L3.2006-02-24_03.00.00 Error: Re-read of last block failed. Last block=2971566 Current block=782122. 24-Feb 11:29 sbgrid-sd: End of medium on Volume "000007L1" Bytes=142,684,596,767 Blocks=2,211,755 at 24-Feb-2006 11:29.


Volume jobs query:

+-------+----------+---------------------+------+-------+------- +---------------+--------+ | JobId | Name | StartTime | Type | Level | Files | Bytes | Status | +-------+----------+---------------------+------+-------+------- +---------------+--------+ | 222 | NFS_L2 | 2006-02-24 00:00:02 | B | F | 0 | 0 | R | | 225 | NFS_L3 | 2006-02-24 08:10:22 | B | F | 0 | 0 | R | +-------+----------+---------------------+------+-------+------- +---------------+--------+

bacula-sd.conf:

Autochanger {
  Name = "ADIC Scalar 100"
  Device = LTO-1, LTO-2
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg0
}

Device {
  Name = LTO-1
  Drive Index = 1
  Media Type = LTO
  LabelMedia = no;
  Archive Device = /dev/nst1
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Offline On Unmount = no;
  AutoChanger = yes
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg0
}

Device {
  Name = LTO-2
  Drive Index = 0
  Media Type = LTO
  LabelMedia = no;
  Archive Device = /dev/nst0
  AutomaticMount = Yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Offline On Unmount = no;
  AutoChanger = yes
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg0
}




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to