From: Kern Sibbald Date: Sun, 1 Apr 2007 13:30:13 +0000 (+0000) Subject: More reserve debug code X-Git-Tag: Release-7.0.0~6636 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9b16113b3b80fa45cceb29b2c8ba8f7612151bd1;p=bacula%2Fbacula More reserve debug code git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4490 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/reserve.c b/bacula/src/stored/reserve.c index 866524fb50..c1d4dc4c91 100644 --- a/bacula/src/stored/reserve.c +++ b/bacula/src/stored/reserve.c @@ -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);