Bacula-users

Re: [Bacula-users] [Bacula-devel] 2.4.1 not releasing tapes

2008-07-25 02:06:17
Subject: Re: [Bacula-users] [Bacula-devel] 2.4.1 not releasing tapes
From: Kern Sibbald <kern AT sibbald DOT com>
To: bacula-devel AT lists.sourceforge DOT net
Date: Fri, 25 Jul 2008 08:06:00 +0200
In the output that you show below, there are absolutely no Volumes that are 
locked to any drive.  The only thing that is unusual is that it shows two 
Volumes that we previously reserved on a single drive -- that should normally 
be a maximum of one.  In this case, aside from a tiny amount of memory use, I 
doubt that there is any harm.  I suspect that it has to do with running 
restore jobs, and is very likely fixed by the patch that I posted to bug 
#1126, and will be in 2.4.2 to be released shortly.

IMO there is nothing to diagnose further. Any other problems you may be 
having -- e.g. with your catalog job are unlikely to be related.

Regards,

Kern

On Thursday 24 July 2008 23:59:59 Shad L. Lords wrote:
> I've run into a situation where it appears that bacula isn't releasing
> the tape in the drive.  I've done releases on both drives but it still
> shows one of the tapes from each of the last two backups as being in use
> by drive2.  I'm performing about 20 jobs spread across 18 hosts and
> bacula is balancing the jobs between the two drives successfully.  The
> one odd thing I've noticed is that the catalog job always gets written
> to a new tape.  The catalog job usually gets assigned drive1 (nst0) and
> the tape that ends up being locked to drive2 (MA3004/WA3003) both had
> free space and weren't in use at the time.
>
> Here is the relevant part of status storage from bconsole:
>
> Device status:
> Autochanger "SL-10K" with devices:
>     "SL-10K-Drive1" (/dev/nst0)
>     "SL-10K-Drive2" (/dev/nst1)
> Device "SL-10K-Drive1" (/dev/nst0) is not open.
>      Drive 0 is not loaded.
> Device "SL-10K-Drive2" (/dev/nst1) is not open.
>      Drive 1 is not loaded.
> ====
>
> In Use Volume status:
> MA3004 on device "SL-10K-Drive2" (/dev/nst1)
>      Reader=0 writers=0 devres=0 volinuse=0
> WA3003 on device "SL-10K-Drive2" (/dev/nst1)
>      Reader=0 writers=0 devres=0 volinuse=0
>
> Let me know if there is anything else you need from me in order to
> diagnose this further.  It takes some time to duplicate it but I've been
> able to duplicate it every time I do a backup.
>
> -Shad
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-devel mailing list
> Bacula-devel AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-devel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users