From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 04:16:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3C5F16A4CE for ; Thu, 3 Jun 2004 04:16:21 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id C79BD43D1D for ; Thu, 3 Jun 2004 04:16:21 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (0bf0d468278cb1a0cc5d3e1b57752aa7@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i53BGKfY021582; Thu, 3 Jun 2004 04:16:20 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 081F151955; Thu, 3 Jun 2004 04:16:19 -0700 (PDT) Date: Thu, 3 Jun 2004 04:16:19 -0700 From: Kris Kennaway To: Jim Hatfield Message-ID: <20040603111619.GA36964@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: Issues with large files on nfs-mounted filesystems? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 11:16:22 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 03, 2004 at 11:42:40AM +0100, Jim Hatfield wrote: > I've made a large .mpg file on a Linux machine (because some > tools, such as mplex, are newer than available in FreeBSD ports). >=20 > Here's a directory listing: >=20 > >-rw-r--r-- 1 jim users 4388444160 Jun 2 23:15 movie.mpg >=20 > I want to burn it to DVD but the burner is on a BSD box, so=20 > I nfs-mount the /home partition. However when I look at the > same file from FreeBSD 5.1 I get: >=20 > >-rw-r--r-- 1 jim 100 93476864 Jun 3 00:15 movie.mpg >=20 > (yes I know there is a time zone issue. I haven't worked=20 > out how to set it on Gentoo yet). >=20 > The difference between the sizes is 4294967296, ie 2^32. >=20 > Anyone know if this is an issue with the NFS implementations > or whether the NFS protocols have a 32-bit size limit? The mount_nfs manpage tells you: -2 Use the NFS Version 2 protocol (the default is to try version 3 first then version 2). Note that NFS version 2 has a file size limit of 2 gigabytes. Linux used to, and maybe still does, have stability problems with NFSv3, so the default was/is to use NFSv2. FreeBSD has no such problems :) Kris --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAvwiDWry0BWjoQKURAmDOAKDM9CJO2xU+mIp4LG75yuiOXtLqEACeKucX 0OchJWkWDdcIB7XfD6rpR2U= =m6j3 -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--