Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We run a bunch of ubuntu servers (mostly 8.04 LTS) which all mount an nfs share at /nfs. We use the nfs primarily for two purposes:

  1. symlinking config files (such as apache vhosts)
  2. reading & writing uploaded files

This all works great except it makes us fully dependent on the central NFS server (which is a DRBD cluster with heartbeat failover from primary to secondary, but we've still seen issues).

What we'd like is if we could mount the NFS through some local caching layer which would make any file which had previously been read remain available even if /nfs isn't. Writes could be disabled for this period.

Searching around it looks like cachefilesd may be an option. Unfortunately, it's only packaged for ubuntu 9.10 & 10.04 it looks like.

I was also looking for a FUSE-based solution which might fit the bill, but hadn't found anything yet.

Any suggestions would be greatly appreciated!

share|improve this question

1 Answer 1

Check glusterfs, I think you can easily get it to do what you want.

Note: this is replacing NFS.

share|improve this answer
    
We use GlusterFS for this too. I wasn't personally involved, but a colleague got it up and running without too much fuss and we haven't had problems with it. –  ThatGraemeGuy May 13 '10 at 19:55
    
I'll look into GlusterFS, thanks! –  btucker May 14 '10 at 13:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.