<div dir="ltr"><div dir="ltr">Hi Eli,<div><br></div><div>Thanks for the response. I had hoped for a simple fix here, but I think perhaps there isn't one. I have built this as a part of a new environment, eventually replacing a much older system built with Gluster 3.10 (yes - that old). I appreciate the warning about 10.3 and will run some comparative load testing against it and 9.5 both.</div><div><br></div><div>- Matt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 24, 2023 at 8:46 AM Eli V <<a href="mailto:eliventer@gmail.com">eliventer@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've seen issues with symlinks failing to heal as well. I never found<br>
a good solution on the glusterfs side of things. Most reliable fix I<br>
found is just rm and recreate the symlink in the fuse volume itself.<br>
Also, I'd strongly suggest heavy load testing before upgrading to 10.3<br>
in production, after upgrading from 9.5 -> 10.3 I've seen frequent<br>
brick process crashes(glusterfsd), whereas 9.5 was quite stable.<br>
<br>
On Mon, Jan 23, 2023 at 3:58 PM Matt Rubright <<a href="mailto:mrubrigh@uncc.edu" target="_blank">mrubrigh@uncc.edu</a>> wrote:<br>
><br>
> Hi friends,<br>
><br>
> I have recently built a new replica 3 arbiter 1 volume on 10.3 servers and have been putting it through its paces before getting it ready for production use. The volume will ultimately contain about 200G of web content files shared among multiple frontends. Each will use the gluster fuse client to connect.<br>
><br>
> What I am experiencing sounds very much like this post from 9 years ago: <a href="https://lists.gnu.org/archive/html/gluster-devel/2013-12/msg00103.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/gluster-devel/2013-12/msg00103.html</a><br>
><br>
> In short, if I perform these steps I can reliably end up with symlinks on the volume which will not heal either by initiating a 'full heal' from the cluster or using a fuse client to read each file:<br>
><br>
> 1) Verify that all nodes are healthy, the volume is healthy, and there are no items needing to be healed<br>
> 2) Cleanly shut down one server hosting a brick<br>
> 3) Copy data, including some symlinks, from a fuse client to the volume<br>
> 4) Bring the brick back online and observe the number and type of items needing to be healed<br>
> 5) Initiate a full heal from one of the nodes<br>
> 6) Confirm that while files and directories are healed, symlinks are not<br>
><br>
> Please help me determine if I have improper expectations here. I have some basic knowledge of managing gluster volumes, but I may be misunderstanding intended behavior.<br>
><br>
> Here is the volume info and heal data at each step of the way:<br>
><br>
> *** Verify that all nodes are healthy, the volume is healthy, and there are no items needing to be healed ***<br>
><br>
> # gluster vol info cwsvol01<br>
><br>
> Volume Name: cwsvol01<br>
> Type: Replicate<br>
> Volume ID: 7b28e6e6-4a73-41b7-83fe-863a45fd27fc<br>
> Status: Started<br>
> Snapshot Count: 0<br>
> Number of Bricks: 1 x (2 + 1) = 3<br>
> Transport-type: tcp<br>
> Bricks:<br>
> Brick1: glfs02-172-20-1:/data/brick01/cwsvol01<br>
> Brick2: glfs01-172-20-1:/data/brick01/cwsvol01<br>
> Brick3: glfsarb01-172-20-1:/data/arb01/cwsvol01 (arbiter)<br>
> Options Reconfigured:<br>
> performance.client-io-threads: off<br>
> nfs.disable: on<br>
> transport.address-family: inet<br>
> storage.fips-mode-rchecksum: on<br>
> cluster.granular-entry-heal: on<br>
><br>
> # gluster vol status<br>
> Status of volume: cwsvol01<br>
> Gluster process TCP Port RDMA Port Online Pid<br>
> ------------------------------------------------------------------------------<br>
> Brick glfs02-172-20-1:/data/brick01/cwsvol0<br>
> 1 50253 0 Y 1397<br>
> Brick glfs01-172-20-1:/data/brick01/cwsvol0<br>
> 1 56111 0 Y 1089<br>
> Brick glfsarb01-172-20-1:/data/arb01/cwsvol<br>
> 01 54517 0 Y 118704<br>
> Self-heal Daemon on localhost N/A N/A Y 1413<br>
> Self-heal Daemon on glfs01-172-20-1 N/A N/A Y 3490<br>
> Self-heal Daemon on glfsarb01-172-20-1 N/A N/A Y 118720<br>
><br>
> Task Status of Volume cwsvol01<br>
> ------------------------------------------------------------------------------<br>
> There are no active volume tasks<br>
><br>
> # gluster vol heal cwsvol01 info summary<br>
> Brick glfs02-172-20-1:/data/brick01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 0<br>
> Number of entries in heal pending: 0<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> Brick glfs01-172-20-1:/data/brick01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 0<br>
> Number of entries in heal pending: 0<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> Brick glfsarb01-172-20-1:/data/arb01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 0<br>
> Number of entries in heal pending: 0<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> *** Cleanly shut down one server hosting a brick ***<br>
><br>
> *** Copy data, including some symlinks, from a fuse client to the volume ***<br>
><br>
> # gluster vol heal cwsvol01 info summary<br>
> Brick glfs02-172-20-1:/data/brick01/cwsvol01<br>
> Status: Transport endpoint is not connected<br>
> Total Number of entries: -<br>
> Number of entries in heal pending: -<br>
> Number of entries in split-brain: -<br>
> Number of entries possibly healing: -<br>
><br>
> Brick glfs01-172-20-1:/data/brick01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 810<br>
> Number of entries in heal pending: 810<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> Brick glfsarb01-172-20-1:/data/arb01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 810<br>
> Number of entries in heal pending: 810<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> *** Bring the brick back online and observe the number and type of entities needing to be healed ***<br>
><br>
> # gluster vol heal cwsvol01 info summary<br>
> Brick glfs02-172-20-1:/data/brick01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 0<br>
> Number of entries in heal pending: 0<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> Brick glfs01-172-20-1:/data/brick01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 769<br>
> Number of entries in heal pending: 769<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> Brick glfsarb01-172-20-1:/data/arb01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 769<br>
> Number of entries in heal pending: 769<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> *** Initiate a full heal from one of the nodes ***<br>
><br>
> # gluster vol heal cwsvol01 info summary<br>
> Brick glfs02-172-20-1:/data/brick01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 0<br>
> Number of entries in heal pending: 0<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> Brick glfs01-172-20-1:/data/brick01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 148<br>
> Number of entries in heal pending: 148<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> Brick glfsarb01-172-20-1:/data/arb01/cwsvol01<br>
> Status: Connected<br>
> Total Number of entries: 148<br>
> Number of entries in heal pending: 148<br>
> Number of entries in split-brain: 0<br>
> Number of entries possibly healing: 0<br>
><br>
> # gluster vol heal cwsvol01 info<br>
> Brick glfs02-172-20-1:/data/brick01/cwsvol01<br>
> Status: Connected<br>
> Number of entries: 0<br>
><br>
> Brick glfs01-172-20-1:/data/brick01/cwsvol01<br>
> /web01-etc<br>
> /web01-etc/nsswitch.conf<br>
> /web01-etc/swid/swidtags.d<br>
> /web01-etc/swid/swidtags.d/<a href="http://redhat.com" rel="noreferrer" target="_blank">redhat.com</a><br>
> /web01-etc/os-release<br>
> /web01-etc/system-release<br>
> < truncated ><br>
><br>
> *** Verify that one brick contains the symlink while the previously-offline one does not ***<br>
><br>
> [root@cws-glfs01 ~]# ls -ld /data/brick01/cwsvol01/web01-etc/nsswitch.conf<br>
> lrwxrwxrwx 2 root root 29 Jan 4 16:00 /data/brick01/cwsvol01/web01-etc/nsswitch.conf -> /etc/authselect/nsswitch.conf<br>
><br>
> [root@cws-glfs02 ~]# ls -ld /data/brick01/cwsvol01/web01-etc/nsswitch.conf<br>
> ls: cannot access '/data/brick01/cwsvol01/web01-etc/nsswitch.conf': No such file or directory<br>
><br>
> *** Note entries in /var/log/gluster/glustershd.log ***<br>
><br>
> [2023-01-23 20:34:40.939904 +0000] W [MSGID: 114031] [client-rpc-fops_v2.c:2457:client4_0_link_cbk] 0-cwsvol01-client-1: remote operation failed. [{source=<gfid:3cade471-8aba-492a-b981-d63330d2e02e>}, {target=(null)}, {errno=116}, {error=Stale file handle}]<br>
> [2023-01-23 20:34:40.945774 +0000] W [MSGID: 114031] [client-rpc-fops_v2.c:2457:client4_0_link_cbk] 0-cwsvol01-client-1: remote operation failed. [{source=<gfid:35102340-9409-4d88-a391-da43c00644e7>}, {target=(null)}, {errno=116}, {error=Stale file handle}]<br>
> [2023-01-23 20:34:40.749715 +0000] W [MSGID: 114031] [client-rpc-fops_v2.c:2457:client4_0_link_cbk] 0-cwsvol01-client-1: remote operation failed. [{source=<gfid:874406a9-9478-4b83-9e6a-09e262e4b85d>}, {target=(null)}, {errno=116}, {error=Stale file handle}]<br>
><br>
><br>
> ________<br>
><br>
><br>
><br>
> Community Meeting Calendar:<br>
><br>
> Schedule -<br>
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
> Bridge: <a href="https://meet.google.com/cpu-eiue-hvk" rel="noreferrer" target="_blank">https://meet.google.com/cpu-eiue-hvk</a><br>
> Gluster-users mailing list<br>
> <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
> <a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div></div>