Hello, I'm using aufs to "cache" writes to a very slow NFS share. We intend to "rsync" at night the shares. Basically for email access. While SMTP is working good with this model (copy-on-write) I needed to have a copy-on-read feature (coo= ?) to have an IMAP caching utility on recently accessed files.
Using the coo=all or coo=leaf option: mount -t aufs -o coo=all,udba=none,br=/local/home107=rw:/nfs/home107=ro none /aufs/home107 I wasn't able to make aufs "copy-up a file to rw branch when the file is only opened for read: open(O_RDONLY), for example a simple "cat" command. Is this possible ? If its not, I'll try to "change" the code to have this functionality. Thanks in advance Regards Rafael Tinoco
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev