From: Kern Sibbald Date: Sat, 28 Jan 2012 09:13:58 +0000 (+0100) Subject: Tweak more debug in SD mount command X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f3bf38747be0258aa3daf9fa7892223c9d1637d8;p=bacula%2Fbacula Tweak more debug in SD mount command --- diff --git a/bacula/src/stored/dircmd.c b/bacula/src/stored/dircmd.c index e1d9dcec95..4442df9c3b 100644 --- a/bacula/src/stored/dircmd.c +++ b/bacula/src/stored/dircmd.c @@ -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, ""); }