[Linux-cluster] Gfs not return available space after delete file

nattapon viroonsri nattaponv at hotmail.com
Sun May 13 06:21:50 UTC 2007


Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
rhel-4-u4-rhcs-i386
GFS-kernel-smp-2.6.9-58.0
GFS-6.1.6

I have dell 2 nodes connected to emc storage mount gfs partition
my problem is after i create file and delete ,  and check with df , gfs not 
return available space
but if i check with du it show result correctly

I have use below command to create files on gfs
for i in $(seq 1 2700); do dd if=/dev/zero of=h$i bs=1M count=1 ; done

after file created i have delete all file  use   "rm *" but when i check 
available space with df
it not return the same size as before i created files

If i use gfs with powerpath ( EMCpower.LINUX-4.5.1-022.rhel.i386 ) , even 
gfs_tool reclaim not return any available space
so i  recreated gfs file system again without powerpath

the same problem still remain, But when use gfs_tool reclaim , this time it 
return more available space but still not the same as before i created files

1. EMCpowerpath not compatible with gfs ? even gfs_tool reclaim not return 
space
2. If i dont use EMCpowerpath, Do i have to setup schedule to run "gfs_tool 
reclaim" in crontab to correct this ?
    How can i config gfs to automatic reclaim without remount or run 
"gfs_tool reclaim"  ?


Regards,
Nattapon

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the Linux-cluster mailing list