tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Cannot list a particular directory through NFS with UDP

> I have seen NFS fail (with the old 8K packets) on a network that was
> badly terminated (back in the 10base2 days) because the back-to-back
> packets self-collided while single packets with some spacing made it
> fine.

I recall I once had an NFS problem that exhibited itself as failures
reading files of certain sizes.  Turned out that the reader had
problems receiving packets smaller than a certain size at the Ethernet
level.  UDP and NFS overhead meant that every packet was larger than
that, but if the file size was right, the last data packet got
fragmented and the last frag got lost thanks to this.  As I recall,
the sender padded to 60 octets but the receiver required 64 - but the
exact values are rather fuzzy; this was decades ago.

Mounting with rsize=1024 hid the problem, because then no NFS packet
got hit with IP-layer fragmentation.  A TCP mount would doubtless have
worked just as well, if reliable TCP mounts had existed at the time (I
don't think they did).

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index