6

Can anyone advice for a production-level, open-source shared storage (SAN) file-system?

I read about GFS and GFS2, but the first one seems a bit outdated, and the second is not considered stable for production.

Are there others I can check into?

Chris S
  • 77,337
  • 11
  • 120
  • 212
SyRenity
  • 3,159
  • 11
  • 55
  • 79

3 Answers3

10

There's OCFS2 from Oracle (OSS) that's generally considered to be quite a bit simpler than GFS2. There is a good list at wikipedia that includes both open source and commercial clustered file systems, although some of them won't apply for your needs.

Where did you read that GFS2 is not considered stable for production? Was it a recent comment from an authority on the subject?

Edit: Perhaps this list on wikipedia is a bit more to the point although it appears that OCF2 is the only other open source alternative to GFS/GFS2 in that list...

quanta
  • 50,327
  • 19
  • 152
  • 213
rthomson
  • 1,059
  • 9
  • 14
  • +1 for some insightful comments and mostly for the Wikipedia link. – Chris S May 05 '11 at 20:34
  • Thanks for the extensive reply. I went to OCFS2 page but it seems the last release was 3 years ago from 2008, which makes me a bit nervous of using it. Any idea if there are newer versions? – SyRenity May 12 '11 at 18:29
  • The latest source package for use without Oracle's own Unbreakable Linux kernel (OCF2 1.4.7) is dated January 19, 2011 but it seems 1.4.7 was released before then in April 2010 so I'm not sure what's up. http://oss.oracle.com/projects/ocfs2/files/source/v1.4/ – rthomson May 12 '11 at 19:00
  • From my tests, GFS2 seemed more stable than OCFS2. Whereas with the same tests OCFS2 corrupted the file system and I had to repair it, GFS2 did not at the cost of slightly less performance. – lethalman Jul 16 '14 at 08:24
4

GFS is used in production for RHEL4 and RHEL5. If it is good enough for them, it is good enough for you.

RHEL5 and RHEL6 officially support GFS2, with RHEL6 only supporting GFS2.

My opinion: if Red Hat considers it stable enough to support, it's stable enough to use. Most of the time.

OCFS2 might be nice, though I never used it. What annoys be about it though, it the fact that I cannot find the source to the latest version of the OCFS2 kernel module anywhere. If anyone can provide a link: much obliged :)

wzzrd
  • 10,269
  • 2
  • 32
  • 47
2

I would want to clarify that san and shared storage aren't necessarily the same thing. NFS can be used for shared storage, and depending on your needs, could actually be more appropriate than san connectivity with gfs2. Another option is Lustre http://www.lustre.org, but it may be a lot more complicated than you need. GFS2 also requires the clustering software running, even if you have no need for clustering otherwise.

lsd
  • 1,653
  • 10
  • 8
  • Can you please clarify what you mean by NFS being more appropriate then SAN? What hardware will be used to serve NFS - a NAS server? – SyRenity May 12 '11 at 18:27
  • Well, I'm not really saying that it is more appropriate in this case. It may be. I'm just saying that depending on the needs, an NFS server might server just as well. It can be a NAS server; in fact, a NAS server just seems to me to be a file server, generally. NFS and CIFS/SMB usually. But you can build your own NAS server easily, depending on how much redundancy and reliability you need. I have built several. Here is a good link http://www.linuxquestions.org/questions/red-hat-31/set-up-failover-nfs-by-rhcs-568661/. – lsd May 13 '11 at 01:47
  • It references the Red Hat Cluster Suite NFS Cookbook http://sourceware.org/cluster/doc/nfscookbook.pdf. This one does require a san solution to provide it (the shared storage), but you can do it other ways too. – lsd May 13 '11 at 01:51