xfs
[Top] [All Lists]

Re: NFS with XFS

To: "Gabe E. Nydick" <gnydick@xxxxxxxxxxxxx>, <linux-xfs@xxxxxxxxxxx>
Subject: Re: NFS with XFS
From: Seth Mos <knuffie@xxxxxxxxx>
Date: Wed, 17 Oct 2001 00:40:16 +0200
In-reply-to: <DJEKLKNGODBHJMJHAPMJGEOKCJAA.gnydick@xxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
At 14:42 16-10-2001 -0700, Gabe E. Nydick wrote:
I run a 2.4.5 XFS 1.0.1 kernel with all of the patches and updates user-land
programs from SGI and I am experiencing a problem with NFS.  My web servers
are nfs clients of my XFS 1.0.1 file server and when at least mildly loaded,
the web servers write uploaded files corruptly. These files are between 512K
and 1MB in size and being uploaded through CGI where they are read 4k at a
time and written.  Since the web servers are at least slightly loaded, the
reading of the buffer and writing of the file are not continuous and I get
corrupt files.  If I change my scheme to read all of the buffer into memory
and then write all of the file at once, I do not get corruption.  This leads
me to believe that XFS over NFS is having issues.  I have also seen posts in
the internet with similar problems.  I can recreate this corruption at will.

Please use something after 2.4.6 which had a lot of NFS testing and fixing.

Follow the hints from Eric for debugging the exact workaround. For production you might update you're kernel and the problem might vanish.

Cheers



Thanks
-------------------------
Gabe E. Nydick
Systems Lead
ClubPhoto, Inc.
P - 408.423.6611
F - 408.557.6799
-------------------------

--
Seth
Every program has two purposes one for which
it was written and another for which it wasn't
I use the last kind.


<Prev in Thread] Current Thread [Next in Thread>