newnfs client and statfs
Kostik Belousov
kostikbel at gmail.com
Sun May 1 02:05:08 UTC 2011
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% /
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110501/7b377dd8/attachment.pgp
More information about the freebsd-fs
mailing list