[Gluster-users] __Geo-replication status is getting Faulty after few seconds

Anant Saraswat anant.saraswat at techblue.co.uk
Fri Feb 9 10:53:45 UTC 2024


Hi @Strahil Nikolov<mailto:hunter86_bg at yahoo.com>,

As mentioned earlier this gfid has "1" in 2nd column of 'ls' command output, which means this gfid doesn't have any other hardlink.

[root at master1 .glusterfs]# ls -l ./d5/3f/d53fad8f-84e9-4b24-9eb0-ccbcbdc4baa8
-rw-r--r-- 1 root root 174592 Jan 22 15:06 ./d5/3f/d53fad8f-84e9-4b24-9eb0-ccbcbdc4baa8

Still, I have searched in "/opt/tier1data2019/brick/.glusterfs" and there is only one file comes with samefile option, which is gfid itself, please check the following output.

[root at master1 .glusterfs]# find . -samefile ./d5/3f/d53fad8f-84e9-4b24-9eb0-ccbcbdc4baa8
./d5/3f/d53fad8f-84e9-4b24-9eb0-ccbcbdc4baa8

You have mentioned the other option to link it somewhere on the real filesystem and then sync it to the other brick. Here, what do you mean by the real filesystem? Do you want me to link this GFID with an existing file on the brick? Or do you want the GFID to be linked with some temporary file, say, on "/tmp/test_file," and then sync "/tmp/test_file" and "/opt/tier1data2019/brick/.glusterfs/d5/3f/d53fad8f-84e9-4b24-9eb0-ccbcbdc4baa8" to master2 and master3 nodes?

Many thanks,
Anant
________________________________
From: Strahil Nikolov <hunter86_bg at yahoo.com>
Sent: 09 February 2024 5:28 AM
To: Anant Saraswat <anant.saraswat at techblue.co.uk>; Diego Zuccato <diego.zuccato at unibo.it>; gluster-users at gluster.org <gluster-users at gluster.org>; Aravinda Vishwanathapura <aravinda at kadalu.tech>
Subject: Re: [Gluster-users] __Geo-replication status is getting Faulty after few seconds


EXTERNAL: Do not click links or open attachments if you do not recognize the sender.

The other option around (if indeed is the only in .glusterfs) is to have it link somewhere on the real filesystem structure and then sync it to the other bricks.
If georep works again - just remove it from the fuse and check if it will get deleted or not.

Best Regards,
Strahil Nikolov

On Fri, Feb 9, 2024 at 7:25, Strahil Nikolov
<hunter86_bg at yahoo.com> wrote:
It's a hard link, so use find's '-samefile' option to see if it's the last one or not.

If you really want to delete it, have a backup and then delete both the gfid and any other hard links.

Best Regards,
Strahil Nikolov


DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute or copy this email. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system.

If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Thanks for your cooperation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20240209/0bc0fe32/attachment.html>


More information about the Gluster-users mailing list