Hi,
10.07.2007 00:44,, Richard White wrote::
...
> Well, dang it! I changed the bacula-sd.conf thus:
>
> Device {
> Name = VXA3
> Drive Index = 0 <----------- Here
> Autochanger = yes
> # Changer Device = /dev/sg1 <----------- Here
> # Changer Command = "/bacula/bin/mtx-changer %c %o %S %qa %d"
> <----------- Here
> Media Type = VXA-3
> Archive Device = /dev/nst0 <----------- And here
> AutomaticMount = yes; # when device opened, read it
> AlwaysOpen = yes;
> RemovableMedia = yes;
> RandomAccess = no;
> }
This is one drive.
> *******************************
>
> and bacula-dir.conf like this:
>
> Storage {
> Name = VXA
> # Autochanger = yes <----------- Here
> Address = bacula-test # N.B. Use a fully qualified name here
> SDPort = 9103
> Password = "REMOVED"
> Device = "VXA3" # must be same as Device in Storage daemon
> Media Type = VXA-3 # must be same as MediaType in Storage daemon
> }
This references the above drive (note: not autochanger).
> # And this section was added:
>
> Storage {
> Name = Auto
> Address = bacula-test
> SDPort = 9103
> Password = "REMOVED"
> Device = "VXA3"
> Media Type = "VXA-3"
> Maximum Concurrent Jobs = 5
> }
This also references the drive, not the autochanger.
> ********************
>
> Please also note that, in the new and improved versions, the device name is
> enclosed in double quotes, just like in the book and your examples, but not,
> alas, like my originals.
>
> Now when I attempt the label barcode, I am presented with a choice of
> devices, VXA and Auto. I choose 'Auto', but get exactly the same result from
> Bacula. No matter what I do, it can't open the device "VXA3" (/dev/nst0).
>
> So close, yet so far away.
Simply point the DIR configuration to the name of the autochanger you
configured.
Arno
--
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users