xfs
[Top] [All Lists]

RE: xfs: validate inode numbers in file handles correctly--NFS Stale Fil

To: <hch@xxxxxxxxxxxxx>
Subject: RE: xfs: validate inode numbers in file handles correctly--NFS Stale File Handle Again
From: yangguoquan <ygq51@xxxxxxxxxxx>
Date: Wed, 1 Feb 2012 13:46:58 +0800
Cc: <linux-xfs@xxxxxxxxxxx>, <pengxihan@xxxxxxxxx>
Importance: Normal
In-reply-to: <20120124175826.GA23671@xxxxxxxxxxxxx>
References: <1276846374-23916-1-git-send-email-david@xxxxxxxxxxxxx>,<loom.20111123T134243-580@xxxxxxxxxxxxxx>,<20111123143045.GA20892@xxxxxxxxxxxxx>,<20111128111947.GA26454@xxxxxxxxxxxxx>,<SNT135-W2217EB3D3B80A8433A1FA4A4B70@xxxxxxx>,<SNT135-W13E443B8D7BE73D5955314A4AD0@xxxxxxx>,<20120102150201.GB31110@xxxxxxxxxxxxx>,<SNT135-W48F0EBD0BBCFF1CAFBF2BEA4970@xxxxxxx>,<20120124175826.GA23671@xxxxxxxxxxxxx>
The handles appear in wireshark is the same as in the /proc/net/rpc/nfsd.fh/content info
but there no corresponding directory path. just like this:
# * 6 0x06fd0000000000000000000000000000
root@Dahua_Storage:~# cat /proc/net/rpc/nfsd.fh/content
#domain fsidtype fsid [path]
* 6 0x00fd0000000000000000000000000000 /mnt/storage_pool/testnfs00
* 6 0x03fd0000000000000000000000000000 /mnt/storage_pool/testnfs03
* 6 0x02fd0000000000000000000000000000 /mnt/storage_pool/testnfs02
* 6 0x01fd0000000000000000000000000000 /mnt/storage_pool/testnfs01
# * 6 0x06fd0000000000000000000000000000
* 6 0x05fd0000000000000000000000000000 /mnt/storage_pool/testnfs05
* 6 0x04fd0000000000000000000000000000 /mnt/storage_pool/testnfs04
# * 6 0x09fd0000000000000000000000000000
# * 6 0x08fd0000000000000000000000000000
# * 6 0x07fd0000000000000000000000000000
 
more info, this problem happens when rebooting the storage server while the nfs clients is still accessing the mounting points.
> Date: Tue, 24 Jan 2012 12:58:26 -0500
> From: hch@xxxxxxxxxxxxx
> To: ygq51@xxxxxxxxxxx
> Subject: Re: xfs: validate inode numbers in file handles correctly--NFS Stale File Handle Again
> CC: hch@xxxxxxxxxxxxx; linux-xfs@xxxxxxxxxxx; pengxihan@xxxxxxxxx
>
> On Wed, Jan 04, 2012 at 10:20:31AM +0800, yangguoquan wrote:
> >
> > Yes, They are mount points.
> >
> > /dev/mapper/storage_pool-testnfs00 on /mnt/storage_pool/testnfs00 type xfs (rw)
>
> In that case I really have no idea. Did you make sure you no
> outstanding "old" filehandles before the fix on clients? How do the
> handles look in wireshark traces?
>
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
<Prev in Thread] Current Thread [Next in Thread>