newnfs client and statfs
Rick Macklem
rmacklem at uoguelph.ca
Sun May 1 01:13:10 UTC 2011
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statfs.patch
Type: text/x-patch
Size: 1465 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110501/28d9b446/statfs.bin
More information about the freebsd-fs
mailing list