[pkg-bacula-devel] Bug#486131: Problem still in 5.0.2-2.2+b1

Pierre Bernhardt pierre at starcumulus.owl.de
Sun Dec 25 10:17:29 UTC 2011


Hello,

I've registred some crashed, too:

root at backup:~# dpkg -l bacula-sd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version                                Description
+++-======================================-======================================-============================================================================================
ii  bacula-sd                              5.0.2-2.2+b1                           network backup, recovery and verification - storage daemon

The problem looks like comes in fact of connection tries to file deamons, which
are not available (switched off) or short time later. But this behavior is not
affected every time, only on some time.

So I have setup debug level with -d200 and logged the output with screen by log
function to a file, which I have attached here in this mail.

Could you please check the log and give instructios for more investigations?

For your information, I have had installed two libraries:

Dell 20 slot with 2 SDLT-1 (220GB) drives and
adic Scalar 218 with 18 slot 1 of 2 drives (drive 0=DLT8000, drive 1=DLT7000)
but the second drive is not configured, because DLT8000 formatted tapes will
not work in the DLT7000 drive).

Both libraries are connected to different scsi controllers.

Here some related information from bacula-sd.conf:

Autochanger {
  Name = "adic SCALAR218"
  Device = "QUANTUM DLT8000"
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/tape/by-id/scsi-SADIC_Scalar_DLT_448_ADIC54059A28
}

Autochanger {
  Name = "Dell PowerVault 128D"
  Device = "QUANTUM SDLT-1-1"
  Device = "QUANTUM SDLT-1-2"
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/tape/by-id/scsi-1HP_C7200_US1CF00137
}

Device {
  Name = "QUANTUM SDLT-1-1"
  Drive Index = 0
  Media Type = "SDLT-1"
  Archive Device = /dev/tape/by-path/xen-pci-0-pci-0000:00:01.0-scsi-0:0:1:0-nst
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  Spool Directory = "/tmp"
  Offline On Unmount = No
  Requires Mount = Yes
  Mount Command = "mt -f %a load"
#  Unmount Command = "mt -f %a eject"
  Maximum Spool Size = 2147483648
}

Device {
  Name = "QUANTUM SDLT-1-2"
  Drive Index = 1
  Media Type = "SDLT-1"
  Archive Device = /dev/tape/by-path/xen-pci-0-pci-0000:00:01.0-scsi-0:0:2:0-nst
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  Spool Directory = "/tmp"
  Offline On Unmount = No
  Requires Mount = Yes
  Mount Command = "mt -f %a load"
#  Unmount Command = "mt -f %a eject"
  Maximum Spool Size = 2147483648
}

Device {
  Name = "QUANTUM DLT8000"
  Drive Index = 0
  Media Type = "DLT IV"
  Archive Device = /dev/tape/by-path/xen-pci-0-pci-0000:00:00.0-scsi-0:0:1:0-nst
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  # Enable the Alert command only if you have the mtx package loaded
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  Spool Directory = "/tmp"
#  Offline On Unmount = Yes
  Requires Mount = Yes
  Mount Command = "mt -f %a load"
  Unmount Command = "mt -f %a eject"
  Maximum Spool Size = 2147483648
}




-------------- next part --------------
A non-text attachment was scrubbed...
Name: bacula-sd.log
Type: text/x-log
Size: 20011 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20111225/80c7079c/attachment-0001.bin>


More information about the pkg-bacula-devel mailing list