On 01/22/2016 12:51 AM, Glomski,
Patrick wrote:
Pranith, could this kind of behavior be self-inflicted by
us deleting files directly from the bricks? We have done that
in the past to clean up an issues where gluster wouldn't allow
us to delete from the mount.
Not sure. I haven't seen many people do this.
If so, is it feasible to clean them up by running a search on
the .glusterfs directories directly and removing files with a
reference count of 1 that are non-zero size (or directly
checking the xattrs to be sure that it's not a DHT link).
find /data/brick01a/homegfs/.glusterfs -type f -not -empty
-links -2 -exec rm -f "{}" \;
Is there anything I'm inherently missing with that approach that
will further corrupt the system?
You should make sure to only remove the files that are of the form
.gluterfs/ab/cd/abcd....
I am yet to go over the logs you provided. Will let you know.
Pranith
|
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users