On Wed, 2005-09-28 at 19:16 +0200, Kern Sibbald wrote:

> >
> > The output below shows how I update drive 1 and it unloads drive 0. Why
> > did I even specify drive if it always uses 0 anyway ?
> 
> Because you may have more than one drive, and the Director does not know. See 
> previous list discussion on this subject.
Yes, I have more then one drive but my point is that I specifying the
other drive. When you ask for a drive I somehow assume you need to know
that for some purpose. Here I don't see what's the purpose is since when
I specify the other drive you still go for the first drive.

> 
> >
> > > > Now it properly handles multiple drives but now I
> > > > no longer has a way to tell bacula-sd to unload the drive so I can
> > > > change the magazine.
> > > >
> > > > [EMAIL PROTECTED]:/opt/bacula # echo update slots storage=TL892
> > > > drive=1|./bconsole Connecting to Director riker:9101
> > > > 1000 OK: riker-dir Version: 1.37.38 (04 September 2005)
> > > > Enter a period to cancel a command.
> > > > update slots storage=TL892 drive=1
> > > > Using default Catalog name=MyCatalog DB=bacula
> > > > Connecting to Storage daemon TL892 at riker.intra.techwiz.ca:9103 ...
> > > > 3306 Issuing autochanger "slots" command.
> > > > Device "TL892" has 10 slots.
> > > > Connecting to Storage daemon TL892 at riker.intra.techwiz.ca:9103 ...
> > > > 3301 Issuing autochanger "loaded drive 0" command.
> > > > 3302 Autochanger "loaded drive 0", result is Slot 6.
> > > > 3307 Issuing autochanger "unload slot 6, drive 0" command.
> > > > 3306 Issuing autochanger "list" command.
> > > > Catalog record for Volume "FUL013" is up to date.
> > > > ...
> > > >
> > > > Why do I have to specify the drive when it ignores it and goes for the
> > > > first drive anyway ?
> > > >
> > > > It was talk about some auto changer move commands to be added but when
> > > > I looked in http://www.bacula.org/dev-manual/Bacula_Console.html I
> > > > dind't find any.
> > > >
> > > > Tonight I just restarted bacula to get it to rescan properly but I
> > > > don't think everyone can do that.
> 



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to