Hadi, Yes - sorry, I picked the one jukebox config at my site that didn't give driveslot, I had three others I could have sent.
[nnewton] /usr/local/etc/amanda/newtonr 6> cat chg-zd-mtx.conf firstslot=1 lastslot=9 #cleanslot=3 AUTOCLEAN=0 autocleancount=99 havereader=1 offlinestatus=0 OFFLINE_BEFORE_UNLOAD=0 driveslot=0 On Thu, Aug 12, 2004 at 06:52:01PM -0700, nyohadi wrote: > Dear Brian & Amanda user , > can you give me example your amanda.conf and changer file and > how to to give driveslot on glue config. > > > thanks and regards > > hadi > > Brian Cuttler wrote: > > >Hadi, > > > >I believe there is a debug switch in the glue-script, you may > >want to set than and read though the log which should be in > >/tmp/amanda > > > >You may also want to set "driveslot" in your glue config file. > >I believe the script reads the slot number based on the robot > >address and it isn't always the case that the tape drive addressing > >matches that way. > > > >ie: I have two robots, separate systems, each with a single tape > >drive, one amanda conf "assumed" that if the robot was at location 1 > >then the tape drive was a 1 also, in my case both drives where > >at location 0. > > > >Make sure you've set all necessary parameters that are listed in > >the glue script. Make sure you have the current glue script, I have > >to look back at your email, but the script greatly changed at one > >point and the new one was more robust than the old. > > > >On Wed, Aug 11, 2004 at 09:07:03AM -0700, nyohadi wrote: > > > > > >>Dear Brian & amanda user, > >> > >> > >>1) I had issues with the glue script when I first installed it, > >> I changed the script itself run run under k-shell. > >> > >> am install default configuration from amanda, any some > >>problem with my shell ? or glue script. > >> > >> > >>2) What version of mtx software did you install ? > >> [EMAIL PROTECTED] # ./mtx --version > >> mtx version 1.3.8 > >> > >> You say the mtx software works properly by itself ? > >> > >>. yes , i do load ,unload and eject normal like move drive on > >>untility veritas netbackup > >> > >>My binary is /usr/local/sbin/mtx, I believe that is the > >> default installation location. > >> > >> YES , THE SAME LOCATION > >> > >> > >> > >> > >> > >>What are the results of running mtx with its various options ? > >> > >> Results of inventory, inquiry and other basic commands ? > >> > >> > >>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 inventory > >> (LOADER SCANING SLOT BY SLOT ) > >> > >>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 inquiry > >>Product Type: Medium Changer > >>Vendor ID: 'ADIC ' > >>Product ID: 'FastStor 2 ' > >>Revision: 'G12r' > >>Attached Changer API: No > >>[EMAIL PROTECTED] # > >> > >> > >>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 status > >> Storage Changer /dev/scsi/changer/c3t0d0:1 Drives, 8 Slots ( 0 Import/Export ) > >>Data Transfer Element 0:Empty > >> Storage Element 1:Full > >> Storage Element 2:Empty > >> Storage Element 3:Empty > >> Storage Element 4:Empty > >> Storage Element 5:Full > >> Storage Element 6:Empty > >> Storage Element 7:Empty > >> Storage Element 8:Full > >> > >>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 load 1 > >>Loading media from Storage Element 1 into drive 0...done > >> > >>[EMAIL PROTECTED] # ./mtx -f /dev/scsi/changer/c3t0d0 unload > >>Unloading drive 0 into Storage Element 1...done > >> > >>regards > >> > >>hadi > >> > >> > >> > >> > >> > >> > >> > >> > >> > >>Brian Cuttler wrote: > >> > >> > >> > >>>Hadi, > >>> > >>>Thank you for choosing me to write too, it would probably help > >>>though in include the amanda-users list as many have greater > >>>expertise than I. > >>> > >>>1) I had issues with the glue script when I first installed it, > >>> I changed the script itself run run under k-shell. > >>> > >>>2) What version of mtx software did you install ? > >>> You say the mtx software works properly by itself ? > >>> > >>> My binary is /usr/local/sbin/mtx, I believe that is the > >>> default installation location. > >>> > >>> What are the results of running mtx with its various options ? > >>> > >>> Results of inventory, inquiry and other basic commands ? > >>> > >>> > >>> > >>>On Wed, Aug 11, 2004 at 08:16:25AM -0700, nyohadi wrote: > >>> > >>> > >>> > >>> > >>>>Dear Brian , > >>>> thanks for reply my email , i change as your recomend , now when > >>>>i am issue command get error > >>>> bash-2.05$ /usr/local/sbin/amlabel -f daily DailySet1-001 slot 1 > >>>> amlabel: could not load slot "1": no slots > >>>>available > >>>> > >>>> shall i am issue another command ? > >>>> > >>>>regards > >>>> > >>>>hadi > >>>> > >>>>Brian Cuttler wrote: > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>>[Original note from user follows .sig] > >>>>> > >>>>>Hadi, > >>>>> > >>>>>Glad to help. > >>>>> > >>>>>I note two things right off, in my config > >>>>> > >>>>>changerfile "/usr/local/etc/amanda/ninfo/chg-zd-mtx" > >>>>>where you have > >>>>>changerfile "/usr/local/etc/amanda/daily/changer.conf" > >>>>> > >>>>>I believe I tried it your way originally, resulting in > >>>>>amanda being unable to find /usr/local/etc/amanda/ninfo/chg-zd-mtx.conf.conf > >>>>>since it seems to add the extension by itself. > >>>>> > >>>>>Second thing I note is that I have a number of parameters in > >>>>>my config file that you seem to be missing. > >>>>> > >>>>>My file (for a 9 slot L9 changer, really HP under the hood) contains > >>>>> > >>>>>[nnewton] /usr/local/etc/amanda/ninfo 6> more chg-zd-mtx.conf > >>>>>firstslot=1 > >>>>>lastslot=9 > >>>>>#cleanslot=3 > >>>>>AUTOCLEAN=0 > >>>>>autocleancount=99 > >>>>>havereader=1 > >>>>>offlinestatus=0 > >>>>>OFFLINE_BEFORE_UNLOAD=0 > >>>>>max_drive_wait=300 > >>>>> > >>>>>Please see if adding first/last slot information to your file helps. > >>>>> > >>>>> > >>>>>--- > >>>>> Brian R Cuttler [EMAIL PROTECTED] > >>>>> Computer Systems Support (v) 518 486-1697 > >>>>> Wadsworth Center (f) 518 473-6384 > >>>>> NYS Department of Health Help Desk 518 473-0773 > >>>>> > >>>>> > >>>>> > >>>>>On Wed, Aug 11, 2004 at 06:27:12AM -0700, nyohadi wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Hi Brian , > >>>>>> my name is hadi , i am from brunei , i am newbie in amanda > >>>>>>, i am install in solaris 9 with l8 autoloader , i test command with > >>>>>>mtx working properly , but when i am label ,i got messages : > >>>>>> > >>>>>>bash-2.05$ /usr/local/sbin/amtape daily slot 1 > >>>>>>amtape: could not load slot <none>: cannot determine first slot > >>>>>> > >>>>>> tape config on amanda.conf > >>>>>> > >>>>>>tpchanger "chg-zd-mtx" # the tape-changer glue script > >>>>>> > >>>>>>#tapedev "/dev/rmt/0cn" # the no-rewind tape device to be used > >>>>>>tapedev "/dev/rmt/0cn" # the no-rewind tape device to be used > >>>>>> > >>>>>>changerfile "/usr/local/etc/amanda/daily/changer.conf" > >>>>>> > >>>>>>changerdev "/dev/scsi/changer/c3t0d0" > >>>>>> > >>>>>>runtapes 1 # number of tapes to be used in a single run of amdump > >>>>>> > >>>>>> changer.conf > >>>>>>============= > >>>>>>multieject 0 > >>>>>>gravity 0 > >>>>>>needeject 0 > >>>>>>ejectdelay 0 > >>>>>> > >>>>>> > >>>>>>many thanks and regards > >>>>>> > >>>>>>Hadi > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>. > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>--- > >>>>> Brian R Cuttler [EMAIL PROTECTED] > >>>>> Computer Systems Support (v) 518 486-1697 > >>>>> Wadsworth Center (f) 518 473-6384 > >>>>> NYS Department of Health Help Desk 518 473-0773 > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>--- > >>> Brian R Cuttler [EMAIL PROTECTED] > >>> Computer Systems Support (v) 518 486-1697 > >>> Wadsworth Center (f) 518 473-6384 > >>> NYS Department of Health Help Desk 518 473-0773 > >>> > >>> > >>> > >>> > >>> > >--- > > Brian R Cuttler [EMAIL PROTECTED] > > Computer Systems Support (v) 518 486-1697 > > Wadsworth Center (f) 518 473-6384 > > NYS Department of Health Help Desk 518 473-0773 > > > > > > --- Brian R Cuttler [EMAIL PROTECTED] Computer Systems Support (v) 518 486-1697 Wadsworth Center (f) 518 473-6384 NYS Department of Health Help Desk 518 473-0773