I don’t know if this is possible to setup a Mac OS X network filesystem with local Most Recently Used (MRU) cache but here is the problem I'm looking to solve:
- My local computer has a 128G hard drive, and I have a network mounted drive containing about 1TB of data.
- Most of the data is old or infrequently used.
- While I am attached to the network share, everything is fine however when I'm on the road I don't have access to that share. I would like to have a most-recently-used local copy of the files (say touched in the past 6 months, up to 40G total data).
- When I attach back to the network, the local file system would sync back up with the network file system.
- Ideally, it would all be transparent (i.e.: when the drive is attached, everything shows up, when I'm detatched, either the non-most-recently-used files are gone, or there are place-holder links that give some sort of warning when accessed.
- File access checks for the local copy if present, then falls back to network if not.
It looks like the CacheFS hits a lot of those point, but it does not appear to have an Mac OS X port. Are there any good alternatives to achieve that goal?