[Linux-cluster] GFS problem with du and df

Maciej Bogucki maciej.bogucki at artegence.com
Mon Feb 5 17:16:11 UTC 2007


I hava 5 node cluster with GFS filesystem. One of the partition is used 
to share indexes for Apache Lucene search engine - 
http://lucene.apache.org/java/docs/ across 5 application nodes.
The problem is that "du" command show different output than "df".
"du" output is correct, I'm sure that there is only 15M data.
The strangest thins is that "df" output of used space grows from minute 
to minute.

Here is the output of du, df, and mount.
[root at repo05 ~]# df /datafs/search-indexes/
Filesystem           1K-blocks      Used Available Use% Mounted on
                        4980192   3169396   1810796  64% 
[root at repo05 ~]# du -sh /datafs/search-indexes/
15M     /datafs/search-indexes/
[root at repo05 ~]# mount | grep search
/dev/mapper/cluster_116550929916-lucene on /datafs/search-indexes type 
gfs (rw,noatime,nodiratime)
[root at repo05 ~]#

Any ideas?

Best Regards
Maciej Bogucki

More information about the Linux-cluster mailing list