Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GFS on Gentoo
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
lobstar
n00b
n00b


Joined: 26 Jun 2008
Posts: 10

PostPosted: Sat Jun 28, 2008 4:16 pm    Post subject: GFS on Gentoo Reply with quote

I want to have the same /home on several boxes and someone suggested I try GFS (Global File System). I looked up wikipedia page for it and its exactly what I was looking for, but I can't find any good guides for getting it to work in Gentoo.

I noticed a sys-fs/gfs in portage. That's what I need to install I'm guessing. But what do I need in terms of kernel options and how to use it once emerged?
Need n00b instructions :lol:
Thx in advance.
Back to top
View user's profile Send private message
fidel
Guru
Guru


Joined: 16 Jul 2004
Posts: 407
Location: CH

PostPosted: Tue Jul 01, 2008 12:05 pm    Post subject: Reply with quote

Sorry I can't provide you a direct howto, but since GFS is now on RedHat it might be a good starting point:

http://www.redhat.com/docs/manuals/csgfs/browse/rh-gfs-en/

Just to make sure, having the same /home on several boxes that comes from one server doesn't need GFS or some other cluster filesystem. If you just want to have one or more directories of one server exported to several clients, I suggest you stick with nfs. If you indeed have several servers and want to cluster their filesystems to one network storage, GFS might be the right choice. (I probably misunderstand "I want to have the same /home on several boxes ")
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Tue Jul 01, 2008 1:31 pm    Post subject: Reply with quote

lobstar,
Please explain exactly what you're trying to accomplish. Are you looking for similar functionality to DFS (in Windows)?
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3530

PostPosted: Tue Jul 01, 2008 3:58 pm    Post subject: Reply with quote

PMFJI, but I think I have a similar wish, and perhaps this can clarify things, even in a negative fashion.

I'd like to keep /home coordinated/synchronized among several systems. Right now I've put /home on my nfs server, and mount it from my various desktops.

But what I'd really like is a tell-me-N-times filesystem. I'd like to have a copy of /home on each machine, and have writes from each machine routed to the others. That way it gives me local performance plus "network RAID-1" backup. I've looked a little at doing this, and one complexity is that my desktop machines aren't 24x7, so it can't be done simply. I'd be perfectly happy to have my server be a backup target, to cover that type of situation. But I see the need to dynamically attach/detach machines, and bring them up to date after boot as being one of the bigger problems. (Otherwise things like DRBD or RAID-1 over NBD ought to work.) Did I mention that I want writes to return immediately, rather than waiting for the networked write to complete? True local performance, etc.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
zeek
Guru
Guru


Joined: 16 Nov 2002
Posts: 480
Location: Bantayan Island

PostPosted: Sun Jul 06, 2008 5:34 am    Post subject: Reply with quote

depontius wrote:
But what I'd really like is a tell-me-N-times filesystem. I'd like to have a copy of /home on each machine, and have writes from each machine routed to the others. That way it gives me local performance plus "network RAID-1" backup.


GFS provides concurrent direct access to a single filesystem from multiple machines ... which means it is not what you want.

Look into AFS which provides a distributed, locally accessed filesystem ...
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3530

PostPosted: Sun Jul 06, 2008 3:15 pm    Post subject: Reply with quote

zeek wrote:
GFS provides concurrent direct access to a single filesystem from multiple machines ... which means it is not what you want.

Look into AFS which provides a distributed, locally accessed filesystem ...


I use AFS at work. It's a central-server filesystem, just like the NFS (V4) that I use at home. I was instead wishing for a truly distributed filesystem - the data all stays on client machines. There would likely have to be a server, but it would be a metadata server - telling which client contains the most up-to-date copy of each piece of data.
_________________
.sigs waste space and bandwidth
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