LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-24-2007, 02:04 AM   #1
.G.
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
GFS vs CXFS vs others ??


Hello All,

Presently looking at implementing a shared / single filesystem for a bunch of our servers.

Long term if all works out, I plan to have approx 60 CentOS 5 boxes connected to the filesystem.

So first things first... has anyone get any recommendations of GFS or CXFS (besides obviously that CXFS is expensive) or perhaps another option.

Our storage environment is currently eight (8) coraid units at present all being presented via AOE.

Has anyone run either GFS or CXFS over AOE ? had success ? failures etc ??

Hope to hear soon.


Regards
 
Old 10-25-2007, 02:12 AM   #2
elcody02
Member
 
Registered: Jun 2007
Posts: 52

Rep: Reputation: 17
Note, that CXFS and GFS have architectural differences which you should also be taken into account.

CXFS is called a distributed filesystem whereas GFS is a shared storage filesystem which is symmetric.

The bottomline is basically CXFS and many others need nodes with special responsibility (the controlling of metadata) as any file access has to be grated by such a metadata controller. And this controlling is normally done via Ethernet. On the other hand as those filesystems most often are available on different plattforms they can share the data between those. And correct my if I'm wrong but some not too far time ago the metadata controller on CXFS could only be hosted on a SGI machine. Perhaps that has changed.

If you are more intersted in such filesystems you should also take StorNext File System, XSan and some more which I cannot remember ;-). But all of these do cost some money.

If you have a homogenous plattform a symmetric SAN Filesystem like GFS or OCFS2 and specially on Linux is to be preferred. They are quite nicely integrated into the kernel are opensource and are available for most distibutions and are supported. Seen from architectural point of view they also have some advantages as there is no node with special purpose (they use Distributed Locking) and are integrated perfect into the linux storage and clusteringstack (especially GFS in RHEL). This makes live much more easy. I dare say they can also be used as rootfilesystem or for database usage. That makes real fun.

On AOE: GFS can be setup on any blockdevice basically. Cache coherrency has to be assured which normally is not a big deal. Switch off any write back caching on all clients. Although (C)LVM is the best practice way to use with GFS.

Hope that helps
have fun.
 
Old 10-25-2007, 03:34 AM   #3
.G.
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for the reply.

I have spoken with SGI and yes the lock manager will only run on an SGI server. (even though that server runs linux !!).

I have started testing etc today and have found the GFS to be running quite nicely. however I think I have run into a major hurdle.

From reading the REDHAT faq, it say that with DLM it will only scale to around 32 nodes at present. I want to run approx 60 Servers. The faq states that you can use GULM instead of you want that many nodes, however it also states that GULM is only for RHEL 4... we're running 5.

Any suggestions....???
 
Old 10-26-2007, 02:00 AM   #4
elcody02
Member
 
Registered: Jun 2007
Posts: 52

Rep: Reputation: 17
Quote:
Originally Posted by .G. View Post
thanks for the reply.

I have spoken with SGI and yes the lock manager will only run on an SGI server. (even though that server runs linux !!).

I have started testing etc today and have found the GFS to be running quite nicely. however I think I have run into a major hurdle.

From reading the REDHAT faq, it say that with DLM it will only scale to around 32 nodes at present. I want to run approx 60 Servers. The faq states that you can use GULM instead of you want that many nodes, however it also states that GULM is only for RHEL 4... we're running 5.

Any suggestions....???
Yup I knew there was something I wanted to add ;-) .
I think with RHEL5 you don't have those limits any more wasn't it. The only limitation I'm aware of with RHEL5 is rgmanager <=16 nodes. I think the faq or that special topic is related to RHEL4 (at least I would suspect ;-) ).

But yes be aware that there are not too many (I've heard of some) installations with more then 32 nodes neither on GFS nor on CXFS nor on any other such filesystem. I would also advice you to think about your architecture very intensly and analyse the file I/O you have to see if a SAN/Cluster FS will do the scaleout as expected with this amount of nodes.

Have fun.
 
Old 01-23-2010, 02:53 AM   #5
ccolumbu
Member
 
Registered: Oct 2009
Posts: 37

Rep: Reputation: 4
Did you figure this out

Quote:
Originally Posted by .G. View Post
thanks for the reply.

I have spoken with SGI and yes the lock manager will only run on an SGI server. (even though that server runs linux !!).

I have started testing etc today and have found the GFS to be running quite nicely. however I think I have run into a major hurdle.

From reading the REDHAT faq, it say that with DLM it will only scale to around 32 nodes at present. I want to run approx 60 Servers. The faq states that you can use GULM instead of you want that many nodes, however it also states that GULM is only for RHEL 4... we're running 5.

Any suggestions....???
G,
I need to do something very similar to your original post.
If you figured out how to do it, can you post (or e-mail me) a how to?

Thanks,
^C
 
Old 12-14-2010, 02:57 PM   #6
StoatWblr
LQ Newbie
 
Registered: Jul 2004
Distribution: Suse Slackware rhel4-8 Ubuntu (various)
Posts: 5

Rep: Reputation: 1
Angry GFS - unfit for purpose. No idea on CXFS

GFS/GFS2 is unfit for purpose.

Drive it hard enough(*) and nodes will CRASH.

Directory scanning happens at about 1% of the speed of ext3 (which means an incremental backup that might take 2-3 minutes on ext3/4 will take several HOURS on a GFS filesystem

(*) Create a few thousand files in one directory, rename them. Move them to other filesystems.
Rinse, repeat.

This is real world results, not setting out to break it - and Redhat have been jerking us around for a couple of years while not fixing things.

CXFS may be better. OSFS2 may be better. I have no idea as I haven't tried them (yet), but what I CAN say is that if you want a clustered fileserver, DON'T use GFS.
 
1 members found this post helpful.
Old 05-07-2013, 09:46 PM   #7
bsdfan
Member
 
Registered: Jun 2010
Distribution: Debian 5.0.2/openBSD3.3,3.6,4.0
Posts: 45

Rep: Reputation: -1
Just to share.

We have apps server on prod site. We have 6 node and using GFS2. All on active/active mode. Last time we use GFS and it's run smooth. We upgrade to GFS2 cause of our backup agent from Hitachi not supported GFS. GFS2 is improve a lot of. Search data on SAN is incredible fast from application.
 
Old 05-14-2013, 05:16 PM   #8
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by .G. View Post
Hello All,

Presently looking at implementing a shared / single filesystem for a bunch of our servers.

Long term if all works out, I plan to have approx 60 CentOS 5 boxes connected to the filesystem.

So first things first... has anyone get any recommendations of GFS or CXFS (besides obviously that CXFS is expensive) or perhaps another option.

Our storage environment is currently eight (8) coraid units at present all being presented via AOE.

Has anyone run either GFS or CXFS over AOE ? had success ? failures etc ??

Hope to hear soon.


Regards
Take a look at GlusterFS

--C
 
Old 05-14-2013, 08:56 PM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
The OP is from 2007
I suspect he's already made a decision, although looking at later posts, GFS2 looks promising these days
 
  


Reply

Tags
cluster, filesystems, gfs, san



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is anyone using GFS with Slack? DAve.list Slackware 6 05-29-2008 03:43 PM
Is GFS right for me? mijohnst Linux - Software 5 08-21-2007 08:56 PM
GFS on Fedora psychobyte Linux - Enterprise 2 06-11-2007 04:01 AM
GFS installation RHEL4u4 oreitsma Linux - Enterprise 2 11-01-2006 04:28 AM
redhat linux + GFS , anyone ! antonioxcom Linux - General 1 07-11-2004 05:07 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration