[Lustre-discuss] lfs df vs. df -k

Hendelman, Rob Rob.Hendelman at magnetar.com
Mon Oct 13 11:42:32 PDT 2008


So I've read through the mailing lists, faq, etc and have not come
across this.

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

Thanks,

Robert

The information contained in this message and its attachments 
is intended only for the private and confidential use of the 
intended recipient(s).  If you are not the intended recipient 
(or have received this e-mail in error) please notify the 
sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-
mail is strictly prohibited.



More information about the lustre-discuss mailing list