-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

IEM - network operating center wrote:
> hello
>
> i am new to this list, and hope it is the correct place to ask such
> questions.

It certainly is.

> i am currently evaluating bacula as a backup-solution with our new
> Quantum SuperStore3 (DLT-S4).
>
> i am running debian/etch (kernel-2.6.18) with the latest debian-packages
> of bacula found at the sourceforge.net site.
>
>
> my system has passed the basic btape test, but now i have a small
> problem with the btape "fill" test and my device:
>
> - i make sure that there is a tape in the drive
> - i run "btest fill" and select "single" mode.
> - i wait for 6hours till the 800GB of the tape are filled
> - btape now ejects the tape
> - and does not reload it any more:
> log excerpt:
> 15-Feb 17:20 btape: 3301 Issuing autochanger "loaded? drive 0" command.
> 15-Feb 17:20 btape: 3302 Autochanger "loaded? drive 0", result is Slot 9.
> 15-Feb 17:20 btape: 3307 Issuing autochanger "unload slot 9, drive 0"
> command.
>
> - i manually load the the tape from slot#9 into the drive
> - and press return
> - btape ejects the tape again and complains again, that it cannot find a
> tape
>
> this is the device-spec from my bacula-sd.conf
>
> <snip>
[...]
> </snip>
>
> i started btape with "btape -c bacula-sd.conf /dev/nst0"
>
> i read in the documentation that it is recommended to use the new
> "Autochanger" directive in the bacula-sd.conf.
>
> i haven't tried this yet, because i hope that i will get the answer
> faster on this list than waiting another 6h before possible failure.

You should really try the Autochanger directive and use Bacula 2.0.2
(Unfortunately you didn't specify what Bacula version you're using).
It's what I use with a Quantum Superloader 3 LTO-2HH changer, also on
Debian etch. Here's the snipped from my SD config:

- -----------------
Autochanger {
   Name = Quantum Superloader 3
   Device = LTO-2
   Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
   Changer Device = /dev/sg1
}

Device {
   Name = LTO-2
   Drive Index = 0
   Media Type = LTO-2
   Archive Device = /dev/nst0
   AutomaticMount = yes;               # when device opened, read it
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   AutoChanger = yes
   Maximum Changer Wait = 240
   # Enable the Alert command only if you have the mtx package loaded
   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
   Spool Directory = /space/tapedump
   Maximum Spool Size = 35000m
}
- -----------------

Works like a charm.

Greetings,
         Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32) - GPGrelay v0.959

iD8DBQFF1I9n2Vs+MkscAyURAqtPAKCRKcydqbBZL+pWVIqOZkJsZWTNBACgvAMU
BQOTGBnNLitWdPIqh5zwvlQ=
=N8E8
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to