On Wednesday 13 September 2006 17:20, Alan Brown wrote: > On Wed, 13 Sep 2006, Kern Sibbald wrote: > > >> Enter autochanger drive[0]: 1 > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >> Connecting to Storage daemon MSL6000-changer at msslay.mssl.ucl.ac.uk:9103 > > >> 3301 Issuing autochanger "loaded drive 0" command. > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^This is not drive 1 > >> 3302 Autochanger "loaded drive 0", result is Slot 47. > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^This is not drive 1 > >> 3307 Issuing autochanger "unload slot 47, drive 0" command. > >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^This is not drive 1 > > > > I wasn't aware of this problem with the drive number, and I don't remember > > anyone mentioning it before. Thanks for pointing it out. The big question is > > whether or not this problem exists in 1.39.22 or not, because it is unlikely > > that I will be making any further patches for 1.38.11. > > I did mention this last week in the same message about update slots tying > tapes to specific drives.
Yes, correct. However, your email wasn't as explicit so I didn't take proper notice. The above is not really a bug, but let's say a design flaw in that two things are going on here: 1. In 1.38.x only drive 0 was unloaded during an "update slots" command and any drive specified was ignored. During an "update slots" Bacula probably never should have unloaded any drives, but that's what it does. 2. If you were doing an "update slots scan" then drive 0 probably will be unloaded (I haven't looked at the code), but Bacula *should* use the drive specified if any for reading the Volume labels (I haven't looked at the code). In version 1.39.22 and above, Bacula should not unload any drive during an "update slots" command, and hopefully (I haven't tested it) it will only access the drive you specify (if any) if you do "update slots scan". So the output you list above is perfectly normal given the design of 1.38. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users