+++ This bug was initially created as a clone of Bug #1032080 +++ Description of problem: To prevent occurrences of split-brain when a volume is used for storing virtual machine images, it would be necessary to enable both client and server side quorum. The tunables that are necessary for enabling quorum need to be part of the virt profile which gets packaged with glusterfs. Version-Release number of selected component (if applicable): mainline How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Patch can be found here: https://code.engineering.redhat.com/gerrit/#/c/17207/
Verified with glusterfs-3.4.0.51rhs.el6rhs [root@rhss1 ~]# cat /var/lib/glusterd/groups/virt quick-read=off read-ahead=off io-cache=off stat-prefetch=off eager-lock=enable remote-dio=enable quorum-type=auto server-quorum-type=server [root@rhss1 ~]# gluster volume set repvol group virt volume set: success [root@rhss1 ~]# gluster volume info repvol Volume Name: repvol Type: Replicate Volume ID: 5d6f89d5-cedb-454f-82d0-54be33f2cb55 Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: 10.70.37.86:/rhs/brick4/repdir1 Brick2: 10.70.37.187:/rhs/brick4/repdir1 Options Reconfigured: cluster.server-quorum-type: server cluster.quorum-type: auto network.remote-dio: enable cluster.eager-lock: enable performance.stat-prefetch: off performance.io-cache: off performance.read-ahead: off performance.quick-read: off
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0208.html