netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fwd: Re: [2.6] nfs_rename: target $file busy, d_count=2
@ 2004-01-16  1:22 Mike Fedyk
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Fedyk @ 2004-01-16  1:22 UTC (permalink / raw)
  To: netdev

----- Forwarded message from Mike Fedyk <mfedyk@matchmail.com> -----

Date: Thu, 15 Jan 2004 16:54:57 -0800
From: Mike Fedyk <mfedyk@matchmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [2.6] nfs_rename: target $file busy, d_count=2

On Thu, Jan 15, 2004 at 04:03:46PM -0800, Mike Fedyk wrote:
> Both client and server are running the same 2.6.1-bk2 kernel with TCP-NFS.
> SMP, Highmem, & preempt.

I have four clients that are all having this problem also, three 2.6, and
one 2.4 client.

Using TCP-NFS they all have stale nfs handles even after a reboot (only
rebooted one to try with 2.4.23), but changed one to UDP-NFS, and it didn't
have the stale handles.

Will do more testing with UDP-NFS.

Mike


----- End forwarded message -----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Fwd: Re: [2.6] nfs_rename: target $file busy, d_count=2
@ 2004-01-16  5:06 Mike Fedyk
  2004-01-16 13:03 ` Patrick Mau
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Fedyk @ 2004-01-16  5:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev

On Thu, Jan 15, 2004 at 04:54:57PM -0800, Mike Fedyk wrote:
> On Thu, Jan 15, 2004 at 04:03:46PM -0800, Mike Fedyk wrote:
> > Both client and server are running the same 2.6.1-bk2 kernel with TCP-NFS.
> > SMP, Highmem, & preempt.
> 
> I have four clients that are all having this problem also, three 2.6, and
> one 2.4 client.
> 
> Using TCP-NFS they all have stale nfs handles even after a reboot (only
> rebooted one to try with 2.4.23), but changed one to UDP-NFS, and it didn't
> have the stale handles.
> 
> Will do more testing with UDP-NFS.

No, TCP and UDP NFS both get stale file handles. :(

Can anyone reproduce?


----- End forwarded message -----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Fwd: Re: [2.6] nfs_rename: target $file busy, d_count=2
@ 2004-01-16  5:14 Mike Fedyk
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Fedyk @ 2004-01-16  5:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev

On Thu, Jan 15, 2004 at 04:54:57PM -0800, Mike Fedyk wrote:
> On Thu, Jan 15, 2004 at 04:03:46PM -0800, Mike Fedyk wrote:
> > Both client and server are running the same 2.6.1-bk2 kernel with TCP-NFS.
> > SMP, Highmem, & preempt.
> 
> I have four clients that are all having this problem also, three 2.6, and
> one 2.4 client.
> 
> Using TCP-NFS they all have stale nfs handles even after a reboot (only
> rebooted one to try with 2.4.23), but changed one to UDP-NFS, and it didn't
> have the stale handles.
> 
> Will do more testing with UDP-NFS.

No, TCP and UDP NFS both get stale file handles. :(

Can anyone reproduce?


----- End forwarded message -----

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Fwd: Re: [2.6] nfs_rename: target $file busy, d_count=2
  2004-01-16  5:06 Fwd: Re: [2.6] nfs_rename: target $file busy, d_count=2 Mike Fedyk
@ 2004-01-16 13:03 ` Patrick Mau
  2004-01-16 18:40   ` Mike Fedyk
  0 siblings, 1 reply; 8+ messages in thread
From: Patrick Mau @ 2004-01-16 13:03 UTC (permalink / raw)
  To: linux-kernel, netdev; +Cc: Mike Fedyk

On Thu, Jan 15, 2004 at 09:06:42PM -0800, Mike Fedyk wrote:
> On Thu, Jan 15, 2004 at 04:54:57PM -0800, Mike Fedyk wrote:
> > On Thu, Jan 15, 2004 at 04:03:46PM -0800, Mike Fedyk wrote:
> > > Both client and server are running the same 2.6.1-bk2 kernel with TCP-NFS.
> > > SMP, Highmem, & preempt.
> > 
> > I have four clients that are all having this problem also, three 2.6, and
> > one 2.4 client.
> > 
> > Using TCP-NFS they all have stale nfs handles even after a reboot (only
> > rebooted one to try with 2.4.23), but changed one to UDP-NFS, and it didn't
> > have the stale handles.
> > 
> > Will do more testing with UDP-NFS.
> 
> No, TCP and UDP NFS both get stale file handles. :(
> 
> Can anyone reproduce?

Hi,

I was able to reproduce stale handles a long time ago.
A workable solution for me was to export using 'no_subtree_check'
on the server. Like this:

/data \
  tony.local.net(rw,sync,no_root_squash,no_subtree_check) \

Could you please try and reply to my address if t works ?

Thanks,
Patrick

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [2.6] nfs_rename: target $file busy, d_count=2
  2004-01-16 13:03 ` Patrick Mau
