On Tuesday 20 March 2007 13:02, HM wrote:
> Hello, folks!
> 
> Sorry for this ugly $subject.
> 
> I've been playing with bacula and noticed a strange behaviour. I have
> configured a Pool with disk volumes of size 100MB each. On one run I
> wrote three tapes. Then I've deleted the catalog and recreated it with
> the scripts shipped with bacula. On the next run bacula took the first
> tape, seeked to the end and started to write another 100MB appended to
> the volume resulting in volume of size 200MB.  I think this is not a
> user-expectable behaviour of "Maximum Volume Bytes", i.e. I think this
> is a bug, no?

No, this is not a bug, and what you write above is not possible with Bacula.  
You have left out some information.  If I literally do what you say, Bacula 
will *never* write to volumes that have been previously used.  If it did so, 
it is because you specifically told it to do so (and left that out of your 
comments above).

> 
> I use Maximum Volume Bytes in order to fill up my partitions as much as
> possible. I've learned the folowing rule of thumb: If the partition is
> under heavy load you should take care that it doesn't fill up more than
> 70% (one opinion, there are others like 80%). However I'd like to use
> approx 100% and then I have a fragmentation, i.e. performance, issue.
> Don't you think it would be clever that bacula didn't truncate each
> recycled volume file and start with size 0, but instead leave the file
> allocated on disk as it is and just start over-writing from the
> beginning, just as bacula would do on tape volumes?

No, that is not something that I would ever implement.

> 
> That way the disk volumes would be allocated statically on disk and one
> could try to defragment it more or less appropiately once and afterwards
> there would be not fragmentation added by bacula, since it doesn't need
> to allocate disk blocks again and again?

Bacula doesn't fragment anything.  If there is any fragmentation it is because 
you have a strange OS that is not state of the art, or you have other tasks 
that are writing to the same disk.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to