---- Wiadomość Oryginalna ----
Od: Arno Lehmann
Do: bacula-users@lists.sourceforge.net
Data: 7 marca 2007 21:51
Temat: Re: [Bacula-users] EXABYTE 110 L autochanger problem
> Hi,
>
> On 3/7/2007 8:43 PM, Alex wrote:
> > Hi !
> >
> > I'm trying to run my autochanger (EXABYTE 110L under Mandriva 2007)
with
> > BACULA 2.0.2 but still without any effects.
> > Test by btape seems to be good:
> >
> > /301 Issuing autochanger "loaded" command.
> > Slot 1 loaded. I am going to unload it.
> > 3302 Issuing autochanger "unload 1 0" command.
> > unload status=OK 0
> > 3303 Issuing autochanger "load 1 0" command.
> > 3303 Autochanger "load 1 0" status is OK.
> > 07-mar 21:25 btape: 3301 Issuing autochanger "loaded? drive 0"
command.
> > 07-mar 21:25 btape: 3302 Autochanger "loaded? drive 0", result is
Slot 1.
> > btape: btape.c:368 open device "Driv1" (/dev/nst0): OK
> > btape: btape.c:1235 Rewound "Driv1" (/dev/nst0)
> > btape: btape.c:1242 Wrote EOF to "Driv1" (/dev/nst0)/
> >
> > /The test autochanger worked!!
> >
> > /but I can't still use in bconsole "update slots":
> >
> > *update slots
> >
> >
> > /Automatically selected Catalog: MyCatalog
> > Using Catalog "MyCatalog"
> > Automatically selected Storage: Drive-1
> > Connecting to Storage daemon Drive-1 at localhost:9103 ...
> > 3306 Issuing autochanger "slots" command.
> > Device "Drive-1" has 0 slots.
>
> This looks like the mtx-changer script doesn't report the number of slots.
>
> What happens if you run mtx-changer on the command line (as a user that
> can access the device!) like this:
> './mtx-changer /dev/sg2 slots'
>
> If that doesn't report anything, or a "0", you should have a close look
> at what the script does.
>
> It might be a permissions problem.
>
> ArnoI've checked it from two possible accounts. Everything seems to be
O.K. but the autochanger still can't read the slots :[EMAIL PROTECTED] bacula]$
./mtx-changer /dev/sg2 slots
10
What should be wronge else ??Alex
>
> > No slots in changer to scan./
> >
> > My sd config:
> >
> > /Autochanger {
> > Name = "Drive-1"
> > Device = Driv1
> > Changer Device = /dev/sg2
> > Changer Command = "/etc/bacula/mtx-changer %c %o %S /dev/nst0 0"
> > }/
> >
> > /Device {
> > Name = Driv1 #
> > Drive Index = 0
> > Media Type = "Ultrium 1"
> > Archive Device = /dev/nst0
> > AutoChanger = yes;
> > AutomaticMount = yes; # when device opened, read it
> > AlwaysOpen = yes;
> > RemovableMedia = yes;
> > }
> > /
> >
> > and dir config:
> >
> > /Storage {
> > Name = "Drive-1"
> > Address = myhost
> > SDPort = 9103
> > Password = "xxxxxx"
> > Device = "Drive-1"
> > Media Type = "Ultrium 1"
> > Autochanger = yes
> > }/
> >
> > Could anyone help me ?
> >
> > Alex
> >
> >
> >
------------------------------------------------------------------------
> >
> >
-------------------------------------------------------------------------
> > 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
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> --
> IT-Service Lehmann [EMAIL PROTECTED]
> Arno Lehmann http://www.its-lehmann.de
>
> -------------------------------------------------------------------------
> 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
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users