@ 2004-01-16 18:40   ` Mike Fedyk
  2004-01-16 18:55     ` Stale Filehandles was: " Mike Fedyk
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Fedyk @ 2004-01-16 18:40 UTC (permalink / raw)
  To: Patrick Mau; +Cc: linux-kernel, netdev

On Fri, Jan 16, 2004 at 02:03:36PM +0100, Patrick Mau wrote:
> On Thu, Jan 15, 2004 at 09:06:42PM -0800, Mike Fedyk wrote:
> > Can anyone reproduce?
> 
> Hi,
> 
> I was able to reproduce stale handles a long time ago.
> A workable solution for me was to export using 'no_subtree_check'
> on the server. Like this:
> 
> /data \
>   tony.local.net(rw,sync,no_root_squash,no_subtree_check) \
> 
> Could you please try and reply to my address if t works ?

I'll have to give it a try next time I get a chance to reboot this server.

I only had a few nfs clients doing light load, (kde home directories, and
such) and was able to reproduce stale nfs file handles just by running "find
> /dev/null" on the nfs share.

Have you tried the -mm tree recently?  2.6.1-mm4 even has some new nfsd
patches in there (maybe you should wait until -mm5 though, there are a few
build problems and such), as well as over 20 nfs client patches.  Haven't
checked what they all do, but some of them are RPC_GSS support mixed in with
the bug fixes.

Mike

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Stale Filehandles was: [2.6] nfs_rename: target $file busy, d_count=2
  2004-01-16 18:40   ` Mike Fedyk
@ 2004-01-16 18:55     ` Mike Fedyk
  2004-01-16 20:16       ` Mike Fedyk
       [not found]       ` <20040117184716.GX1748@srv-lnx2600.matchmail.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Mike Fedyk @ 2004-01-16 18:55 UTC (permalink / raw)
  To: Patrick Mau, linux-kernel, netdev

