Michael Cronenworth
2014-May-03 00:36 UTC
[Gluster-users] used space not reclaimed on file delete
Hello, GlusterFS 3.4.3 client/servers Single server share When I delete a file that hasn't been hardlinked with glusterfs metadata I see used disk space decrease in df. If I delete a hardlinked file my disk space does not decrease. What's the discrepancy here? Yesterday I wiped out the share's .glusterfs directory and I reclaimed 350 GB of space. I need to find out what I'm doing wrong or if this is a GlusterFS issue. Thanks, Michael
Vijay Bellur
2014-May-04 05:15 UTC
[Gluster-users] used space not reclaimed on file delete
On 05/03/2014 06:06 AM, Michael Cronenworth wrote:> Hello, > > GlusterFS 3.4.3 client/servers > Single server share > > When I delete a file that hasn't been hardlinked with glusterfs metadata > I see used disk space decrease in df. If I delete a hardlinked file my > disk space does not decrease. What's the discrepancy here? > > Yesterday I wiped out the share's .glusterfs directory and I reclaimed > 350 GB of space. I need to find out what I'm doing wrong or if this is a > GlusterFS issue. >Do you notice this discrepancy when you perform deletions on a glusterfs client mount? Deleting files directly from the glusterfs brick directories is not a recommended practice. Regards, Vijay