---------- Forwarded message ---------- From: <manga...@hotmail.com> Date: Mon, May 3, 2010 at 1:26 PM Subject: Re: [Bacula-users] Maximum concurrent jobs for devices To: John Drescher <dresche...@gmail.com>
> On Mon, May 3, 2010 at 12:34 PM, <manga...@hotmail.com> wrote: > >> On 05/03/10 08:35, John Drescher wrote: > >> > On Mon, May 3, 2010 at 8:16 AM, <manga...@hotmail.com> wrote: > >> >> Greetings, > >> >> > >> >> I'm using Bacula Version: 5.0.1 (24 February 2010) > >> >> x86_64-pc-linux-gnu over Gentoo Linux. I've upgraded to be able to > >> >> use some new features such as "Maximum Concurrent Jobs" for devices. > >> >> Actually it seems to does not work (at least for me!). If I start 2 > >> >> different jobs at the same time the 2nd is waiting to reserve a > >> >> drive. > >> >> > >> >> If I try to get status for storage from bconsole during the jobs I > >> >> get: > >> >> > >> >> Running Jobs: > >> >> Writing: Full Backup job BACKUP-vps-serverone JobId=742 > >> >> Volume="VOLUME-Full- vps-serverone-0362" > >> >> pool="POOL-FULL-vps-serverone" device="bkp12-disk" (/bacula) > >> >> spooling=0 despooling=0 despool_wait=0 > >> >> Files=1,634 Bytes=34,226,389 Bytes/sec=2,139,149 > >> >> FDReadSeqNo=13,839 in_msg=9397 out_msg=5 fd=5 > >> >> Writing: Full Backup job BACKUP-vps-servertwo JobId=743 > >> >> Volume="VOLUME-Full- vps-serverone-0362" > >> >> pool="POOL-FULL-vps-servertwo" device="bkp12-disk" (/bacula) > >> >> spooling=0 despooling=0 despool_wait=0 > >> >> Files=0 Bytes=0 Bytes/sec=0 > >> >> FDSocket closed > >> >> ==== > >> >> > >> >> Jobs waiting to reserve a drive: > >> >> 3608 JobId=743 wants Pool="POOL-FULL-vps-servertwo" but have > >> >> Pool="POOL- FULL-vps-serverone" nreserve=0 on drive "bkp12-disk" > >> >> (/bacula). ==== > >> > > >> > The problem is each job uses a different pool and only 1 volume can be > >> > loaded in a device at a time so the second job has to wait. > >> > >> If it's a hard requirement that the two jobs use separate pools, you > >> could create a second disk storage device on the same physical device. > >> > >> You could also possibly look into using the vchanger. > > > > Thank you Phil, the first solution sound nice to me. I am trying to use > > the configuration described here: http://www.bacula.org/5.0.x- > > manuals/en/main/main/Basic_Volume_Management.html (it looks like the same > > you suggested, the only difference is that I use the same folder for all > > devices). > > > > I've setup all my "alias devices" to use the same folder /bacula to get > > the tapes. But the storage daemon seems to does not recognize the old > > tapes created from different devices on previous jobs, because with > > storage status from console I get: > > > > Device "bkp12-disk-e" (/bacula) is not open. > > Device is BLOCKED waiting to create a volume for: > > Pool: POOL-FUL-bkp13 > > Media type: File12e > > > > It looks like very strange to me, because if I restart the job o the > > original device it work as expected. Both devices are on the same storage > > daemon and use the same folder. > > > > What can be? > > Do you have volumes of Media type File12e in your POOL-FUL-bkp13 pool > already? > > > Please post the output of > > list media pool=POOL-FUL-bkp13 > > John > No I do not, all the volumes were created from File12 and not from File12e. Should I edit the pool? +---------+---------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +---------+---------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 116 | VOLUME-Full-bkp13-0116 | Used | 1 | 58,972 | 0 | 604,800 | 1 | 0 | 0 | File12 | 2010-05-03 17:47:23 | | 119 | VOLUME-Full-bkp13-0119 | Purged | 1 | 55,944 | 0 | 604,800 | 1 | 0 | 0 | File12 | 2010-04-26 09:58:05 | | 124 | VOLUME-Full-bkp13-0124 | Used | 1 | 58,852 | 0 | 604,800 | 1 | 0 | 0 | File12 | 2010-04-28 08:10:50 | | 127 | VOLUME-Full-bkp13-0127 | Used | 1 | 58,848 | 0 | 604,800 | 1 | 0 | 0 | File12 | 2010-04-30 09:15:07 | | 136 | VOLUME-Full-bkp13-0136 | Used | 1 | 58,906 | 0 | 604,800 | 1 | 0 | 0 | File12 | 2010-05-02 08:37:03 | | 145 | VOLUME-Full-bkp13-0145 | Used | 1 | 58,906 | 0 | 604,800 | 1 | 0 | 0 | File12 | 2010-05-03 08:33:35 | | 150 | VOLUME-Full-bkp13-0150 | Used | 1 | 55,944 | 0 | 604,800 | 1 | 0 | 0 | File12 | 2010-04-24 11:17:02 | +---------+---------------------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ Thank you, Lorenzo -- John M. Drescher ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users