Stefan,
Speaking as a newbie that was a bit overwhelmed when I first started
with Bacula and a bit confused about the configuration file. I am not
sure which files you started with but the ones I downloaded (I started
just a few months back) had good examples in the default conf files.
There is one there for an autochanger with two drives. If you look at
that and just change things to match your setup it should work out of
the box. I commented out the second drive designation. I am not going to
try and explain this in detail since I am still new at this but here is
my setup:

#
# An autochanger device with two drives
#
Autochanger {
  Name = Autochanger
  Device = Drive-0
#  Device = Drive-2
  Changer Command = "/root/bacula/bin/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg2
}

Device {
  Name = Drive-0                      #
  Drive Index = 0
  Media Type = LTO-2
  Archive Device = /dev/nst1
  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'"
}

This is in bacual-sd.conf. The /dev stuff would go in Changer Device
and in the Archive Device. The Device= I believe is actually a label
bacula uses to find the correct device. I hope that helps.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

"Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!"

>>> eklektik <[EMAIL PROTECTED]> 04/28/06 7:51 AM >>>

Hi evrybody

I just install an autoloader (HP SureStore DAT24x6) on my PC but i
don't
know how to configue "bacula-sd.conf".
I had seen the tutorial but nothing run.
My current bacula-sd.conf :
Device {
 Name = HPloader
 Media Type = DDS-4
 Changer Device = /dev/st0
 Archive Device = /dev/nst0
 Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
 AutomaticMount = yes;               # when device opened, read it
 AlwaysOpen = yes;
 Label media = yes;
 RemovableMedia = yes;
 RandomAccess = no;
 AutoChanger = yes
}

I had find this configuraion in an example file in the bacula install,
but
when i want to label my tapes, i can't do.
I just have the possibility to label my autoloader (slot 0). Bacula
don't
ask me which slot i want labelling.
I think i have a wrong bacula-sd.conf ...

Is somebody run bacula with an HP-autoloader ??
Can somebody help me ?

Thanks !!!
--
View this message in context:
http://www.nabble.com/Problem-with-an-autoloader-t1524028.html#a4138834

Sent from the Bacula - Users forum at Nabble.com.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users 





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to