<p>Hi all.</p>
<p>I have a GFS2 cluster of three machines using an iSCSI disk.<br>Everything went fine on the initial tests and the cluster seems to work just<br>great.<br>A couple of days ago I submitted this cluster to a number of file creation<br>
operations and whilst this was providing enough load to see some performance<br>data it was also inadvertently deleting some of the files being created for<br>the purpose of the test whilst these files were still being written to.</p>

<p>I though this shouldn't be a problem and that a simple fsck would be able to<br>recover the space lost on those inodes.<br>But that doesn't seem the case and I'll show why.</p>
<p>DF output:<br>Filesystem            Size  Used Avail Use% Mounted on<br>/dev/mapper/gfsvg-gfslv<br>                      200G  200G  839M 100% /gfs</p>
<div>du -sh output:<br>[root@vmcluster1 gfs]# du -sh<br>101G    .</div>
<div> </div>
<div>gfs2_tool output:</div>
<div>[root@vmcluster1 gfs]# gfs2_tool df /gfs<br>/gfs:<br>  SB lock proto = "lock_dlm"<br>  SB lock table = "iscsicluster:hd"<br>  SB ondisk format = 1801<br>  SB multihost format = 1900<br>  Block size = 4096<br>
  Journals = 3<br>  Resource Groups = 800<br>  Mounted lock proto = "lock_dlm"<br>  Mounted lock table = "iscsicluster:hd"<br>  Mounted host data = "jid=0:id=65537:first=1"<br>  Journal number = 0<br>
  Lock module flags = 0<br>  Local flocks = FALSE<br>  Local caching = FALSE</div>
<p>  Type           Total          Used           Free           use%<br>  ------------------------------------------------------------------------<br>  data           52423184       52208404       214780         100%<br>
  inodes         215085         305            214780         0%</p>
<p> </p>
<div>As you can see by du's output there's only 101G being used and df's<br>reporting the FS to be 100% used.<br>I've run fsck.gf2 several times on one box on all the boxes but it just<br>doesn't seem to be fixing this right.<br>
It reminds me of a post I saw<br><a href="https://bugzilla.redhat.com/show_bug.cgi?id=325151">https://bugzilla.redhat.com/show_bug.cgi?id=325151</a> .</div>
<div><br>When I ran the first fsck I did saw a lot of issues being fixed and I could<br>almost swear that the first time I mounted the cluster FS after repairing it<br>was reporting the right size again.<br>The next time I mounted it it all reverted back to what I show above.</div>

<p>I'm using</p>
<p>[root@vmcluster1 gfs]# gfs2_tool version<br>gfs2_tool 0.1.44 (built Jul  6 2008 10:57:30)<br>Copyright (C) Red Hat, Inc.  2004-2006  All rights reserved.</p>
<p>Anyone with a similar issue ?!</p>
<p>Cheers,</p>
<p><br>   PECastro</p>