<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">i would also add a -size 0.<div><br></div><div>-luis</div><div><br></div><div><br><div><div>On Jul 21, 2011, at 9:30 AM, Joe Landman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 07/21/2011 11:21 AM, Joe Landman wrote:<br><blockquote type="cite">On 07/21/2011 11:17 AM, Burnash, James wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi Joe.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><br>Found it:<br><br> &nbsp;&nbsp;find $local -type f -perm +01000 -exec rm -v '{}' \;<br><br>for $local<br><br><br><blockquote type="cite"><blockquote type="cite">Before I answer - can you share your volume info dump?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This is<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[root@X02 ~]# gluster volume info<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Volume Name: brick1<br></blockquote><blockquote type="cite">Type: Distribute<br></blockquote><blockquote type="cite">Status: Started<br></blockquote><blockquote type="cite">Number of Bricks: 4<br></blockquote><blockquote type="cite">Transport-type: tcp<br></blockquote><blockquote type="cite">Bricks:<br></blockquote><blockquote type="cite">Brick1: X01:/data/glusterfs/dht<br></blockquote><blockquote type="cite">Brick2: X02:/data/glusterfs/dht<br></blockquote><blockquote type="cite">Brick3: X03:/data/brick-sdc2/glusterfs/dht<br></blockquote><blockquote type="cite">Brick4: X03:/data/brick-sdd2/glusterfs/dht<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">My understanding is that those "link" files are valid if you have my<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">kind of config - which is distributed-replicate across 2 mirrored<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">pairs of backed servers. If the request for a file come into the pair<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">that do not have that file physically on their storage, the "link"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">file is created to point to the actual location on the other mirror.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">At least ... that is what I think it's supposed to do ...<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">They are a known bug from 2.0.x time frame. I am searching my emails<br></blockquote><blockquote type="cite">from 2 years ago for the magic command that removes them.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">James Burnash Unix Engineer Knight Capital Group<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-----Original Message----- From: <a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[mailto:gluster-users-bounces@gluster.org] On Behalf Of Joe Landman<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sent: Thursday, July 21, 2011 11:11 AM To: gluster-users Subject:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[Gluster-users] Anyone have that find command handy<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Ran into a situation that I thought had been corrected in the 2.0.x<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">time frame.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[root@X03 ~]# ls -alF<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/data/brick-sdc2/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip.stats<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">/data/brick-sdd2/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">---------T 1 root root 0 Jul 19 18:08<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/data/brick-sdc2/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip.stats<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">---------T 1 root root 0 Jul 21 10:48<br></blockquote><blockquote type="cite"><blockquote type="cite">/data/brick-sdd2/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and the real files<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">[root@X02 ~]# ls -alF<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/data/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-rw-r--r-- 1 oracle oinstall 984227914 Jul 21 11:05<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/data/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">-rw-r--r-- 1 root root 17028780 Jul 20 13:00<br></blockquote><blockquote type="cite"><blockquote type="cite">/data/glusterfs/dht/opra/20110502/options_20110502_opra_ch_015_.dat.zip.stats<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Note the permissions on the first as compared to the second. This<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">came from a rebalance operation with 3.1.5.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Anyone have that handy<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">find -perm XXXX -exec rm {}<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">command handy so we can scan for and remove the ghost files? I can<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">search for it in my old emails, just figured I'd ask.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">-- Joseph Landman, Ph.D Founder and CEO Scalable Informatics, Inc.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">email: <a href="mailto:landman@scalableinformatics.com">landman@scalableinformatics.com</a> web :<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://scalableinformatics.com">http://scalableinformatics.com</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://scalableinformatics.com/sicluster">http://scalableinformatics.com/sicluster</a> phone: +1 734 786 8423 x121<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">fax : +1 866 888 3112 cell : +1 734 612 4615<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________ Gluster-users mailing<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">list <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">DISCLAIMER: This e-mail, and any attachments thereto, is intended<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">only for use by the addressee(s) named herein and may contain legally<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">privileged and/or confidential information. If you are not the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">intended recipient of this e-mail, you are hereby notified that any<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">dissemination, distribution or copying of this e-mail, and any<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">attachments thereto, is strictly prohibited. If you have received<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">this in error, please immediately notify me and permanently delete<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the original and any copy of any e-mail and any printout thereof.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">E-mail transmission cannot be guaranteed to be secure or error-free.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The sender therefore does not accept liability for any errors or<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">omissions in the contents of this message which arise as a result of<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">e-mail transmission. NOTICE REGARDING PRIVACY AND CONFIDENTIALITY<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Knight Capital Group may, at its discretion, monitor and review the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">content of all e-mail communications. <a href="http://www.knight.com">http://www.knight.com</a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br><br>-- <br>Joseph Landman, Ph.D<br>Founder and CEO<br>Scalable Informatics, Inc.<br>email: <a href="mailto:landman@scalableinformatics.com">landman@scalableinformatics.com</a><br>web &nbsp;: <a href="http://scalableinformatics.com">http://scalableinformatics.com</a><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://scalableinformatics.com/sicluster">http://scalableinformatics.com/sicluster</a><br>phone: +1 734 786 8423 x121<br>fax &nbsp;: +1 866 888 3112<br>cell : +1 734 612 4615<br>_______________________________________________<br>Gluster-users mailing list<br><a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>http://gluster.org/cgi-bin/mailman/listinfo/gluster-users<br></div></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-family: arial; font-size: small; "><br clear="all">Luis E. Cerezo<br><br><a href="http://www.luiscerezo.org">http://www.luiscerezo.org</a><br>http://twitter.com/luiscerezo<br>http://flickr.com/photos/luiscerezo</span></div><div><span class="Apple-style-span" style="font-family: arial; font-size: small; ">photos for sale:</span></div><div><span class="Apple-style-span" style="font-family: arial; font-size: small; "><a href="http://photos.luiscerezo.org">http://photos.luiscerezo.org</a><br>Voice: 412 223 7396</span></div></div></span></span>
</div>
<br></div></body></html>