On Sunday 06 December 2009 19:10:35 Jesper Krogh wrote: > I have a feature request, that is more a "usabillity issue" than > anything else. Should be trivial to implement if people think it is > equally important as I do. > > > Item ?: On restore, check space on target volume > > Date: 6 december 2009 > > Origin: Jesper Krogh<[email protected]> > > Status: New request > > What: Filling up a filesystem may often lead to unexpected > down-time on the target systems. Change bacula to know > that it should never fill (without user intervention) a > volume more than X% or allways leave YGB free. > > Why: When doing restores, bacula writes to the target volume. > implement a small check of the available space and terminate > the job if it wont leave required free space available. > A suggested better implementation would be to request operator > intervention in this situation. > >
I doubt that this is something that we will implement in Bacula for several reasons: 1. Knowing how much space is left is a very system depending operation, which we try to avoid. 2. Asking how much system space remains can be *extremely* slow (especially on some Windows systems). 3. The remaining space on a device is constantly changing millisecond by millisecond, so it would require Bacula to check on every write operation, which could slow Bacula down by orders of magnitude. Consequently, this is not something that I would implement personally or even add to the developer's project list. However, if someone were to implement it for *all* systems on which the Bacula SD and FD currently run, and providing it is configurable by the Bacula administrator, with default off, we would seriously consider it. Regards, Kern ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
