<div dir="ltr"><div><div><div><div><div>Hey Henrik,<br><br></div>Good to know that the issue got resolved. I will try to answer some of the questions you have.<br></div>- The time taken to heal the file depends on its size. That's why you were seeing some delay in getting everything back to normal in the heal info output.<br></div>- You did not hit the split-brain situation. In split-brain all the bricks will be blaming the other bricks. But in your case the third brick was not blamed by any other brick.<br></div>- It was not able to heal the file because arbiter can not be source for data heal. The other two data bricks were blaming each other, so heal was not able to decide on the source.<br></div><div> This is arbiter becoming source for data heal issue. We are working on the fix for this, and it will be shipped with the next release.<br></div><div>- Since it was not in split brain, you were not able see this in heal info split-brain and not able to resolve this using the cli for split-brain resolution.<br></div><div>- You can use the heal command to perform syncing of data after brick maintenance. Once the brick comes up any ways the heal will be triggered automatically.<br></div><div>- You can use the heal info command to monitor the status of heal.<br><br></div><div>Regards,<br></div><div>Karthik<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 22, 2017 at 6:01 PM, Henrik Juul Pedersen <span dir="ltr"><<a href="mailto:hjp@liab.dk" target="_blank">hjp@liab.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Karthik,<br>
<br>
Thanks for the info. Maybe the documentation should be updated to<br>
explain the different AFR versions, I know I was confused.<br>
<br>
Also, when looking at the changelogs from my three bricks before fixing:<br>
<br>
Brick 1:<br>
trusted.afr.virt_images-<wbr>client-1=<wbr>0x000002280000000000000000<br>
trusted.afr.virt_images-<wbr>client-3=<wbr>0x000000000000000000000000<br>
<br>
Brick 2:<br>
trusted.afr.virt_images-<wbr>client-2=<wbr>0x000003ef0000000000000000<br>
trusted.afr.virt_images-<wbr>client-3=<wbr>0x000000000000000000000000<br>
<br>
Brick 3 (arbiter):<br>
trusted.afr.virt_images-<wbr>client-1=<wbr>0x000002280000000000000000<br>
<br>
I would think that the changelog for client 1 should win by majority<br>
vote? Or how does the self-healing process work?<br>
I assumed this as the correct version, and reset client 2 on brick 2:<br>
# setfattr -n trusted.afr.virt_images-<wbr>client-2 -v<br>
0x000000000000000000000000 fedora27.qcow2<br>
<br>
I then did a directory listing, which might have started a heal, but<br>
heal statistics show (i also did a full heal):<br>
Starting time of crawl: Fri Dec 22 11:34:47 2017<br>
<br>
Ending time of crawl: Fri Dec 22 11:34:47 2017<br>
<br>
Type of crawl: INDEX<br>
No. of entries healed: 0<br>
No. of entries in split-brain: 0<br>
No. of heal failed entries: 1<br>
<br>
Starting time of crawl: Fri Dec 22 11:39:29 2017<br>
<br>
Ending time of crawl: Fri Dec 22 11:39:29 2017<br>
<br>
Type of crawl: FULL<br>
No. of entries healed: 0<br>
No. of entries in split-brain: 0<br>
No. of heal failed entries: 1<br>
<br>
I was immediately able to touch the file, so gluster was okay about<br>
it, however heal info still showed the file for a while:<br>
<span class=""># gluster volume heal virt_images info<br>
Brick virt3:/data/virt_images/brick<br>
/fedora27.qcow2<br>
Status: Connected<br>
Number of entries: 1<br>
<br>
Brick virt2:/data/virt_images/brick<br>
/fedora27.qcow2<br>
Status: Connected<br>
Number of entries: 1<br>
<br>
Brick printserver:/data/virt_images/<wbr>brick<br>
/fedora27.qcow2<br>
Status: Connected<br>
Number of entries: 1<br>
<br>
<br>
<br>
</span>Now heal info shows 0 entries, and the two data bricks have the same<br>
md5sum, so it's back in sync.<br>
<br>
<br>
<br>
I have a few questions after all of this:<br>
<br>
1) How can a split brain happen in a replica 3 arbiter 1 setup with<br>
both server- and client quorum enabled?<br>
2) Why was it not able to self heal, when tro bricks seemed in sync<br>
with their changelogs?<br>
3) Why could I not see the file in heal info split-brain?<br>
4) Why could I not fix this through the cli split-brain resolution tool?<br>
5) Is it possible to force a sync in a volume? Or maybe test sync<br>
status? It might be smart to be able to "flush" changes when taking a<br>
brick down for maintenance.<br>
6) How am I supposed to monitor events like this? I have a gluster<br>
volume with ~500.000 files, I need to be able to guarantee data<br>
integrity and availability to the users.<br>
7) Is glusterfs "production ready"? Because I find it hard to monitor<br>
and thus trust in these setups. Also performance with small / many<br>
files seems horrible at best - but that's for another discussion.<br>
<br>
Thanks for all of your help, Ill continue to try and tweak some<br>
performance out of this. :)<br>
<span class="im HOEnZb"><br>
Best regards,<br>
Henrik Juul Pedersen<br>
LIAB ApS<br>
<br>
</span><div class="HOEnZb"><div class="h5">On 22 December 2017 at 07:26, Karthik Subrahmanya <<a href="mailto:ksubrahm@redhat.com">ksubrahm@redhat.com</a>> wrote:<br>
> Hi Henrik,<br>
><br>
> Thanks for providing the required outputs. See my replies inline.<br>
><br>
> On Thu, Dec 21, 2017 at 10:42 PM, Henrik Juul Pedersen <<a href="mailto:hjp@liab.dk">hjp@liab.dk</a>> wrote:<br>
>><br>
>> Hi Karthik and Ben,<br>
>><br>
>> I'll try and reply to you inline.<br>
>><br>
>> On 21 December 2017 at 07:18, Karthik Subrahmanya <<a href="mailto:ksubrahm@redhat.com">ksubrahm@redhat.com</a>><br>
>> wrote:<br>
>> > Hey,<br>
>> ><br>
>> > Can you give us the volume info output for this volume?<br>
>><br>
>> # gluster volume info virt_images<br>
>><br>
>> Volume Name: virt_images<br>
>> Type: Replicate<br>
>> Volume ID: 9f3c8273-4d9d-4af2-a4e7-<wbr>4cb4a51e3594<br>
>> Status: Started<br>
>> Snapshot Count: 2<br>
>> Number of Bricks: 1 x (2 + 1) = 3<br>
>> Transport-type: tcp<br>
>> Bricks:<br>
>> Brick1: virt3:/data/virt_images/brick<br>
>> Brick2: virt2:/data/virt_images/brick<br>
>> Brick3: printserver:/data/virt_images/<wbr>brick (arbiter)<br>
>> Options Reconfigured:<br>
>> features.quota-deem-statfs: on<br>
>> features.inode-quota: on<br>
>> features.quota: on<br>
>> features.barrier: disable<br>
>> features.scrub: Active<br>
>> features.bitrot: on<br>
>> nfs.rpc-auth-allow: on<br>
>> server.allow-insecure: on<br>
>> user.cifs: off<br>
>> features.shard: off<br>
>> cluster.shd-wait-qlength: 10000<br>
>> cluster.locking-scheme: granular<br>
>> cluster.data-self-heal-<wbr>algorithm: full<br>
>> cluster.server-quorum-type: server<br>
>> cluster.quorum-type: auto<br>
>> cluster.eager-lock: enable<br>
>> network.remote-dio: enable<br>
>> performance.low-prio-threads: 32<br>
>> performance.io-cache: off<br>
>> performance.read-ahead: off<br>
>> performance.quick-read: off<br>
>> nfs.disable: on<br>
>> transport.address-family: inet<br>
>> server.outstanding-rpc-limit: 512<br>
>><br>
>> > Why are you not able to get the xattrs from arbiter brick? It is the<br>
>> > same<br>
>> > way as you do it on data bricks.<br>
>><br>
>> Yes I must have confused myself yesterday somehow, here it is in full<br>
>> from all three bricks:<br>
>><br>
>> Brick 1 (virt2): # getfattr -d -m . -e hex fedora27.qcow2<br>
>> # file: fedora27.qcow2<br>
>> trusted.afr.dirty=<wbr>0x000000000000000000000000<br>
>> trusted.afr.virt_images-<wbr>client-1=<wbr>0x000002280000000000000000<br>
>> trusted.afr.virt_images-<wbr>client-3=<wbr>0x000000000000000000000000<br>
>> trusted.bit-rot.version=<wbr>0x1d000000000000005a3aa0db000c<wbr>6563<br>
>> trusted.gfid=<wbr>0x7a36937d52fc4b55a93299e2328f<wbr>02ba<br>
>><br>
>> trusted.gfid2path.<wbr>c076c6ac27a43012=<wbr>0x30303030303030302d303030302d<wbr>303030302d303030302d3030303030<wbr>303030303030312f6665646f726132<wbr>372e71636f7732<br>
>><br>
>> trusted.glusterfs.quota.<wbr>00000000-0000-0000-0000-<wbr>000000000001.contri.1=<wbr>0x00000000a49eb000000000000000<wbr>0001<br>
>> trusted.pgfid.00000000-0000-<wbr>0000-0000-000000000001=<wbr>0x00000001<br>
>><br>
>> Brick 2 (virt3): # getfattr -d -m . -e hex fedora27.qcow2<br>
>> # file: fedora27.qcow2<br>
>> trusted.afr.dirty=<wbr>0x000000000000000000000000<br>
>> trusted.afr.virt_images-<wbr>client-2=<wbr>0x000003ef0000000000000000<br>
>> trusted.afr.virt_images-<wbr>client-3=<wbr>0x000000000000000000000000<br>
>> trusted.bit-rot.version=<wbr>0x19000000000000005a3a9f82000c<wbr>382a<br>
>> trusted.gfid=<wbr>0x7a36937d52fc4b55a93299e2328f<wbr>02ba<br>
>><br>
>> trusted.gfid2path.<wbr>c076c6ac27a43012=<wbr>0x30303030303030302d303030302d<wbr>303030302d303030302d3030303030<wbr>303030303030312f6665646f726132<wbr>372e71636f7732<br>
>><br>
>> trusted.glusterfs.quota.<wbr>00000000-0000-0000-0000-<wbr>000000000001.contri.1=<wbr>0x00000000a2fbe000000000000000<wbr>0001<br>
>> trusted.pgfid.00000000-0000-<wbr>0000-0000-000000000001=<wbr>0x00000001<br>
>><br>
>> Brick 3 - arbiter (printserver): # getfattr -d -m . -e hex fedora27.qcow2<br>
>> # file: fedora27.qcow2<br>
>> trusted.afr.dirty=<wbr>0x000000000000000000000000<br>
>> trusted.afr.virt_images-<wbr>client-1=<wbr>0x000002280000000000000000<br>
>> trusted.bit-rot.version=<wbr>0x31000000000000005a3923720007<wbr>3206<br>
>> trusted.gfid=<wbr>0x7a36937d52fc4b55a93299e2328f<wbr>02ba<br>
>><br>
>> trusted.gfid2path.<wbr>c076c6ac27a43012=<wbr>0x30303030303030302d303030302d<wbr>303030302d303030302d3030303030<wbr>303030303030312f6665646f726132<wbr>372e71636f7732<br>
>><br>
>> trusted.glusterfs.quota.<wbr>00000000-0000-0000-0000-<wbr>000000000001.contri.1=<wbr>0x0000000000000000000000000000<wbr>0001<br>
>> trusted.pgfid.00000000-0000-<wbr>0000-0000-000000000001=<wbr>0x00000001<br>
>><br>
>> I was expecting trusted.afr.virt_images-<wbr>client-{1,2,3} on all bricks?<br>
><br>
> From AFR-V2 we do not have self blaming attrs. So you will see a brick<br>
> blaming other bricks only.<br>
> For example brcik1 can blame brick2 & brick 3, not itself.<br>
>><br>
>><br>
>> > The changelog xattrs are named trusted.afr.virt_images-<wbr>client-{1,2,3} in<br>
>> > the<br>
>> > getxattr outputs you have provided.<br>
>> > Did you do a remove-brick and add-brick any time? Otherwise it will be<br>
>> > trusted.afr.virt_images-<wbr>client-{0,1,2} usually.<br>
>><br>
>> Yes, the bricks was moved around initially; brick 0 was re-created as<br>
>> brick 2, and the arbiter was added later on as well.<br>
>><br>
>> ><br>
>> > To overcome this scenario you can do what Ben Turner had suggested.<br>
>> > Select<br>
>> > the source copy and change the xattrs manually.<br>
>><br>
>> I won't mind doing that, but again, the guides assume that I have<br>
>> trusted.afr.virt_images-<wbr>client-{1,2,3} on all bricks, so I'm not sure<br>
>> what to change to what, where.<br>
>><br>
>><br>
>> > I am suspecting that it has hit the arbiter becoming source for data<br>
>> > heal<br>
>> > bug. But to confirm that we need the xattrs on the arbiter brick also.<br>
>> ><br>
>> > Regards,<br>
>> > Karthik<br>
>> ><br>
>> ><br>
>> > On Thu, Dec 21, 2017 at 9:55 AM, Ben Turner <<a href="mailto:bturner@redhat.com">bturner@redhat.com</a>> wrote:<br>
>> >><br>
>> >> Here is the process for resolving split brain on replica 2:<br>
>> >><br>
>> >><br>
>> >><br>
>> >> <a href="https://access.redhat.com/documentation/en-US/Red_Hat_Storage/2.1/html/Administration_Guide/Recovering_from_File_Split-brain.html" rel="noreferrer" target="_blank">https://access.redhat.com/<wbr>documentation/en-US/Red_Hat_<wbr>Storage/2.1/html/<wbr>Administration_Guide/<wbr>Recovering_from_File_Split-<wbr>brain.html</a><br>
>> >><br>
>> >> It should be pretty much the same for replica 3, you change the xattrs<br>
>> >> with something like:<br>
>> >><br>
>> >> # setfattr -n trusted.afr.vol-client-0 -v 0x000000000000000100000000<br>
>> >> /gfs/brick-b/a<br>
>> >><br>
>> >> When I try to decide which copy to use I normally run things like:<br>
>> >><br>
>> >> # stat /<path to brick>/pat/to/file<br>
>> >><br>
>> >> Check out the access and change times of the file on the back end<br>
>> >> bricks.<br>
>> >> I normally pick the copy with the latest access / change times. I'll<br>
>> >> also<br>
>> >> check:<br>
>> >><br>
>> >> # md5sum /<path to brick>/pat/to/file<br>
>> >><br>
>> >> Compare the hashes of the file on both bricks to see if the data<br>
>> >> actually<br>
>> >> differs. If the data is the same it makes choosing the proper replica<br>
>> >> easier.<br>
>><br>
>> The files on the bricks differ, so there was something changed, and<br>
>> not replicated.<br>
>><br>
>> Thanks for the input, I've looked at that, but couldn't get it to fit,<br>
>> as I dont have trusted.afr.virt_images-<wbr>client-{1,2,3} on all bricks.<br>
><br>
> You can choose any one of the copy as good based on the latest ctime/mtime.<br>
> Before doing anything keep the backup of both the copies, so that if<br>
> something bad happens,<br>
> you will have the data safe.<br>
> Now choose one copy as good (based on timestamps/size/choosing a brick as<br>
> source),<br>
> and reset the xattrs set for that on other brick. Then do lookup on that<br>
> file from the mount.<br>
> That should resolve the issue.<br>
> Once you are done, please let us know the result.<br>
><br>
> Regards,<br>
> Karthik<br>
>><br>
>><br>
>> >><br>
>> >> Any idea how you got in this situation? Did you have a loss of NW<br>
>> >> connectivity? I see you are using server side quorum, maybe check the<br>
>> >> logs<br>
>> >> for any loss of quorum? I wonder if there was a loos of quorum and<br>
>> >> there<br>
>> >> was some sort of race condition hit:<br>
>> >><br>
>> >><br>
>> >><br>
>> >> <a href="http://docs.gluster.org/en/latest/Administrator%20Guide/arbiter-volumes-and-quorum/#server-quorum-and-some-pitfalls" rel="noreferrer" target="_blank">http://docs.gluster.org/en/<wbr>latest/Administrator%20Guide/<wbr>arbiter-volumes-and-quorum/#<wbr>server-quorum-and-some-<wbr>pitfalls</a><br>
>> >><br>
>> >> "Unlike in client-quorum where the volume becomes read-only when quorum<br>
>> >> is<br>
>> >> lost, loss of server-quorum in a particular node makes glusterd kill<br>
>> >> the<br>
>> >> brick processes on that node (for the participating volumes) making<br>
>> >> even<br>
>> >> reads impossible."<br>
>><br>
>> I might have had a loss of server quorum, but I cant seem to see<br>
>> exactly why or when from the logs:<br>
>><br>
>> Times are synchronized between servers. Virt 3 was rebooted for<br>
>> service at 17:29:39. The shutdown logs show an issue with unmounting<br>
>> the bricks, probably because glusterd was still running:<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Failed unmounting /data/virt_images.<br>
>> Dec 20 17:29:39 virt3 systemd[1]: data-filserver.mount: Mount process<br>
>> exited, code=exited status=32<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Failed unmounting /data/filserver.<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Unmounted /virt_images.<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Stopped target Network is Online.<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Stopping GlusterFS, a clustered<br>
>> file-system server...<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Stopping Network Name Resolution...<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Stopped GlusterFS, a clustered<br>
>> file-system server.<br>
>><br>
>> I believe it was around this time, the virtual machine (running on<br>
>> virt2) was stopped by qemu.<br>
>><br>
>><br>
>> Brick 1 (virt2) only experienced loss of quorum when starting gluster<br>
>> (glusterd.log confirms this):<br>
>> Dec 20 17:22:03 virt2 systemd[1]: Starting GlusterFS, a clustered<br>
>> file-system server...<br>
>> Dec 20 17:22:05 virt2 glusterd[739]: [2017-12-20 16:22:05.997472] C<br>
>> [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume filserver. Stopping local<br>
>> bricks.<br>
>> Dec 20 17:22:05 virt2 glusterd[739]: [2017-12-20 16:22:05.997666] C<br>
>> [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume virt_images. Stopping<br>
>> local bricks.<br>
>> Dec 20 17:22:06 virt2 systemd[1]: Started GlusterFS, a clustered<br>
>> file-system server.<br>
>> Dec 20 17:22:11 virt2 glusterd[739]: [2017-12-20 16:22:11.387238] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume filserver. Starting<br>
>> local bricks.<br>
>> Dec 20 17:22:11 virt2 glusterd[739]: [2017-12-20 16:22:11.390417] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume virt_images. Starting<br>
>> local bricks.<br>
>> -- Reboot --<br>
>> Dec 20 18:41:35 virt2 systemd[1]: Starting GlusterFS, a clustered<br>
>> file-system server...<br>
>> Dec 20 18:41:41 virt2 systemd[1]: Started GlusterFS, a clustered<br>
>> file-system server.<br>
>> Dec 20 18:41:43 virt2 glusterd[748]: [2017-12-20 17:41:43.387633] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume filserver. Starting<br>
>> local bricks.<br>
>> Dec 20 18:41:43 virt2 glusterd[748]: [2017-12-20 17:41:43.391080] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume virt_images. Starting<br>
>> local bricks.<br>
>><br>
>><br>
>> Brick 2 (virt3) shows a network outage on the 19th, but everything<br>
>> worked fine afterwards:<br>
>> Dec 19 13:11:34 virt3 glusterd[10058]: [2017-12-19 12:11:34.382207] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume filserver. Starting<br>
>> local bricks.<br>
>> Dec 19 13:11:34 virt3 glusterd[10058]: [2017-12-19 12:11:34.387324] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume virt_images. Starting<br>
>> local bricks.<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Stopping GlusterFS, a clustered<br>
>> file-system server...<br>
>> Dec 20 17:29:39 virt3 systemd[1]: Stopped GlusterFS, a clustered<br>
>> file-system server.<br>
>> -- Reboot --<br>
>> Dec 20 17:30:21 virt3 systemd[1]: Starting GlusterFS, a clustered<br>
>> file-system server...<br>
>> Dec 20 17:30:22 virt3 glusterd[394]: [2017-12-20 16:30:22.826828] C<br>
>> [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume filserver. Stopping local<br>
>> bricks.<br>
>> Dec 20 17:30:22 virt3 glusterd[394]: [2017-12-20 16:30:22.827188] C<br>
>> [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume virt_images. Stopping<br>
>> local bricks.<br>
>> Dec 20 17:30:23 virt3 systemd[1]: Started GlusterFS, a clustered<br>
>> file-system server.<br>
>> Dec 20 17:30:29 virt3 glusterd[394]: [2017-12-20 16:30:29.488000] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume filserver. Starting<br>
>> local bricks.<br>
>> Dec 20 17:30:29 virt3 glusterd[394]: [2017-12-20 16:30:29.491446] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume virt_images. Starting<br>
>> local bricks.<br>
>> Dec 20 18:31:06 virt3 systemd[1]: Stopping GlusterFS, a clustered<br>
>> file-system server...<br>
>> Dec 20 18:31:06 virt3 systemd[1]: Stopped GlusterFS, a clustered<br>
>> file-system server.<br>
>> -- Reboot --<br>
>> Dec 20 18:31:46 virt3 systemd[1]: Starting GlusterFS, a clustered<br>
>> file-system server...<br>
>> Dec 20 18:31:46 virt3 glusterd[386]: [2017-12-20 17:31:46.958818] C<br>
>> [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume filserver. Stopping local<br>
>> bricks.<br>
>> Dec 20 18:31:46 virt3 glusterd[386]: [2017-12-20 17:31:46.959168] C<br>
>> [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume virt_images. Stopping<br>
>> local bricks.<br>
>> Dec 20 18:31:47 virt3 systemd[1]: Started GlusterFS, a clustered<br>
>> file-system server.<br>
>> Dec 20 18:33:10 virt3 glusterd[386]: [2017-12-20 17:33:10.156180] C<br>
>> [MSGID: 106001]<br>
>> [glusterd-volume-ops.c:1534:<wbr>glusterd_op_stage_start_<wbr>volume]<br>
>> 0-management: Server quorum not met. Rejecting operation.<br>
>> Dec 20 18:35:58 virt3 glusterd[386]: [2017-12-20 17:35:58.440395] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume filserver. Starting<br>
>> local bricks.<br>
>> Dec 20 18:35:58 virt3 glusterd[386]: [2017-12-20 17:35:58.446203] C<br>
>> [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume virt_images. Starting<br>
>> local bricks.<br>
>><br>
>> Brick 3 - arbiter (printserver) shows no loss of quorum at that time<br>
>> (again, glusterd.log confirms):<br>
>> Dec 19 15:33:24 printserver systemd[1]: Starting GlusterFS, a<br>
>> clustered file-system server...<br>
>> Dec 19 15:33:26 printserver glusterd[306]: [2017-12-19<br>
>> 14:33:26.432369] C [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume filserver. Stopping local<br>
>> bricks.<br>
>> Dec 19 15:33:26 printserver glusterd[306]: [2017-12-19<br>
>> 14:33:26.432606] C [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume virt_images. Stopping<br>
>> local bricks.<br>
>> Dec 19 15:33:26 printserver systemd[1]: Started GlusterFS, a clustered<br>
>> file-system server.<br>
>> Dec 19 15:34:18 printserver glusterd[306]: [2017-12-19<br>
>> 14:34:18.158756] C [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume filserver. Starting<br>
>> local bricks.<br>
>> Dec 19 15:34:18 printserver glusterd[306]: [2017-12-19<br>
>> 14:34:18.162242] C [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume virt_images. Starting<br>
>> local bricks.<br>
>> Dec 20 18:28:52 printserver systemd[1]: Stopping GlusterFS, a<br>
>> clustered file-system server...<br>
>> Dec 20 18:28:52 printserver systemd[1]: Stopped GlusterFS, a clustered<br>
>> file-system server.<br>
>> -- Reboot --<br>
>> Dec 20 18:30:40 printserver systemd[1]: Starting GlusterFS, a<br>
>> clustered file-system server...<br>
>> Dec 20 18:30:42 printserver glusterd[278]: [2017-12-20<br>
>> 17:30:42.441675] C [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume filserver. Stopping local<br>
>> bricks.<br>
>> Dec 20 18:30:42 printserver glusterd[278]: [2017-12-20<br>
>> 17:30:42.441929] C [MSGID: 106002]<br>
>> [glusterd-server-quorum.c:355:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum lost for volume virt_images. Stopping<br>
>> local bricks.<br>
>> Dec 20 18:30:42 printserver systemd[1]: Started GlusterFS, a clustered<br>
>> file-system server.<br>
>> Dec 20 18:33:49 printserver glusterd[278]: [2017-12-20<br>
>> 17:33:49.005534] C [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume filserver. Starting<br>
>> local bricks.<br>
>> Dec 20 18:33:49 printserver glusterd[278]: [2017-12-20<br>
>> 17:33:49.008010] C [MSGID: 106003]<br>
>> [glusterd-server-quorum.c:349:<wbr>glusterd_do_volume_quorum_<wbr>action]<br>
>> 0-management: Server quorum regained for volume virt_images. Starting<br>
>> local bricks.<br>
>><br>
>> >><br>
>> >> I wonder if the killing of brick processes could have led to some sort<br>
>> >> of<br>
>> >> race condition where writes were serviced on one brick / the arbiter<br>
>> >> and not<br>
>> >> the other?<br>
>> >><br>
>> >> If you can find a reproducer for this please open a BZ with it, I have<br>
>> >> been seeing something similar(I think) but I haven't been able to run<br>
>> >> the<br>
>> >> issue down yet.<br>
>> >><br>
>> >> -b<br>
>><br>
>> I'm not sure if I can replicate this, a lot has been going on in my<br>
>> setup the past few days (trying to tune some horrible small-file and<br>
>> file creation/deletion performance).<br>
>><br>
>> Thanks for looking into this with me.<br>
>><br>
>> Best regards,<br>
>> Henrik Juul Pedersen<br>
>> LIAB ApS<br>
><br>
><br>
</div></div></blockquote></div><br></div>