Bacula-users

Re: [Bacula-users] tape use period counted from when use should have started instead of when it did

2008-04-11 16:02:31
Subject: Re: [Bacula-users] tape use period counted from when use should have started instead of when it did
From: Ryan Novosielski <novosirj AT umdnj DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 11 Apr 2008 16:02:03 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Arno Lehmann wrote:
> Hi,
> 
> 11.04.2008 11:08, Tilman Schmidt wrote:
>> If a job has been waiting for a tape to be mounted for longer than the
>> tape's maximum use duration, once the tape is finally mounted it is
>> immediately marked as "Used" because of "Max configured use duration
>> exceeded." which is surprising because it hasn't actually been in use
>> at all. Apparently Bacula counts the volume's "use duration" from the
>> start of the job even if the volume hasn't been present during all that
>> time. I do not think that is sensible.
> 
> Difficult scenario... the behavior you observe is correct from Baculas 
> point of view: Once the tape is reserved it counts as 'in use'. It 
> might be sensible to not count times when the tape is not actually 
> available, but I suspect that the in use timestamp needs to be set at 
> the moment a tape is reserved. I don't know...
> 
> Probably it would be good if you created a sample with shor times 
> where you can show what's happening and report that along with a bug 
> report.

I'm really not certain that this behavior is the case at all. I don't
think it will do anything to the tape before it gets it, since it does
not know what tape it will ultimately get (I frequently mount entirely
different tapes than the one it requests).

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH/8O7mb+gadEcsb4RAu2NAKCTlCYToGJQJXmUtgtNiJ8ZTV/WTwCfV0Vg
tTwerU+gtoBtZWaAAMfDRLE=
=g93C
-----END PGP SIGNATURE-----

Attachment: novosirj.vcf
Description: Vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users