From: mehta kiran Subject: Re: Stale handle error on RHEL4 (2.6.9-22.ELsmp) Date: Thu, 16 Feb 2006 07:34:00 -0800 (PST) Message-ID: <20060216153400.30128.qmail@web51608.mail.yahoo.com> References: <1140103653.8891.29.camel@lade.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: nfs@lists.sourceforge.net, steved@redhat.com Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1F9l8z-0005MS-F9 for nfs@lists.sourceforge.net; Thu, 16 Feb 2006 07:34:09 -0800 Received: from web51608.mail.yahoo.com ([206.190.38.213]) by mail.sourceforge.net with smtp (Exim 4.44) id 1F9l8x-0002va-KJ for nfs@lists.sourceforge.net; Thu, 16 Feb 2006 07:34:09 -0800 To: Trond Myklebust In-Reply-To: <1140103653.8891.29.camel@lade.trondhjem.org> Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: Hi Trond, partitions /dev/sdi1 and /dev/sdi2 are=20 seen by both the systems on which server can start and their major/minor numbers are same on both the systems. Sfter server fails over to other system, output of exportfs and mount looks the same. Should /export directory which is exported with fsid=3D0 be on shared disk as well ? =20 thanks, kiran =20 =20 --- Trond Myklebust wrote: > On Thu, 2006-02-16 at 07:14 -0800, mehta kiran > wrote: > > Hi, > > When nfs(v4) server fails over from one system > to=20 > > other it gets stale handle error. > > All systems have RHEL4 installed (same kernel) > > uname -a =3D 2.6.9-22.ELsmp #1 SMP=20 > > =20 > >=20 > > Details : > >=20 > > [root@vcslinux118 bin]# mount > > <---snip> > > sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs > (rw) > > nfsd on /proc/fs/nfsd type nfsd (rw) > > /dev/sdi2 on /dir2 type ext3 (rw) > > /dev/sdi1 on /dir1 type ext3 (rw) > > /dir2 on /export/exp2 type bind (rw,bind) > > /dir1 on /export/exp1 type bind (rw,bind) > > > >=20 > > [root@vcslinux118 bin]# exportfs -v > > /export/exp1 =20 > > (rw,wdelay,nohide,no_root_squash) > > /export/exp2 =20 > > (rw,wdelay,nohide,no_root_squash) > > /export =20 > > (rw,wdelay,nohide,no_root_squash,fsid=3D0) > > [root@vcslinux118 bin]# uname -a > > Linux vcslinux118.vxindia.veritas.com > 2.6.9-22.ELsmp > > #1 SMP Mon Sep 19 18:00:54 EDT 2005 x86_64 x86_64 > > x86_64 GNU/Linux > >=20 > > I have mounted this on client as=20 > > #mount -t nfs4 10.212.102.70:/ /kiran > >=20 > > After failover i get stale handle error on client. > > Is this a known issue ? >=20 > It is expected, yes. Your failover system has to be > a precise copy of > the original filesystem. If the inode number differs > for a given file or > directory, then the filehandles will differ on the > original system and > the failover system, and so you will get ESTALE > errors. >=20 > Cheers, > Trond >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the=20 > web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D= 121642 > _______________________________________________ > NFS maillist - NFS@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nfs >=20 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=3D= 121642 _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs