Subject: Re: > 4GB with NFS?
To: None <>
From: Giles Lean <>
List: current-users
Date: 01/26/2001 10:28:08
> I came across an embarrassing comparison last night-
> NetBSD NFS clients (well, i386) stop writing files at 4GB.

Odd -- what NFS version?  (Can't only NFSv3 do >4GB files?)

Here I can certainly write to >4GB files.  Client and server are both
NetBSD_1.5_BETA2/i386.  No special mount options:  /home      nfs    rw 0 0

$ touch fubar
$ ls -l fubar
-rw-r--r--  1 giles  nemeton  0 Jan 26 10:26 fubar
$ dd if=/dev/zero count=1 seek=16777216 of=fubar
1+0 records in
1+0 records out
512 bytes transferred in 1 secs (512 bytes/sec)
$ ls -l fubar
-rw-r--r--  1 giles  nemeton  8589935104 Jan 26 10:26 fubar

> Solaris, with O_LARGEFILE options in the open arguments, does not.
> Does anyone here know what NetBSD ought to be doing about this?
> Or have I missed something? There is no O_LARGEFILE in fcntl.h

NetBSD doesn't need the O_LARGEFILE kludge, since off_t is 64 bits
even on 32 bit systems.