]> git.sur5r.net Git - bacula/bacula/commitdiff
More reserve debug code
authorKern Sibbald <kern@sibbald.com>
Sun, 1 Apr 2007 13:30:13 +0000 (13:30 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 1 Apr 2007 13:30:13 +0000 (13:30 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4490 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/reserve.c

index 866524fb50b38dc8b3169f0235b9644f948c604c..c1d4dc4c91e8424a3d2b8927bc6154809d2a9efb 100644 (file)
@@ -972,8 +972,10 @@ static int can_reserve_drive(DCR *dcr, RCTX &rctx)
             return 1;
          } else {
             /* Drive Pool not suitable for us */
-            Mmsg(jcr->errmsg, _("3608 JobId=%u wants Pool=\"%s\" but have Pool=\"%s\" on drive %s.\n"), 
-                  jcr->JobId, dcr->pool_name, dev->pool_name, dev->print_name());
+            Mmsg(jcr->errmsg, _(
+"3608 JobId=%u wants Pool=\"%s\" but have Pool=\"%s\" nreserve=%d on drive %s.\n"), 
+                  jcr->JobId, dcr->pool_name, dev->pool_name,
+                  dev->reserved_device, dev->print_name());
             queue_reserve_message(jcr);
             Dmsg2(110, "failed: busy num_writers=0, reserved, pool=%s wanted=%s\n",
                dev->pool_name, dcr->pool_name);