Hi Maria,

On Wednesday 13 June 2007 writes Maria McKinley:
> I recently updated to version 1.38.11-8, and I am having a hard time
> getting my autochanger to work. I changed my bacula-sd.conf file so that
> there is now an Autochanger:
>
> Autochanger {
>    Name = Exabyte
>    Device = Drive-1
>    Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
>    Changer Device = /dev/sg0
> }
>
> Device {
>    Name = Drive-1
>    Drive Index = 0
>    Media Type = VXA-2
>    Archive Device = /dev/st0
>    LabelMedia = yes;              # lets Bacula label unlabeled media
>    Random Access = Yes;
>    AutomaticMount = yes;          # when device opened, read it
>    RemovableMedia = yes;
>    AlwaysOpen = yes;
>    Autochanger = yes;
>    Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
> }
>
> This seems to work fine with btape auto command, but if I try to label
> from bconsole, I get the following:
>
> *label barcodes
> Automatically selected Storage: Exabyte
> Connecting to Storage daemon Exabyte at dinah:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "Exabyte" has 0 slots.
> No slots in changer to scan.
>
> Any idea why I'm getting this?

please make shure that your changer device has the correct permissions eg.:

 crw-rw---- root disk /dev/sg0

and for the potentially next problem ...
by your tapedrive device i'm unshure, i think this should /dev/nst0, i don't 
know how its correct on exabyte tapes.

Normally the /dev/st* device makes a automatic rewind after write, 
the /dev/nst* make no auto rewind. Bacula needs imho a non auto rewinding 
device. You dosn't write wich OS you use, here are little differences between 
the OSes.

regards
   Falk


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to