public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* nfs 2 over udp file corruption
@ 2004-04-16 12:20 PasTresBeau
  2004-04-16 16:20 ` Trond Myklebust
  0 siblings, 1 reply; 3+ messages in thread
From: PasTresBeau @ 2004-04-16 12:20 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have the following strange behavior:

Copying a file over a nfs v2-udp mount
gets the file corrupted.. the command
exits saying "mv: closing <my_filename>: IO Error"

The first copy after mounting the nfs volume succeed
but next all fails.

The problem disappear when copying over a nfs v3-tcp
mount.

This behavior appears with kernel 2.6.5,
but not with 2.6.4 and previous.

My kernel is the client, the server is running fbsd 4.9..

I am running 2.6.5 compiled with gcc 3.3 20040217
and binutils 2.14.90.0.8 on a P4 2.6 with HT, 512 RAM.

--
Damien

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

* Re: nfs 2 over udp file corruption
  2004-04-16 12:20 nfs 2 over udp file corruption PasTresBeau
@ 2004-04-16 16:20 ` Trond Myklebust
  2004-04-17  0:16   ` PasTresBeau
  0 siblings, 1 reply; 3+ messages in thread
From: Trond Myklebust @ 2004-04-16 16:20 UTC (permalink / raw)
  To: PasTresBeau; +Cc: linux-kernel

On Fri, 2004-04-16 at 05:20, PasTresBeau wrote:
> Hi,
> 
> I have the following strange behavior:
> 
> Copying a file over a nfs v2-udp mount
> gets the file corrupted.. the command
> exits saying "mv: closing <my_filename>: IO Error"

Are you using the "soft" mount option?

Cheers,
  Trond

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

* Re: nfs 2 over udp file corruption
  2004-04-16 16:20 ` Trond Myklebust
@ 2004-04-17  0:16   ` PasTresBeau
  0 siblings, 0 replies; 3+ messages in thread
From: PasTresBeau @ 2004-04-17  0:16 UTC (permalink / raw)
  To: linux-kernel

Trond Myklebust wrote:
> On Fri, 2004-04-16 at 05:20, PasTresBeau wrote:
> 
>>Copying a file over a nfs v2-udp mount
>>gets the file corrupted.. the command
>>exits saying "mv: closing <my_filename>: IO Error"
> 
> > Are you using the "soft" mount option?

yes, my fstab entry was :
defaults,nodev,rsize=8192,wsize=8192,soft

the problem disappeared when added ..,tcp,nfsvers=3 ;)

--
damien


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

end of thread, other threads:[~2004-04-17  0:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-16 12:20 nfs 2 over udp file corruption PasTresBeau
2004-04-16 16:20 ` Trond Myklebust
2004-04-17  0:16   ` PasTresBeau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox