Re: [3.2.5] Stale NFS file handle issue on subdirectory of NFSv3 mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2012-02-28 at 17:06 -0800, Simon Kirby wrote:
> Hi,
> 
> Since upgrading from 2.6.39-ish to 3.1-ish, and on 3.2.5, we are seeing a
> lot of occurrences of Stale NFS file handle errors when accessing a mount
> whose NFSv3 source is a subdirectory of another mount point. For example,
> in this case:
> 
> # mount | grep /shared
> 10.10.1.1:/storage/vg1/shared on /shared type nfs (rw,hard,intr,tcp,timeo=300,retrans=2,vers=3,addr=10.10.1.1)
> 10.10.1.1:/storage/vg1/shared/fp on /usr/local/fp type nfs (rw,hard,intr,tcp,timeo=300,retrans=2,vers=3,addr=10.10.1.1)
> 
> When the issue occurs, the /shared mount point is fine as is /shared/fp,
> but "df" or "ls" or anything on /usr/local/fp will ESTALE. This somehow
> corrected itself while I was trying to gather information this time, but
> usually the d_ino returned by getdents() on the parent directory shows a
> different inode number than for /shared/fp.
> 
> When this happens, I am unable to umount -f or umount -l /usr/local/fp
> (ESTALE), but I can actually umount /shared; umount /usr/local/fp; and
> mount -a, which seems to "fix" it.
> 
> is this acting similar to a bind mount internally now and revalidation or
> something is breaking in this case? This is happening fairly often, so I
> will try to collect more info again next time.

ESTALE is a server side error, not a client side error. What server are
you using here, and what do the export options look like?

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux