I use NFS to share media to computers around my house. Unfortunately one of the machines is on a slow wireless link, is there a way to cache network shares on the local disk for performance?
I'm not sure if there is any way to do this currently with Ubuntu 10.04 LTS.
However, the newer versions of the Linux kernel include a feature called FS-Cache & CacheFS, which sounds exactly like what you (and I) want.
Also see Local Caching For Network Filesystems.
It's not exactly an answer to your question, but...
The best solution for this kind of stuff that I know is using dropbox. You will need an internet connection to upload the md5 hashes to the dropbox server, but after that files will sync over the LAN.
UbuntuOne could be another possibility, but it lacks LAN sync, so changes have to go up using internet and down again.
Stefan led me down the right track. This will work on any system 12.04 and newer.
Your filesystem will also need extended attribute support. If you're using EXT4 you're fine, if you're using EXT3 you'll need to ensure your filesystem is mounted with the
Here's how I set it up on the client machine, you don't need to do anything on the server side.
Configuration of the cache is done in