Kern, I finally have a logged logic failure.  I worked with the 
mtx-changer script on logging, and I have a log that shows Bacula 
trying to load a tape into a tape drive when that tape had already 
been loaded into another drive, without an intervening unload.

The relevant snippets from the mtx-changer log are below.  I 
modified the mtx-changer script slightly to add the seconds count in 
the retrying message so I could tell where the timeout occurred.

The following lines are from a single contiguous log.  I have 
interrupted it with my own lines at *** to note the error, and I 
eliminated some of the many 'not ready' messages with ellipses to 
improve readability.  No lines have been deleted except the 'not 
ready'.

I will be glad to make available both the Bacula log and the 
mtx-changer log.  Since I cannot seem to update into Mantis in a way 
that you can read, I can mail them directly or put them on an ftp 
site, as you wish, if you wish.

    -- Michael


20061010-20:34:15 Doing mtx -f /dev/sg2 0 -- to find what is loaded
20061010-20:34:15 Parms: /dev/sg2 loaded 2 /dev/nst1 1
20061010-20:34:15 Doing mtx -f /dev/sg2 1 -- to find what is loaded
20061010-20:34:16 Parms: /dev/sg2 load 2 /dev/nst1 1
20061010-20:34:16 Doing mtx -f /dev/sg2 load 2 1

*** Above is the load of slot 2 into drive 1

20061010-20:34:59 Device /dev/nst1 - not ready, retrying 0...
20061010-20:35:00 Device /dev/nst1 - not ready, retrying 1...
20061010-20:35:01 Device /dev/nst1 - not ready, retrying 2...
20061010-20:35:02 Device /dev/nst1 - not ready, retrying 3...
   ....
20061010-20:36:05 Device /dev/nst1 - not ready, retrying 65...
20061010-20:36:06 Device /dev/nst1 - not ready, retrying 66...

*** At this point, slot 2 has been loaded into drive 1.

20061010-20:36:07 Parms: /dev/sg2 loaded 2 /dev/nst1 1
20061010-20:36:07 Doing mtx -f /dev/sg2 1 -- to find what is loaded
20061010-20:36:25 Parms: /dev/sg2 loaded 2 /dev/nst0 0
20061010-20:36:25 Doing mtx -f /dev/sg2 0 -- to find what is loaded
20061010-20:36:26 Parms: /dev/sg2 unload 1 /dev/nst0 0
20061010-20:36:26 Doing mtx -f /dev/sg2 unload 1 0
20061010-20:36:59 Parms: /dev/sg2 load 2 /dev/nst0 0
20061010-20:36:59 Doing mtx -f /dev/sg2 load 2 0

*** Above is the attempt is made to load slot 2 into drive 0, 
without an intervening unload of slot 2.

20061010-20:37:00 Device /dev/nst0 - not ready, retrying 0...
20061010-20:37:01 Device /dev/nst0 - not ready, retrying 1...
20061010-20:37:02 Device /dev/nst0 - not ready, retrying 2...
20061010-20:37:03 Device /dev/nst0 - not ready, retrying 3...
20061010-20:37:04 Device /dev/nst0 - not ready, retrying 4...
...
timeout

-------------------------------------------------------------------------
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

Reply via email to