[Gluster-users] [Gluster-devel] VM fs becomes read only when one gluster node goes down

Niels de Vos ndevos at redhat.com
Wed Oct 28 09:25:09 UTC 2015


On Tue, Oct 27, 2015 at 07:21:35PM +0100, André Bauer wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hi Niels,
> 
> my network.ping-timeout was already set to 5 seconds.
> 
> Unfortunately it seems i dont have the timout setting in Ubuntu 14.04
> for my vda disk.
> 
> ls -al /sys/block/vda/device/ gives me only:
> 
> drwxr-xr-x 4 root root    0 Oct 26 20:21 ./
> drwxr-xr-x 5 root root    0 Oct 26 20:21 ../
> drwxr-xr-x 3 root root    0 Oct 26 20:21 block/
> - -r--r--r-- 1 root root 4096 Oct 27 18:13 device
> lrwxrwxrwx 1 root root    0 Oct 27 18:13 driver ->
> ../../../../bus/virtio/drivers/virtio_blk/
> - -r--r--r-- 1 root root 4096 Oct 27 18:13 features
> - -r--r--r-- 1 root root 4096 Oct 27 18:13 modalias
> drwxr-xr-x 2 root root    0 Oct 27 18:13 power/
> - -r--r--r-- 1 root root 4096 Oct 27 18:13 status
> lrwxrwxrwx 1 root root    0 Oct 26 20:21 subsystem ->
> ../../../../bus/virtio/
> - -rw-r--r-- 1 root root 4096 Oct 26 20:21 uevent
> - -r--r--r-- 1 root root 4096 Oct 26 20:21 vendor
> 
> 
> Is the qourum setting a problem, if you only have 2 replicas?
> 
> My volume has this quorum options set:
> 
> cluster.quorum-type: auto
> cluster.server-quorum-type: server
> 
> As i understand the documentation (
> https://access.redhat.com/documentation/en-US/Red_Hat_Storage/2.0/html/A
> dministration_Guide/sect-User_Guide-Managing_Volumes-Quorum.html
> ), cluster.server-quorum-ratio is set to "< 50%" by default, which can
> never happen if you only have 2 replicas and one node goes down, right?
> 
> Do in need cluster.server-quorum-ratio = 50% in this case?

Replica 2 for VM storage is troublesome. Sahine just responded very
nicely to a very similar email:

  http://thread.gmane.org/gmane.comp.file-systems.gluster.user/22818/focus=22823

HTH,
Niels
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20151028/c68dcbf9/attachment.sig>


More information about the Gluster-users mailing list