Hello Scott, I'm pleased to hear you got it working, and thanks for the new autochanger entry. I'll put it in the manual (and thus on the web site) in the near future -- at least before 1.38 is released.
On Saturday 20 August 2005 16:16, Scott Loga wrote: > Kern, > > Even though I overlooked the answer at the end of the autochangers > chapter, I did eventually find the information I needed on the mtx > sourceforge project page and man page. > > Additionally, I can confirm Bacula is compatible with my autochanger. > Please post this information on the Supported Autochanger Models Page. > > OS - FreeBSD 5.4 > Man. - IBM > Media - DLT IV > Model - IBM 3502-R14 > Slots - 14 > Cap/Slot 35/70 > > Note: IBM 3502-R14 is a re-branded ATL L-500 AutoChanger with a Quantum > DLT7000 Drive > > Thanks again, > > Scott... > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kern > Sibbald > Sent: Saturday, August 20, 2005 1:03 AM > To: bacula-users@lists.sourceforge.net > Cc: Scott Loga > Subject: Re: [Bacula-users] mtx-changer, slot 0, and label command > > On Saturday 20 August 2005 01:58, Scott Loga wrote: > > The default mtx-changer script is mtx-changer %c %o %S %a %d. The %S > > command is for Slot Base 1 and %s is for Slot Base 0. Do the %s and > > %S commands indicate the Slot Base Default of the AutoLoader or does > > it indicate the value you want the slots to begin with? > > > > The reason I ask is that Bacula queries the user for the slot number > > when labeling tapes. As you can see below, Bacula uses (0 for none). > > > > > > *label > > Using default Catalog name=MyCatalog DB=bacula The defined Storage > > resources are: > > 1: File > > 2: QuantumDLT7000 > > Select Storage resource (1-2): 2 > > Enter new Volume name: Daily01 > > Enter slot (0 for none): > > > > > > > > So, can one use Slot 0 or should we begin our Slot Numbers with 1? > > > > I would appreciate any insight or comments regarding the above. > > This is defined, reasonably clearly, at the end of the autochangers > chapter of the development manual. > > When sending info to Bacula (loaded or list) from the mtx-changer > script, the slots must be base 1. In that context as you mention, a slot > number returned to Bacula of 0 indicates none, or in a list is invalid. > > If you want to receive slot information for your autoloader script base > 1 use %S as is the default (what mtx uses). If you want to receive slot > information base 0 then use %s. If your changer uses base 0, you must > translate the results before sending them to Bacula. > > Note, the default drive specification is base 0 (what mtx wants). I was > stupid enough to use that convention internally in Bacula, which IMO is > confusing for the users, but it is now too late to change. > > > Respectfully, > > > > Scott Loga > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > > & QA > > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > > _______________________________________________ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users