Hi Ben,
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!
www.nux.ro
- Original Message -
From: Ben England
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 a regular
file, the link count is increased to 1 (since the directory
Fascinating, thanks, it indeed worked.
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
- Original Message -
From: Ben England bengl...@redhat.com
To: Nux! n...@li.nux.ro
Cc: Gluster Devel gluster-devel@gluster.org
Sent: Friday, 21 November, 2014 16:20:19
On Fri, 21 Nov 2014 11:20:19 -0500 (EST)
Ben England bengl...@redhat.com 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
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
On 11/21/2014 09:50 PM, 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 a regular file, the link
On 11/22/2014 12:10 PM, Pranith Kumar Karampuri wrote:
On 11/21/2014 09:50 PM, 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