From owner-freebsd-fs@FreeBSD.ORG Sun May 1 02:05:08 2011 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 551EE106566B; Sun, 1 May 2011 02:05:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id A151B8FC12; Sun, 1 May 2011 02:05:07 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p4124KCG074095 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 May 2011 05:04:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p4124HdV023240; Sun, 1 May 2011 05:04:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p4124HvV023239; Sun, 1 May 2011 05:04:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 1 May 2011 05:04:17 +0300 From: Kostik Belousov To: Rick Macklem Message-ID: <20110501020417.GW48734@deviant.kiev.zoral.com.ua> References: <20110430223412.GS48734@deviant.kiev.zoral.com.ua> <149943048.820546.1304211668413.JavaMail.root@erie.cs.uoguelph.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="drH2ShMMYOwzF+Tg" Content-Disposition: inline In-Reply-To: <149943048.820546.1304211668413.JavaMail.root@erie.cs.uoguelph.ca> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: rmacklem@freebsd.org, fs@freebsd.org Subject: Re: newnfs client and statfs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2011 02:05:08 -0000 --drH2ShMMYOwzF+Tg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 30, 2011 at 09:01:08PM -0400, Rick Macklem wrote: > > I just netbooted fresh GENERIC (with irrelevant local patch) over the > > pxe, and got the following: > >=20 > > # df -h > > Filesystem Size Used Avail Capacity Mounted on > > 192.168.102.110:/usr/home/kostik/build/bsd/DEV/netboot/x -267G 130G > > -539G -32% / > >=20 > > On the server side, it is up-to-date stable/8 with oldnfs server, > > export is > > /dev/ada1p2 1.8T 129G 1.5T 8% /usr/home > >=20 > > Do we have some long-typed var lurking in new nfs client code, > > instead of off_t ? I am almost sure this is nfs problem, since I > > booted > > i386 in the same setup month ago, and did not had the compaints from > > sendmail about low space on spool (which is why I noted this issue > > now). > >=20 > > amd64 kernel (with nfscl loaded as module) correctly reports > > 192.168.102.110:/usr/home/kostik/build/bsd/DEV/netboot/x 1.8T 129G > > 1.5T 8% / > Oops, I never noticed that the "struct statfs" fields had been bumped > to 64bits. I've attached a patch for the client. Could you please test > it? (I'll look in case the server has a similar problem.) >=20 > Thanks for reporting it, rick Thank you for the quick fixed. Patch is fine. 192.168.102.110:/usr/home/kostik/build/bsd/DEV/netboot/x 1.7T 130G = 1.5T 8% / --drH2ShMMYOwzF+Tg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk28v6EACgkQC3+MBN1Mb4irHACg86T0P5gwk/djC8ZcZK4NsF0p lFsAoKLODsjse8CT/Lh2pCJwtMqGekbL =6PO1 -----END PGP SIGNATURE----- --drH2ShMMYOwzF+Tg--