[Gluster-users] Fwd: deleted files not giving space back

Gerald Brandt gbr at majentis.com
Wed Apr 25 11:03:53 UTC 2012


Can anyone answer the question below?

----- Forwarded Message -----
From: "Gerald Brandt" <gbr at majentis.com>
To: "gluster-users" <gluster-users at gluster.org>
Sent: Monday, April 23, 2012 12:39:02 PM
Subject: [Gluster-users] deleted files not giving space back

Hi,

I'm running 3.2.5 on Ubuntu 10.04.  I have a USB drive that stores rotating snapshots of our VM's, and I keep 2 days of snapshots on the drive.

Every night a cron job runs and deletes the oldest snapshots off the drive.  After a few days, the gluster mount, and it's base drive, show 100% full.  If I go into the gluster mount, a du -sh shows the drive to be about 50% full.

If I unmount the gluster mount, restart glusterd, and remount the gluster mount, everything goes back to normal.

At first I tried to just unmount the gluster mount, and then unmount the physical drive.  I couldn'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't show them on the disk, and a du didn't count their size.  Does anyone know why the files are still actively open?

Gerald



_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lsof.txt
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20120425/ce20300b/attachment.txt>


More information about the Gluster-users mailing list