Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 12:02:27 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        jhs@berlix.com, Julian Stacey <jhs@berklix.org>
Subject:   Re: NFS on 6.1 limits at 4 Gig
Message-ID:  <200611021202.28351.jhb@freebsd.org>
In-Reply-To: <200611021050.kA2AoH5S028916@fire.jhs.private>
References:  <200611021050.kA2AoH5S028916@fire.jhs.private>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 02 November 2006 05:50, Julian Stacey wrote:
> NFS fails on files >= 4 Gig	 Can someone confirm please. 
> 
> uname -r	# 6.1-RELEASE 	(both hosts)
> 		# echo "1024 1024 * 4 * 1 + p" | dc	# 4194305	
> dd if=/dev/zero of=junk bs=1k count=4194305 
> ls -l junk	# 4294968320 bytes
> rsh an_nfs_host ls -l /host/`hostname -s`/usr/tmp/junk # 1024 byte size!
> 				# with count=4194304, ls shows 0 bytes.
> 
> It's not AMD failing, but NFS, as with an /etc/amd.map with a
> non NFS entry for my host "laps" for efficiency (in case some
> shell on host laps mounts itself), the full size 4294968320 is seen.
> 	/etc/amd.map 
> 		/defaults       type:=host;fs:=${autodir}/${rhost};rhost:=${key}
> 		laps            type:=link;fs:=..
> 
> It's not just ls, cmp fails too, ( as also does my
> 	http://berklix.com/~jhs/src/bsd/jhs/bin/public/cmpd/cmpd.c )
> cmp -z junk /host/laps/usr/tmp/junk # junk /host/laps/usr/tmp/junk differ: size
> 
> Is send-pr appropriate ?

Are you using NFS v2 or v3?  v2 doesn't support large files.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611021202.28351.jhb>