2011/11/22 Christoph Hellwig <hch@xxxxxxxxxxxxx>:
> On Mon, Nov 21, 2011 at 09:00:57PM +0800, hank peng wrote:
>> I have a 4TB XFS filesystem mounted with "inode64" option, and I
>> exported it using NFS v3, on NFS client, I entered a subdirectory and
>> got "stale NFS file handle" error.
>> ls -il showed that its inode number exceed 32 bit limit.
>> NFS server: kernel version is 22.214.171.124
>> NFS client: kernel version is 2.6.18
> 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:
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?
> for details.
The simplest is not all best but the best is surely the simplest!