lkml.org 
[lkml]   [1997]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectNFS writes
Hi,

There seems to be a problem with NFS write requests that I'm guessing is
to do with word size.

I just ran tcpdump while doing the following (alces is an Alpha, cyberelk
an Intel):

[tim@alces tim]$ echo hello > /nfs/home/tmw20/file
[tmw20@cyberelk tmw20]$ echo hello > /nfs/home/tim/file

The write request from the Alpha shows the problem:
15:34:59.411856 alces.elk.co.uk.63a30a03 > cyberelk.elk.co.uk.nfs: 188 write fh Unknown/1 0 (0) bytes @ 6 (6)

... compared with the equivalent one from the PC:
15:36:27.795322 cyberelk.elk.co.uk.a7ea4000 > alces.elk.co.uk.nfs: 198 write fh Unknown/1 6 (6) bytes @ 0 (0)

The PC is writing 6 bytes at offset 0, while the Alpha is trying to write
0 bytes at offset 6. The result is that file created over NFS from the
Alpha always end up zero length.

Tim.
*/


\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.102 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site