Hello,

I'm running bacula 1.38.9 from Debian backports repository.
I have a Dell PowerVault 132T (Dell-branded Adic Scalar 24). I have 2  
LTO-1 tape drives in a 24-slot enclosure.

I used btape utility and "autochanger" command to test out my bacula- 
sd.conf, and it seems to work fine.

But when I issue "update slots" in bconsole, Bacula says device  
autochanger has 0 slots.

*update slots
The defined Storage resources are:
      1: File
      2: Autochanger
Select Storage resource (1-2): 2
Connecting to Storage daemon Autochanger at  
backup.oaktown.iparadigms.com:9103 ...
3306 Issuing autochanger "slots" command.
Device "Autochanger" has 0 slots.
No slots in changer to scan.


bacula-sd has the following:
Autochanger {
   Name = Autochanger
   Device = Drive-1
   Device = Drive-2
   Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
   Changer Device = /dev/sg2
}

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

Device {
   Name = Drive-2                      #
   Drive Index = 1
   Media Type = LTO-1
   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'"
}




Is there something I'm missing?

Thanks for your help.


Paul Choi
Systems Administrator
iParadigms, LLC


-------------------------------------------------------------------------
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