Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2011 05:04:17 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        rmacklem@freebsd.org, fs@freebsd.org
Subject:   Re: newnfs client and statfs
Message-ID:  <20110501020417.GW48734@deviant.kiev.zoral.com.ua>
In-Reply-To: <149943048.820546.1304211668413.JavaMail.root@erie.cs.uoguelph.ca>
References:  <20110430223412.GS48734@deviant.kiev.zoral.com.ua> <149943048.820546.1304211668413.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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:
> > 
> > # 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% /
> > 
> > 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
> > 
> > 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).
> > 
> > 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.)
> 
> 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%    /

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk28v6EACgkQC3+MBN1Mb4irHACg86T0P5gwk/djC8ZcZK4NsF0p
lFsAoKLODsjse8CT/Lh2pCJwtMqGekbL
=6PO1
-----END PGP SIGNATURE-----

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