RE: [Linux-cluster] GFS+EXT3 via NFS?

Kovacs, Corey J. cjk at techma.com
Fri Jan 12 15:09:45 UTC 2007


Lon, thanks. I could manually type the cluster.conf in but it would likely be
riddled with typos :)

Suffice it to say that the exports are managed by the cluster which I think
is the problem in our particular case as we have mixed GFS/EXT3 filesystems
being exported from the same services. 

That being said, what will the effect be of seperating the services by
filesystem type if a service exporting EXT3 fails over to a node exporting
non-cluster-managed GFS exports? Will the mechanics of moving a
cluster-managed export to a node with non-managed exports collide?

Thanks for your input.


Corey Kovacs
Senior Systems Engineer
Technology Management Associates
703.279.6168 (B)
855-6168 (R)


-----Original Message-----
From: linux-cluster-bounces at redhat.com
[mailto:linux-cluster-bounces at redhat.com] On Behalf Of Lon Hohberger
Sent: Friday, January 12, 2007 9:29 AM
To: linux clustering
Subject: Re: [Linux-cluster] GFS+EXT3 via NFS?

On Thu, 2007-01-11 at 13:53 -0500, Kovacs, Corey J. wrote:
> We have a 5 node cluster that is exporting several GFS and EXT3 
> filesystems distributed among 5 individual services each with it's own 
> failover group etc. For the most part, things work fine. However, 
> sometimes when we move these services around, the node that recieves 
> the service doesn't re-export the filesystems and clients get stale 
> handles until we manually execute "exportfs -ra" to clear this up.



> Right now each NFS service exports both GFS and EXT3 filesystems 
> concurrently. There is some thought about seperating the filesystems 
> so that a service only exports GFS OR EXT3, buit not both. We'd like 
> some input though to see if this might really be the problem, or maybe 
> something along these lines etc.
> 
> My "gut" feeling is that since a service is exporting a GFS 
> filesystem, there may be a built in assumption that the filesystem is 
> exported via /etc/exports and that the only thing transitioning is the 
> IP address as per the unofficial NFS cookbook.

You can do this with GFS, but not ext3.  It works with GFS because GFS can be
mounted on all nodes - and exported from all nodes - at the same time.

You'll either need to add a script to call 'exporfs -ra' to the service after
the ext3 file system is mounted or use cluster-managed NFS exports.
 
Both will work with cluster-managed NFS exports, but only GFS can really use
/etc/exports.

( being able to look at your cluster config would help... ;) )

-- Lon

--
Linux-cluster mailing list
Linux-cluster at redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list