Thank you Dan for your reply. Now I have this: bacula-dir.conf: Storage { Name = Autoloader Address = backup.intra.melle.de SDPort = 9103 Password = "secret" Device = VS160 Media Type = DLT8000 Maximum Concurrent Jobs = 20 }
bacula-sd.conf: Autochanger { Name = "Autoloader" Device = VS160 Changer Device = /dev/sg1 Changer Command = "/var/lib/bacula/mtx-changer %c %o %S %a %d" } Device { Name = VS160 Media Type = DLT8000 Archive Device = /dev/st0 # Normal archive device AutoChanger = yes Drive Index = 0 AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = yes; Maximum Spool Size = 30000M Maximum Job Spool Size = 6000M Spool Directory = /var/spool/bacula Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } but still the same result :-( 07-Mär 09:37 bacula-dir: Start Backup JobId 3335, Job=TS160.2006-03-07_09.37.05 * You have messages. *m 07-Mär 09:39 TS160: DIR and FD clocks differ by 171 seconds, FD automatically adjusting. 07-Mär 09:37 bacula-sd: 3301 Issuing autochanger "loaded drive 0" command. 07-Mär 09:37 bacula-sd: 3302 Autochanger "loaded drive 0", result: nothing loaded. 07-Mär 09:37 bacula-sd: 3301 Issuing autochanger "loaded drive 0" command. 07-Mär 09:37 bacula-sd: 3302 Autochanger "loaded drive 0", result: nothing loaded. 07-Mär 09:37 bacula-sd: Please mount Volume "Mo_1-s8" on Storage Device "VS160" (/dev/st0) for Job TS160.2006-03-07_09.37.05 As you can see, the sd is doing some Autochamger commands 'Issuing Autochanger "loaded drive 0" command". The Autochanger worked perfectly with version 1.36.2. What I am now missing is something like 'Issuing autochanger "load slot 8 in drive 0" command' Am Montag März 6 2006 15:52 schrieben Sie: > Reposted with amendments. > > On 6 Mar 2006 at 15:29, Thomas Sturm wrote: > > Hello, > > I am using bacula 1.38.5 on Gentoo Linux. > > My Problem ist, that the Autochanger don't "want" to load the needed > > tape. Here is the output of bconsole: > > > > 06-Mär 14:51 bacula-dir: Start Backup JobId 3329, > > Job=TS160.2006-03-06_14.51.55 06-Mär 14:51 bacula-sd: 3301 Issuing > > autochanger "loaded drive 0" command. 06-Mär 14:51 bacula-sd: 3302 > > Autochanger "loaded drive 0", result: nothing loaded. 06-Mär 14:51 > > bacula-sd: 3301 Issuing autochanger "loaded drive 0" command. 06-Mär > > 14:51 bacula-sd: 3302 Autochanger "loaded drive 0", result: nothing > > loaded. 06-Mär 14:51 bacula-sd: Please mount Volume "Mo_1-s8" on Storage > > Device "Autoloade r" (/dev/st0) for Job TS160.2006-03-06_14.51.55 > > > > Why is 'Issuing autochanger "load drive 8 command"' missing? > > > > Running Jobs: > > JobId Level Name Status > > ====================================================================== > > 3329 Full TS160.2006-03-06_14.51.55 is waiting for a mount request > > > > > > When I now load the tape manually (with mtx-autochanger), the job > > finisched without error. > > > > Here are the parts of bacula-dir.conf and bacula-sd.conf: > > bacula-dir.conf: > > ... snip ... > > Storage { > > Name = Autoloader > > Autochanger = yes > > I don't think the above directive is required here. > > > Address = backup.intra.melle.de > > SDPort = 9103 > > Password = "secret" > > Device = Autoloader > > Media Type = DLT8000 > > Maximum Concurrent Jobs = 20 > > } > > Here is what I have in bacula-dir.conf > > Storage { > Name = TapeRobot1 > Address = ngaio.example.org > SDPort = 9103 > Password = "things" > Device = DLT > Media Type = DLT > } > > > ... snip ... > > > > bacula-sd.conf: > > ... snip ... > > Device { > > Name = Autoloader > > Media Type = DLT8000 > > Archive Device = /dev/st0 > > Changer Device = /dev/sg1 > > Changer Command = "/var/lib/bacula/mtx-changer %c %o %S %a %d" > > AutoChanger = yes > > AutomaticMount = yes; > > Autoselect = yes > > RemovableMedia = yes; > > AlwaysOpen = yes; > > RandomAccess = no; > > Maximum Spool Size = 30000M > > Maximum Job Spool Size = 6000M > > Spool Directory = /var/spool/bacula > > Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" > > } > > You appear to have many directives which are not > You also need an autochanger resource. See below. > > I think what you need is something like this: > This works for me (in bacula-sd.conf): > > Device { > Name = DLT > Description = QUANTUM DLT7000 1624 > Media Type = DLT > Archive Device = /dev/nsa1 > > Autochanger = YES > Drive Index = 0 > > Offline On Unmount = no > Hardware End of Medium = no > BSF at EOM = yes > Backward Space Record = yes > Fast Forward Space File = yes > TWO EOF = yes > } > > > Autochanger { > Name = TapeRobot > Device = DLT > Changer Device = /dev/ch0 > Changer Command = "/home/dan/rc-chio-changer %c %o %S %a %d" > } > > i.e. you don't have an autochanger resource. Instead, you have a > device named "Autochanger". > > > What is wrong with this configuration? > > Also, make sure your autochange passes the tests: > > http://www.bacula.org/dev-manual/Autochanger_Support.html ------------------------------------------------------- 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&kid0944&bid$1720&dat1642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users