On Sunday 15 October 2006 17:14, Michael Brennen wrote: > On Sat, 14 Oct 2006, Kern Sibbald wrote: > > >> The problem again is that Bacula does the following: > >> > >> * loads slot 2 into drive 1 > >> * unloads slot 1 from drive 0 > >> * tries to load slot 2 into drive 0 > >> > >> The problem is that there is no unload of slot 2 from drive 1 > >> prior to attempting to load slot 2 into drive 0. I do not see > >> how this can be related to mtx-changer, as mtx-changer only does > >> what it is told. In this case mtx-changer was never told to > >> unload slot 2 from drive 1. > >> > >> The mtx-changer log segments are below. These are contiguous > >> lines in the original file; I have interleaved a few comments to > >> try and make it easy to read. > > > > Can you email me as an attachment a regression script that does > > the above? Or are you saying that one of my current scripts > > already does this? If so, which one? > > The standard 2drive-incremental-2tape regression.
OK. > > > I understand what you are saying happens, and it certainly is a > > bug. What I need now is to be able to reproduce it here. > > As I posted in the bugnotes on 687, I wonder if the simulator is not > responding the same way as actual hardware to the lack of an unload. > Because it is not having to move actual hardware, it might not block > the same way. My initial tests were with the simulator, which does simulate a lack of an unload, but my recent updates were all after running the regression script many times with a *real* two drive autochanger and the real mtx-changer script. In all cases, the regression script completed successfully for me -- I am unable to duplicate the problem. > > > By the way, yes, I can read your attachments, but it is a real pain. I have > > to download them first. This takes time (and I have been particularly busy > > lately). It also makes it very hard to keep track of what is going on since > > it makes it hard with several attachments to have them all on the screen at > > the same time displayed in different tabs. > > You have had trouble with attachments posted from OSX and Linux, and > I have not (indeed cannot!) do anything any differently. Can you > read attachments posted by others from either of those systems? If > not, I wonder if it might not be something in Mantis or its > environment itself??? Over the past two days I put in many hours > fighting a bug that in the end was fixed simply by moving from an > apache v.1 to an apache v.2 server, apparently because apache2 > managed the utf-8 character set better. Mantis is not very good at displaying attachments. I don't know why there were more problems with your attachments. The very last mtx-changer.txt that you posted can be read by Mantis. Most if not all of the other files I have to actually download to display. > > -- Michael > > >> 20061013-17:32:23 Parms: /dev/sg14 loaded 1 /dev/nst8 0 > >> 20061013-17:32:23 Doing mtx -f /dev/sg14 0 -- to find what is loaded > >> 20061013-17:32:34 Parms: /dev/sg14 loaded 0 /dev/nst8 0 > >> 20061013-17:32:35 Doing mtx -f /dev/sg14 0 -- to find what is loaded > >> 20061013-17:32:44 Parms: /dev/sg14 loaded 2 /dev/nst9 1 > >> 20061013-17:32:44 Doing mtx -f /dev/sg14 1 -- to find what is loaded > >> 20061013-17:32:44 Parms: /dev/sg14 load 2 /dev/nst9 1 > >> 20061013-17:32:44 Doing mtx -f /dev/sg14 load 2 1 > >> 20061013-17:33:03 Device /dev/nst9 - not ready, retrying 0... > >> 20061013-17:33:04 Device /dev/nst9 - not ready, retrying 1... > >> ... > >> 20061013-17:33:34 Device /dev/nst9 - not ready, retrying 30... > >> 20061013-17:33:35 Device /dev/nst9 - not ready, retrying 31... > >> 20061013-17:33:36 Parms: /dev/sg14 loaded 2 /dev/nst9 1 > >> > >> *** Slot 2 successfully loaded into drive 1. > >> > >> 20061013-17:33:36 Doing mtx -f /dev/sg14 1 -- to find what is loaded > >> 20061013-17:33:47 Parms: /dev/sg14 loaded 0 /dev/nst9 1 > >> 20061013-17:33:47 Doing mtx -f /dev/sg14 1 -- to find what is loaded > >> 20061013-17:33:58 Parms: /dev/sg14 loaded 1 /dev/nst8 0 > >> 20061013-17:33:58 Doing mtx -f /dev/sg14 0 -- to find what is loaded > >> 20061013-17:34:00 Parms: /dev/sg14 loaded 2 /dev/nst9 1 > >> 20061013-17:34:00 Doing mtx -f /dev/sg14 1 -- to find what is loaded > >> 20061013-17:34:05 Parms: /dev/sg14 loaded 2 /dev/nst8 0 > >> 20061013-17:34:05 Doing mtx -f /dev/sg14 0 -- to find what is loaded > >> 20061013-17:34:05 Parms: /dev/sg14 unload 1 /dev/nst8 0 > >> 20061013-17:34:05 Doing mtx -f /dev/sg14 unload 1 0 > >> > >> *** Slot 1 successfully unloaded from drive 0. > >> > >> 20061013-17:34:58 Parms: /dev/sg14 loaded 1 /dev/nst9 1 > >> 20061013-17:34:58 Doing mtx -f /dev/sg14 1 -- to find what is loaded > >> 20061013-17:34:58 Parms: /dev/sg14 load 2 /dev/nst8 0 > >> 20061013-17:34:58 Doing mtx -f /dev/sg14 load 2 0 > >> > >> *** And now there is an attempt to load slot 2 into drive 0, > >> without an intervening unload of slot 2 from drive 1. > >> > >> 20061013-17:34:58 Device /dev/nst8 - not ready, retrying 0... > >> 20061013-17:34:59 Device /dev/nst8 - not ready, retrying 1... > >> 20061013-17:35:00 Device /dev/nst8 - not ready, retrying 2... > >> ... eventually times out ... > >> > >> ------------------------------------------------------------------------- > >> 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 > >> > > > > -- Michael > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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