[Gluster-users] disk space problem on gluster fs

Pranith Kumar Karampuri pkarampu at redhat.com
Mon Jan 4 03:44:38 UTC 2016



On 01/02/2016 05:47 PM, Hakan Alat wrote:
> hi everybody.
>
> i have removed some files on my server with (crontab) batch script.
> now i know i have to remove from client side but i all ready done it 
> on server side.
>
> what should i do know ?
>
> is there any way to remove hard link files on server under .gluster 
> folder ?
Executing the following command on the bricks should give you the files 
which have dangling links: "find .glusterfs -type f -links 1"
Files will have the format:

<brick-path>/.glusterfs/<first-2-hex-digits-of-gfid>/<second-2-hex-digits-of-gfid>/gfid

Example:
/home/gfs/r2_0/.glusterfs/7a/55/7a556a25-6737-4ddf-bc8b-9749e7929e00

Pranith
>
> thnx ..
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://www.gluster.org/mailman/listinfo/gluster-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160104/e0443b31/attachment.html>


More information about the Gluster-users mailing list