tech-net archive

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

Re: Subtle NFS incompatibility with SunOS 4.1.1 on 68K



On Apr 3, 2020, at 10:25 AM, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> 
> cmhanson%eschatologist.net@localhost (Chris Hanson) writes:
> 
>> On Mar 29, 2020, at 10:23 PM, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
>>> 
>>> N.B. if my assumption is right that the preferred blocksize of 64k
>>> is truncated somewhere and causing this behaviour, then you either need
>>> to serve a filesystem with smaller blocks or patch the NFS server
>>> code in nfsm_srvfattr() to verify this. For NFSv2 the value is transmitted
>>> in fa2_blocksize.
> 
>> I'll see whether doing so fixes anything, and just use the same preferred block size as my Linux box (4096). Or should I use the server's page size (8192)?
> 
> 
> Can you please try the patch at:
> 
> http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/nfs.diff

I'll give it a try! I did just rebuild with a hardcoded blocksize of 8192 and that works perfectly, so I expect your fix will work well too.

  -- Chris




Home | Main Index | Thread Index | Old Index