<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 01/02/2016 05:47 PM, Hakan Alat
wrote:<br>
</div>
<blockquote
cite="mid:CAC5mCx+y=PHzDCRBfcezWoZjZwvjK+6XfEsXha=MoWJxAeBYrg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif">hi
everybody.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">i
have removed some files on my server with (crontab) batch
script.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">now
i know i have to remove from client side but i all ready done
it on server side.</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">what
should i do know ?</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">is
there any way to remove hard link files on server under
.gluster folder ?</div>
</div>
</blockquote>
Executing the following command on the bricks should give you the
files which have dangling links: "find .glusterfs -type f -links 1"<br>
Files will have the format:<br>
<br>
<brick-path>/.glusterfs/<first-2-hex-digits-of-gfid>/<second-2-hex-digits-of-gfid>/gfid<br>
<br>
Example:<br>
/home/gfs/r2_0/.glusterfs/7a/55/7a556a25-6737-4ddf-bc8b-9749e7929e00<br>
<br>
Pranith<br>
<blockquote
cite="mid:CAC5mCx+y=PHzDCRBfcezWoZjZwvjK+6XfEsXha=MoWJxAeBYrg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">thnx
..</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
</blockquote>
<br>
</body>
</html>