View Single Post

  #3 (permalink)  
Old 04-30-2008
byaarov@yahoo.com
 
Posts: n/a
Default Re: Linux NFS fsync problems

On Apr 30, 1:36 pm, "h.stroph" <m...@privacy.net> wrote:
> Innews:efd6663a-8305-40ef-a5d5-c12e3c208cc8@m1g2000pre.googlegroups.com,
> byaa...@yahoo.com <byaa...@yahoo.com> typed:
>
> > I have an NFS mount from a linux client to a linux NFS server using a
> > soft mount.

>
> > I have a program that is writing to a file on that share, correctly
> > checking for return values ....

>
> > When I reboot my NFS server, my client application does not see any
> > error and fsync continues to return success. When the NFS server
> > comes back up, the writes keep going through, but all the writes that
> > were issued while the NFS server was down is lost.

>
> Obviously, the program that is "correctly checking for return values" isn't.


No, it is, since it behaves correctly against other systems, like a
NetApp. It's a pretty simple program that does a pwrite and an fsync.
Reply With Quote