[Gluster-users] Mounted size reported incorrectly after replacing bricks
hunter86_bg at yahoo.com
Tue Apr 19 21:34:04 UTC 2022
A little bit offtopic: Did you rebalance after replacing the bricks with bigger size ?
Best Regards,Strahil Nikolov
On Tue, Apr 19, 2022 at 12:32, Patrick Dijkgraaf<bolderbasta at gmail.com> wrote: Hi all, I hope this message finds you well.
I sent some messages earlier, but I found that they bounced a lot due to DMARC/SPF, so I am sending this question again from another mail account. Please accept my apologies for spamming.
I've been running a Gluster volume (32 bricks in distributed, replicated mode) on my 2 home servers for about 1,5 years now. I'm generally very happy with it!It's running on Arch Linux and the current version of glusterfs is 10.1.
Because some disks were about to fail, I started replacing multiple bricks. And taking advantage of this, I replaced them with a larger disk (4TB -> 8TB). Healing took care of copying all data to the new brick and it finished succesfully. However, I see an incorrect size on the mounted Gluster volume.
Some things I have found:
- shared-brick-count in /var/lib/glusterd/vols/data/* is higher than 1 on some local bricks, even though they are actually on separate file systems
- I have duplicate brick-fsid numbers in /var/lib/glusterd/vols/data/bricks/*, even though they are actually on separate file systems
- I have restarted glusterd and still have the duplicate brick-fsid's
So I am wondering where the duplicate FSIDs come from, and how to (forcefully?) resolve them. Can I safely alter them in /var/lib/glusterd/vols/data/bricks/* and restart glusterd maybe?
I *may* at some point have accidentally replaced a brick to a wrong location, being either the parent file system or another brick. But I have corrected this by replacing it again to the correct location. Each time I used the "gluster volume replace-brick" command.
I have attached what I believe would be all relevant information to diagnose the issue.Please let me know if I can provide more information to get this issue resolved.
groet / cheers,Patrick Dijkgraaf________
Community Meeting Calendar:
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Gluster-users mailing list
Gluster-users at gluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-users