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 5:12 AM, David Brownlee <abs%absd.org@localhost> wrote:
> 
> On Fri, 3 Apr 2020 at 00:37, Chris Hanson <cmhanson%eschatologist.net@localhost> wrote:
>> 
>> 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)?
> 
> As an aside - you mentioned that exporting a <2GB filesystem from
> NetBSD worked - what blocksize did that report?

stat.st_blksize = 8192 (0x2000)
stat.st_blocks = 70 (0x46)

  -- Chris



Home | Main Index | Thread Index | Old Index