On 19 Jul 2006 at 10:26, Dba7dba wrote:
> 1st post here.
>
> OS: Fedora Core 5 32bit
>
> bacula version:
> bacula-mtx-1.38.9-1
> bacula-mysql-1.38.9-1
> bacula-gconsole-1.38.9-1
>
> Problem:
> 'label barcodes' fails with this message.
> -----------
> Connecting to Storage daemon VXA-2 at 192.168.50.32:9103 ...
> Connecting to Storage daemon VXA-2 at 192.168.50.32:9103 ...
> 3306 Issuing autochanger "slots" command.
> Device "EXABYTE VXA 1x10 1U" has 0 slots.
> No slots in changer to scan.
> ------------
>
> Environment:
> My "EXABYTE VXA-2 PacketLoader" has 10 slots. Interestingly, I've used
> btape to test the Tape library successfully and even wrote data to 1st
> tape. Ran following command and it returns 10 which means mtx-changer
> knows the Exabyte has 10 slots.
> ---------
> /etc/bacula/mtx-changer /dev/sg4 slots 0 /dev/st0 0
> ----------
>
>
> Config:
> /etc/bacula/bacula-sd.conf
> -----------------
> # An autochanger device
>
> Device {
> Maximum Changer Wait = 120
> Name = "EXABYTE VXA-2 PacketLoader"
> Archive Device = /dev/st0
> Media Type = "VXA Packet Tape"
> Autochanger = Yes
> # Changer Device = /dev/sg0
> # Changer Command = "/usr/etc/bacula/mtx-changer %c %o %S %a %d" Always
> Open = Yes
> # Media Type = VXA-2
> Removable Media = Yes
> Random Access = No
> Minimum Block Size = 1024
> Maximum Block Size = 1024
> Hardware End of Medium = No
> Fast Forward Space File = No
> Backward Space Record = No
> Backward Space File = Yes
> Forward Space Record = Yes
> Forward Space File = Yes
> Offline On Unmount = Yes
> Label Media = Yes
> automaticMount = Yes
> Spool Directory = /opt/VXA-spool
> }
>
> Autochanger {
> Name = "EXABYTE VXA 1x10 1U"
> Device = "EXABYTE VXA-2 PacketLoader"
> Changer Device = /dev/sg4
> Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d"
> }
> ------------------
>
> Why can't I use 'label barcodes'? Why does Bacula think Exabyte has 0
> slots when it has 10 slots. Please let me know of any insights.
>
> Thank you very much.
Ensure that Bacula has the correct permissions to run /etc/bacula/mtx-
changer. The problem is most likely related to that.
--
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users