xfs
[Top] [All Lists]

Re: Exporting xfs over nfs

To: Hugo Lafargue <admin@xxxxxxxx>
Subject: Re: Exporting xfs over nfs
From: Juri Haberland <juri@xxxxxxxxxxxxxx>
Date: Tue, 07 May 2002 13:22:39 +0200
Cc: linux-xfs@xxxxxxxxxxx
References: <5.1.0.14.2.20020506155833.00a9e540@xxxxxxxxxxxxxxxxxxxx> <3CD690A9.2040506@xxxxxxxxxxxxx> <004601c1f5b0$0c9bc970$c102010a@xxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417
Hugo Lafargue wrote:
> Hi,
> 
> I just installed a cluster of 2 nodes to provide High Availability NFS/Samba
> service with Hearbeat (0.4.9.1).
> The exported filesystem is XFS.
> The kernel is 2.4.18 patched with xfs-1.1
> 
> When I stop Heartbeat daemon on the nodeA, the shared ip swithes to the
> nodeB, and samba clients still access the files.
> 
> But, I'm now observing that after failover, nfs clients are unable to use
> the  filesystem exported by the backup server until I unmount it and mount
> it again. Otherwise, I get "stale NFS file handle" messages.
> 
> Is this a known issue? Is there a way to fix it ?
> 
> I find on google that there was a known issue with exporting ReiserFS over
> NFS, but it seems to be

There are some things that you need to care about to make this work:

The exported file systems must have the same major/minor device number on
both nodes. Also /var/lib/nfs should be on a shared file system used by
both nodes. And you might need to run the latest nfs-utils (or maybe even
the cvs version) to be able to tell the nfsd that it should use the
cluster name (the DNS name corresponding to the shared IP) instead of the
node name.

Search the archives of the linux-ha and linux-ha-dev lists at
http://marc.theaimsgroup.com/?l=linux-ha and
http://marc.theaimsgroup.com/?l=linux-ha-dev for more details.

[any comments, Ragnar?]

Cheers,
Juri


<Prev in Thread] Current Thread [Next in Thread>