I'm having a little trouble with a Scalar Adic 24 tape library.
It seems that most backups hiccup on a tape change where the
loaded command times out.  Executing 'mount' in the console
resolves the issue the vast majority of the time, and the rest
of the backup & tape changes work without incident. However,
since nobody wants to have to get up at night to do this, it is
not optimal.  Are there any suggestions on how to avoid these
timeouts, or at least have an automated retry?

The log and device config is below. 
Linux ... 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 athlon i386 
GNU/Linux
Bacula v1.36.3

QLogic Fibre Channel HBA Driver: 8.01.00b5-rh2

<several tape changes that work, then this:>
somehost-dir: Recycled volume "000024"
somehost-sd: 3301 Issuing autochanger "loaded drive 0" command.
somehost-sd: 3991 Bad autochanger "loaded drive 0" command: ERR=Child exited 
with code 1.
somehost-sd: 3304 Issuing autochanger "load slot 2, drive 0" command.
somehost-sd: 3992 Bad autochanger "load slot 2, drive 0": ERR=Child exited with 
code 1.
somehost-sd: Please mount Volume "000024" on Storage Device "Drive0" for Job 
DR_somehost.com.2006-02-17_11.12.26
<significant delay until a human executes "mount" >
somehost-sd: DR_somehost.com.2006-02-17_11.12.26 Warning: Director wanted 
Volume "000024".
    Current Volume "000009" not acceptable because:
    1998 Volume "000009" status is Used, but should be Append, Purged or 
Recycle.
somehost-sd: 3301 Issuing autochanger "loaded drive 0" command.
somehost-sd: 3302 Autochanger "loaded drive 0", result is Slot 7.
somehost-sd: 3303 Issuing autochanger "unload slot 7, drive 0" command.
somehost-sd: 3304 Issuing autochanger "load slot 2, drive 0" command.
somehost-sd: 3305 Autochanger "load slot 2, drive 0", status is OK.

Device {
  Name = Drive1
  Media Type = ULTRIUM-TD3
  Archive Device = /dev/nst1
  Drive Index = 0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg4
  AutoChanger = yes
  Spool Directory = /data/backups
  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
}

Thank you,
-Jason Martin
-- 
Daddy, why doesn't this magnet pick up this floppy disk?
This message is PGP/MIME signed.

Attachment: pgplSIeOpBvwa.pgp
Description: PGP signature

Reply via email to