On Mon, Oct 09, 2006 at 09:35:47PM +0200, Mario Giammarco wrote:
> Hello,
> 
> I would like to use unionfs on a flash disk and an hard disk to save 
> power /reduce noise. The files on hard disk are mostly write only so I plan 
> to put the flash disk on union fs as a "write cache" and updaate the hdd 
> snapshot each night.
> 
> The problem is the files on hdd are 30 log file of 512mb once. 
> 
> The flash disk will be 4gb.
> 
> Please tell me if it is possible or if it is a good idea.

Unionfs stores the entire copies of the files. So, if you are going to be
writing to all 30 files, and each is going to be 512MB, then you will not
have enough space. I'd go with something logrotate-like, where each night
you create a new file, and move the old one to the disk. Then, if you want
to get the full log, just concatinate all the daily logs into one.

I hope this helps,

Josef "Jeff" Sipek.

-- 
UNIX is user-friendly ... it's just selective about who it's friends are
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to