On Oct 13, 2008 13:42 -0500, Hendelman, Rob wrote: > Total space available: df -k and lfs df show the exact same # of 1k > blocks. So far so good. However, a df -k shows 4783238028 1k blocks in > use, while a lfs df shows 5399853568 1k blocks in use. Interestingly, > lfs df -i and df -i both show the same number of total inodes the same. > They ALSO both show the used inodes the same as well. Free inodes are > also the same. Everything matches. > > Anyone know why "df -k" used space doesn't match between "lfs df -k" and > df -k ? > > Client is 2.6.22 patchless kernel/client on Ubuntu. The server is > centos using the packages provided for download, including kernel: > > -bash-3.1$ rpm -qa | sort | grep lust > kernel-lustre-smp-2.6.18-53.1.13.el5_lustre.1.6.4.3 > lustre-1.6.4.3-2.6.18_53.1.13.el5_lustre.1.6.4.3smp > lustre-ldiskfs-3.0.4-2.6.18_53.1.13.el5_lustre.1.6.4.3smp > lustre-modules-1.6.4.3-2.6.18_53.1.13.el5_lustre.1.6.4.3smp
It's a bug that was fixed - we were printing blocks in use based on "free" instead of "available" blocks, or something similar. Sorry, I don't have the bug number handy. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc. _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
