<div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 25, 2012 at 8:03 AM, Gerald Brandt <span dir="ltr">&lt;<a href="mailto:gbr@majentis.com" target="_blank">gbr@majentis.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can anyone answer the question below?<br>
<br>
----- Forwarded Message -----<br>
From: &quot;Gerald Brandt&quot; &lt;<a href="mailto:gbr@majentis.com">gbr@majentis.com</a>&gt;<br>
To: &quot;gluster-users&quot; &lt;<a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a>&gt;<br>
Sent: Monday, April 23, 2012 12:39:02 PM<br>
Subject: [Gluster-users] deleted files not giving space back<br>
<br>
Hi,<br>
<br>
I&#39;m running 3.2.5 on Ubuntu 10.04.  I have a USB drive that stores rotating snapshots of our VM&#39;s, and I keep 2 days of snapshots on the drive.<br>
<br>
Every night a cron job runs and deletes the oldest snapshots off the drive.  After a few days, the gluster mount, and it&#39;s base drive, show 100% full.  If I go into the gluster mount, a du -sh shows the drive to be about 50% full.<br>

<br>
If I unmount the gluster mount, restart glusterd, and remount the gluster mount, everything goes back to normal.<br>
<br>
At first I tried to just unmount the gluster mount, and then unmount the physical drive.  I couldn&#39;t unmmount the physical drive, it was in use.  An lsof got me the attached file.  Each of the .xva files are files that were deleted.  An ls didn&#39;t show them on the disk, and a du didn&#39;t count their size.  Does anyone know why the files are still actively open?<br>
</blockquote><div><br>I can&#39;t say why but I bet it has nothing to do with gluster. Try to look at this issue as if there was no gluster involved.<br><br>I don&#39;t know what kind of application creates .xva files but does this application really releases the files? How are you deleting them? What user/application lsof says is hiding the files? Aren&#39;t you accessing the files directly on the bricks somehow?<br>
<br><br>Rodrigo Severo<br><br></div></div></div>