Ravishankar N
2021-Oct-31 09:36 UTC
[Gluster-users] GlusterFS 9.3 - Replicate Volume (2 Bricks / 1 Arbiter) - Self-healing does not always work
On Sun, Oct 31, 2021 at 1:37 PM Thorsten Walk <darkiop at gmail.com> wrote:> > I think, here i need your help :) How i can find the file? I only have the > gfid from the out of 'gluster volume heal glusterfs-1-volume info' > = <gfid:26c5396c-86ff-408d-9cda-106acd2b0768> on Brick 192.168.1.50: > /data/glusterfs. >First, you can do a `stat /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768` and check the file size and no. of hardlinks. If Links>1, then `find /data/glusterfs -samefile /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768` -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20211031/379bc759/attachment.html>
Thorsten Walk
2021-Oct-31 18:31 UTC
[Gluster-users] GlusterFS 9.3 - Replicate Volume (2 Bricks / 1 Arbiter) - Self-healing does not always work
Hi Ravi, the file only exists at pve01 and since only once: ?[19:22:10] [ssh:root at pve01(192.168.1.50): ~ (700)] ??># stat /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 File: /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 Size: 6 Blocks: 8 IO Block: 4096 regular file Device: fd12h/64786d Inode: 528 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2021-10-30 14:34:50.385893588 +0200 Modify: 2021-10-27 00:26:43.988756557 +0200 Change: 2021-10-27 00:26:43.988756557 +0200 Birth: - ?[19:24:41] [ssh:root at pve01(192.168.1.50): ~ (700)] ??># ls -l /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 .rw-r--r-- root root 6B 4 days ago ? /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 ?[19:24:54] [ssh:root at pve01(192.168.1.50): ~ (700)] ??># cat /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 28084 Am So., 31. Okt. 2021 um 10:37 Uhr schrieb Ravishankar N < ravishankar.n at pavilion.io>:> > > On Sun, Oct 31, 2021 at 1:37 PM Thorsten Walk <darkiop at gmail.com> wrote: > >> >> I think, here i need your help :) How i can find the file? I only have >> the gfid from the out of 'gluster volume heal glusterfs-1-volume info' >> = <gfid:26c5396c-86ff-408d-9cda-106acd2b0768> on Brick 192.168.1.50: >> /data/glusterfs. >> > > First, you can do a `stat > /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768` and > check the file size and no. of hardlinks. If Links>1, then > `find /data/glusterfs -samefile > /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768` > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20211031/19ad76d0/attachment.html>
Ravishankar N
2021-Nov-01 01:53 UTC
[Gluster-users] GlusterFS 9.3 - Replicate Volume (2 Bricks / 1 Arbiter) - Self-healing does not always work
On Mon, Nov 1, 2021 at 12:02 AM Thorsten Walk <darkiop at gmail.com> wrote:> Hi Ravi, the file only exists at pve01 and since only once: > > ?[19:22:10] [ssh:root at pve01(192.168.1.50): ~ (700)] > ??># stat > /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 > File: > /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 > Size: 6 Blocks: 8 IO Block: 4096 regular file > Device: fd12h/64786d Inode: 528 Links: 1 > Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) > Access: 2021-10-30 14:34:50.385893588 +0200 > Modify: 2021-10-27 00:26:43.988756557 +0200 > Change: 2021-10-27 00:26:43.988756557 +0200 > Birth: - > > ?[19:24:41] [ssh:root at pve01(192.168.1.50): ~ (700)] > ??># ls -l > /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 > .rw-r--r-- root root 6B 4 days ago ? > /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 > > ?[19:24:54] [ssh:root at pve01(192.168.1.50): ~ (700)] > ??># cat > /data/glusterfs/.glusterfs/26/c5/26c5396c-86ff-408d-9cda-106acd2b0768 > 28084 > > Hi Thorsten, you can delete the file. From the file size and contents, itlooks like it belongs to ovirt sanlock. Not sure why you ended up in this situation (maybe unlink partially failed on this brick?). You can check the mount, brick and self-heal daemon logs for this gfid to see if you find related error/warning messages. -Ravi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20211101/89156900/attachment.html>