]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak more debug in SD mount command
authorKern Sibbald <kern@sibbald.com>
Sat, 28 Jan 2012 09:13:58 +0000 (10:13 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:30 +0000 (14:50 +0200)
bacula/src/stored/dircmd.c

index e1d9dcec95081aee59610dd9d9bd144b123e5452..4442df9c3bf50ea7df06ee021126144edf660a6a 100644 (file)
@@ -687,6 +687,7 @@ static bool mount_cmd(JCR *jcr)
          /* In both of these two cases, we (the user) unmounted the Volume */
          case BST_UNMOUNTED_WAITING_FOR_SYSOP:
          case BST_UNMOUNTED:
+            Dmsg2(100, "Unmounted changer=%d slot=%d\n", dev->is_autochanger(), slot);
             if (dev->is_autochanger() && slot > 0) {
                try_autoload_device(jcr, dcr, slot, "");
             }
@@ -735,6 +736,7 @@ static bool mount_cmd(JCR *jcr)
             break;
 
          case BST_NOT_BLOCKED:
+            Dmsg2(100, "Not blocked changer=%d slot=%d\n", dev->is_autochanger(), slot);
             if (dev->is_autochanger() && slot > 0) {
                try_autoload_device(jcr, dcr, slot, "");
             }