On Fri, Jan 16, 2004 at 10:40:31AM -0800, Mike Fedyk wrote:
> I only had a few nfs clients doing light load, (kde home directories, and
> such) and was able to reproduce stale nfs file handles just by running "find
> > /dev/null" on the nfs share.
> 
> Have you tried the -mm tree recently?  2.6.1-mm4 even has some new nfsd
> patches in there (maybe you should wait until -mm5 though, there are a few

Stale filehandles is the main problem right now, and I don't see how
nfs_raname would be related (just that it was there while I was having
trouble with the stale file handles...)

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/broken-out/nfsd-01-stale-filehandles-fixes.patch

This one looks particularly interesting...

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Stale Filehandles was: [2.6] nfs_rename: target $file busy, d_count=2
  2004-01-16 18:55     ` Stale Filehandles was: " Mike Fedyk
@ 2004-01-16 20:16       ` Mike Fedyk
       [not found]       ` <20040117184716.GX1748@srv-lnx2600.matchmail.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Mike Fedyk @ 2004-01-16 20:16 UTC (permalink / raw)
  To: Patrick Mau, linux-kernel, netdev

On Fri, Jan 16, 2004 at 10:55:04AM -0800, Mike Fedyk wrote:
> On Fri, Jan 16, 2004 at 10:40:31AM -0800, Mike Fedyk wrote:
> > I only had a few nfs clients doing light load, (kde home directories, and
> > such) and was able to reproduce stale nfs file handles just by running "find
> > > /dev/null" on the nfs share.
> > 
> > Have you tried the -mm tree recently?  2.6.1-mm4 even has some new nfsd
> > patches in there (maybe you should wait until -mm5 though, there are a few
> 
> Stale filehandles is the main problem right now, and I don't see how
> nfs_raname would be related (just that it was there while I was having
> trouble with the stale file handles...)
> 
> http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/broken-out/nfsd-01-stale-filehandles-fixes.patch
> 
> This one looks particularly interesting...
> 

Most of the nfs client patches are for NFS4 or RPCSEC_GSS.  Except for:

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/broken-out/

nfs-26-sock_disconnect.patch
nfs-31-attr.patch
nfs-client-deadlock-fix.patch
nfs-fix-bogus-setattr-calls.patch
nfs-open-intent-fix.patch
nfs-optimise-COMMIT-calls.patch
nfs-readonly-mounts-fix.patch
nfs-rpc-debug-oops-fix.patch

These might be interesting to test, but so far I haven't had troubles with
the stock Linus 2.6 nfs3 client.

Mike

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [SOLVED] Stale Filehandles was: [2.6] nfs_rename: target $file busy, d_count=2
       [not found]       ` <20040117184716.GX1748@srv-lnx2600.matchmail.com>
@ 2004-01-20 20:12         ` Mike Fedyk
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Fedyk @ 2004-01-20 20:12 UTC (permalink / raw)
  To: Patrick Mau, linux-kernel, netdev

On Sat, Jan 17, 2004 at 10:47:16AM -0800, Mike Fedyk wrote:
> On Fri, Jan 16, 2004 at 10:55:04AM -0800, Mike Fedyk wrote:
> > On Fri, Jan 16, 2004 at 10:40:31AM -0800, Mike Fedyk wrote:
> > > I only had a few nfs clients doing light load, (kde home directories, and
> > > such) and was able to reproduce stale nfs file handles just by running "find
> > > > /dev/null" on the nfs share.
> > > 
> > > Have you tried the -mm tree recently?  2.6.1-mm4 even has some new nfsd
> > > patches in there (maybe you should wait until -mm5 though, there are a few
> > 
> > Stale filehandles is the main problem right now, and I don't see how
> > nfs_raname would be related (just that it was there while I was having
> > trouble with the stale file handles...)
> > 
> > http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm4/broken-out/nfsd-01-stale-filehandles-fixes.patch
> > 
> > This one looks particularly interesting...
> > 
> 
> I'm running 2.6.1-bk2-nfs-stale-file-handles on my nfsd server now, and so
> far I haven't seen any stale filehandles.
> 
> Can you guys patch stock 2.6.1 with the above and test also so we can get
> more breadth in the testing results?
> 

Well, it's been running since friday with the same load that killed it in
less than a day, so I'm happy.

And BTW, the code has been merged by Linus and is in 2.6.1-bk6.

Mike

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-01-20 20:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-16  5:06 Fwd: Re: [2.6] nfs_rename: target $file busy, d_count=2 Mike Fedyk
2004-01-16 13:03 ` Patrick Mau
2004-01-16 18:40   ` Mike Fedyk
2004-01-16 18:55     ` Stale Filehandles was: " Mike Fedyk
2004-01-16 20:16       ` Mike Fedyk
     [not found]       ` <20040117184716.GX1748@srv-lnx2600.matchmail.com>
2004-01-20 20:12         ` [SOLVED] " Mike Fedyk
  -- strict thread matches above, loose matches on Subject: below --
2004-01-16  5:14 Fwd: " Mike Fedyk
2004-01-16  1:22 Mike Fedyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).