lkml.org 
[lkml]   [2007]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: NFS EINVAL on open(... | O_TRUNC) on 2.6.23.9
Date

On Dec 22, 2007, at 5:52 AM, Gianluca Alberici wrote:
> I've run into this problem 2.6.23.9. The open syscall will return
> "Invalid argument" when O_TRUNC is set on existing files.
>
> The same file can be opened for append or removed.
>
> The evidence is for example:
>
> mars:~# mount localhost:/opt/nfs/ /mnt/tmp
> mars:~# echo "Hello" > /mnt/tmp/test-file
> mars:~# echo "Hello" > /mnt/tmp/test-file
> bash: /mnt/tmp/test-file: Invalid argument

Can you show an strace of this please? Also, might suggest "rpcdebug -
m nfsd -s all"

--
Scott


\
 
 \ /
  Last update: 2007-12-23 08:21    [W:0.051 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site