On Mon, 2006-10-09 at 16:02 -0400, Josef Sipek wrote:
> On Mon, Oct 09, 2006 at 09:54:36PM +0200, Mario Giammarco wrote:
> > Thanks for quick reply. Unfortunately in this case logrotate is not an 
> > option.
> > Is it possible to update the snapshot not each night but when cache is full?
> 
> The problem is, if you have a 1GB file on the hard disk (which would be a ro
> branch for unionfs), whenever you append to it, Unionfs will copy the entire
> file into the rw branch, and append the data there. So, with a 4GB flash
> disk, all you have to do is append to 8, 512MB files stored on the disk, and
> your flash is full.

I was doing work for a while on a "sparse" version of unionfs where
instead of copying up the files, it did a versionfs type block based
system, where it would create a sparse file on "copyup" and use a bitmap
file to determine which blocks were in which files.

unfortunately, it was never that stable and it performance sucked
(basically only useful for append only things like log files).

_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to