Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Pranith Kumar Karampuri
ould filter out symlinks? Ah you gave '-type f'. Sorry missed that part :-) Pranith Pranith -ben - Original Message - From: "Nux!" To: "Ben England" Cc: "Gluster Devel" Sent: Friday, November 21, 2014 11:03:46 AM Subject: Re: [Gluster-devel]

Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Pranith Kumar Karampuri
Message - From: "Nux!" To: "Ben England" Cc: "Gluster Devel" Sent: Friday, November 21, 2014 11:03:46 AM Subject: Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file Hi Ben, I have thousands of entries under /your/brick/directory/

Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Pranith Kumar Karampuri
On 11/21/2014 09:04 PM, Nux! wrote: Hi, I deleted a file by mistake in a brick. I never managed to find out its gfid so now I have a rogue symlink in .glusterfs pointing to it (if I got how it works). Any way I can discover which is this file and get rid of it? symlinks exist in .glusterfs for

Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Justin Clift
On Fri, 21 Nov 2014 11:20:19 -0500 (EST) Ben England wrote: > Nux, > > Those thousands of entries all would match "-links 2" but not "-links > 1" The only entry in .glusterfs that would match is the entry where > you deleted the file from the brick. That's how hardlinks work - > when you create

Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Nux!
;> >> I have thousands of entries under /your/brick/directory/.glusterfs .. find >> would return too many results. >> How do I find the one I'm looking for? :-) >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >&g

Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Ben England
I gave you just tracks down the one hardlink that you want and nothing else. -ben - Original Message - > From: "Nux!" > To: "Ben England" > Cc: "Gluster Devel" > Sent: Friday, November 21, 2014 11:03:46 AM > Subject: Re: [Gluster-devel] Ho

Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Nux!
" > To: "Nux!" > Cc: "Gluster Devel" > Sent: Friday, 21 November, 2014 16:00:40 > Subject: Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for > a deleted file > first of all, links in .glusterfs are HARD links not symlinks. S

Re: [Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Ben England
hat point, regular self-heal could repair it (i.e. just do "ls" on the file from a Gluster mountpoint). - Original Message - > From: "Nux!" > To: "Gluster Devel" > Sent: Friday, November 21, 2014 10:34:09 AM > Subject: [Gluster-devel] How to resol

[Gluster-devel] How to resolve gfid (and .glusterfs symlink) for a deleted file

2014-11-21 Thread Nux!
Hi, I deleted a file by mistake in a brick. I never managed to find out its gfid so now I have a rogue symlink in .glusterfs pointing to it (if I got how it works). Any way I can discover which is this file and get rid of it? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.r