Joe Julian
2015-Jan-27 18:13 UTC
[Gluster-users] ... i was able to produce a split brain...
No, there's not. I've been asking for this for years. On 01/27/2015 10:09 AM, Ml Ml wrote:> Hello List, > > i was able to produce a split brain: > > [root at ovirt-node03 splitmount]# gluster volume heal RaidVolB info > Brick ovirt-node03.example.local:/raidvol/volb/brick/ > <gfid:1c15d0cb-1cca-4627-841c-395f7b712f73> > Number of entries: 1 > > Brick ovirt-node04.example.local:/raidvol/volb/brick/ > /1701d5ae-6a44-4374-8b29-61c699da870b/dom_md/ids > Number of entries: 1 > > > > > I want to either take the file from node03 or node04. i really don?t > mind. Can i not just tell gluster that it should use one node as the > ?current? one? > > Like with DRBD: drbdadm connect --discard-my-data <resource> > > Is there a similar way with gluster? > > > > Thanks, > Mario > > # rpm -qa | grep gluster > --------------------------------------------------- > glusterfs-fuse-3.6.2-1.el6.x86_64 > glusterfs-server-3.6.2-1.el6.x86_64 > glusterfs-libs-3.6.2-1.el6.x86_64 > glusterfs-3.6.2-1.el6.x86_64 > glusterfs-cli-3.6.2-1.el6.x86_64 > glusterfs-rdma-3.6.2-1.el6.x86_64 > vdsm-gluster-4.14.6-0.el6.noarch > glusterfs-api-3.6.2-1.el6.x86_64 > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users
Pranith Kumar Karampuri
2015-Jan-28 09:13 UTC
[Gluster-users] ... i was able to produce a split brain...
On 01/27/2015 11:43 PM, Joe Julian wrote:> No, there's not. I've been asking for this for years.Hey Joe, Vijay and I were just talking about this today. We were wondering if you could give us the inputs to make it a feature to implement. Here are the questions I have: Basic requirements if I understand correctly are as follows: 1) User should be able to fix the split-brain without any intervention from admin as the user knows best about the data. 2) He should be able to preview some-how about the data before selecting the copy which he/she wants to preserve. What I am not able to figure out is: How do we give the ability to inspect the file by user. Any inputs here would be greatly appreciated. Pranith> > On 01/27/2015 10:09 AM, Ml Ml wrote: >> Hello List, >> >> i was able to produce a split brain: >> >> [root at ovirt-node03 splitmount]# gluster volume heal RaidVolB info >> Brick ovirt-node03.example.local:/raidvol/volb/brick/ >> <gfid:1c15d0cb-1cca-4627-841c-395f7b712f73> >> Number of entries: 1 >> >> Brick ovirt-node04.example.local:/raidvol/volb/brick/ >> /1701d5ae-6a44-4374-8b29-61c699da870b/dom_md/ids >> Number of entries: 1 >> >> >> >> >> I want to either take the file from node03 or node04. i really don?t >> mind. Can i not just tell gluster that it should use one node as the >> ?current? one? >> >> Like with DRBD: drbdadm connect --discard-my-data <resource> >> >> Is there a similar way with gluster? >> >> >> >> Thanks, >> Mario >> >> # rpm -qa | grep gluster >> --------------------------------------------------- >> glusterfs-fuse-3.6.2-1.el6.x86_64 >> glusterfs-server-3.6.2-1.el6.x86_64 >> glusterfs-libs-3.6.2-1.el6.x86_64 >> glusterfs-3.6.2-1.el6.x86_64 >> glusterfs-cli-3.6.2-1.el6.x86_64 >> glusterfs-rdma-3.6.2-1.el6.x86_64 >> vdsm-gluster-4.14.6-0.el6.noarch >> glusterfs-api-3.6.2-1.el6.x86_64 >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org >> http://www.gluster.org/mailman/listinfo/gluster-users > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users