Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cluster FS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
questionaire
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2006
Posts: 131

PostPosted: Mon Oct 25, 2010 1:19 pm    Post subject: Cluster FS Reply with quote

Hi there,

we have a cluster with currently 2 nodes (later 10 nodes). The needed files get served by an iSCSI storage. I connected everything (i can access the iSCSI blockdevice from all nodes) and now i'm in the big problem to make a decission what file system to use.
reiser, ext3, ext4 and all that stuff doesnt work since all nodes will do IO, and i dont want to break the filesystem.
So the conclusion is to go with GFS or OCFS. Not a big deal for me, but the huge problem is - there isnt a single tutorial for these weird filesystems. I only found some old pieces dated from 2004 - 2008, none of them up to date and no tutorial really explaining what is needed for gentoo and how it works.

Is it really that uncommon to do a cluster with a centralized storage? I doubt it. So where did all the info go? Do you have any good resources on how to install either GFS or OCFS?
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GB/CS/CM/IT !d++ s+:-- a-- C++++$ UBL*++++$ P--- L++++$ !E-- !W+++$? !N-- !o K--? w++()$ !O M$ !V !PS? !PE? !Y? !PGP !t !5 !X R+++ tv++ !b? DI D++ G e+++ h++ r++ y+
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1155

PostPosted: Wed Oct 27, 2010 12:16 am    Post subject: Reply with quote

Try searching for GFS2 or OCFS2. Both are new projects that replaced the old ones.
_________________
Game! - Where the stick is mightier than the sword!
Back to top
View user's profile Send private message
questionaire
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2006
Posts: 131

PostPosted: Wed Oct 27, 2010 8:10 am    Post subject: Reply with quote

i did research on both but the portage doesnt support them and all the how to's are more than just old.

with custom ebuilds and some tweaking i managed to install ocfs2, but its sad to see such needed things not to be in the portage
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GB/CS/CM/IT !d++ s+:-- a-- C++++$ UBL*++++$ P--- L++++$ !E-- !W+++$? !N-- !o K--? w++()$ !O M$ !V !PS? !PE? !Y? !PGP !t !5 !X R+++ tv++ !b? DI D++ G e+++ h++ r++ y+
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1155

PostPosted: Wed Oct 27, 2010 10:53 pm    Post subject: Reply with quote

There's multiple components you need for a working clustered filesystem. The most obvious ones are the GFS2 or OCFS2 kernel modules and the DLM kernel module, these have been in the stock kernel for years now and all you need to do is enable them.

There's also a pile of userspace bits that you need. For GFS2, IIRC that's something like clvm, ccs, cman, corosync, openais, rgmanager and possibly a few others. There's also a lot of options... some of those might be mutually exclusive. It's pretty obvious that clvm isn't too loved in Portage these days though, after unmasking the clvm and cman USE flags for lvm2, you'll find that it depends on an ebuild that doesn't exist anymore, which is indeed unfortunate.

If it's not already painfully obvious, clustered filesystems are really really complicated in comparison to a regular filesystem, unfortunately that also means they don't get used as much.

Edit: If you actually get one or the other working, you should file a bug and attach any relevant instructions/ebuilds so that the next person who comes along has it easier. Even better would be to get things into the sunrise overlay: https://bugs.gentoo.org/show_bug.cgi?id=332869
_________________
Game! - Where the stick is mightier than the sword!
Back to top
View user's profile Send private message
questionaire
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2006
Posts: 131

PostPosted: Thu Oct 28, 2010 5:13 am    Post subject: Reply with quote

i managed to get OCFS2 up and running, i'll think about filing it
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GB/CS/CM/IT !d++ s+:-- a-- C++++$ UBL*++++$ P--- L++++$ !E-- !W+++$? !N-- !o K--? w++()$ !O M$ !V !PS? !PE? !Y? !PGP !t !5 !X R+++ tv++ !b? DI D++ G e+++ h++ r++ y+
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum