From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id pAMMFH8h174780 for ; Tue, 22 Nov 2011 16:15:18 -0600 Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id D411E162D73A for ; Tue, 22 Nov 2011 14:15:16 -0800 (PST) Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by cuda.sgi.com with ESMTP id ZNvjuS0gPqLggxwK for ; Tue, 22 Nov 2011 14:15:16 -0800 (PST) Date: Tue, 22 Nov 2011 17:15:15 -0500 From: Christoph Hellwig Subject: Re: stale NFS file handle problem on XFS inode64 Message-ID: <20111122221515.GA29540@infradead.org> References: <20111121170459.GA1327@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: hank peng Cc: Christoph Hellwig , linux-xfs@oss.sgi.com On Tue, Nov 22, 2011 at 08:19:15AM +0800, hank peng wrote: > > Do you export the root directory of the XFS filesystem, or a > > subdirectory in it? ??If it's the former it should work in theory, > > althrough I'm not sure how well 64-bit inode numbers work with a client > > that old, if it's the latter it needs a few tweaks to work, see > > > The following is what I did: > 1. mkfs.xfs /dev/sdb (whole disk) > 2. create a mount point in my root filesystem: > mkdir /mnt/mymount > 3. monut xfs with inode64 > mount /dev/sdb /mnt/mymount -o inode64 > 4. export it in NFS /etc/exports > /mnt/mymount *(rw, no_root,squash, sync) > > so, is there any problem here? That should work fine, and I've tried it a lot of times. Do you see the same issue when mounting the fs on the server (not recommended for production use, just for testing!) and accessing it from the 2.6.35 kernel nfs client? _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs