Merlin Morgenstern
2015-Aug-27 11:14 UTC
[Gluster-users] Why can't a glusterfs share be mounted with one gluster server?
I have two gluster servers installed on seperate machines. The function as failover and I do mount on each machine with the coresponding gluster client. This only seems to work if both gluster servers are live. It seems that something is misconfigured or misunderstood by myself how gluster works. This is my configuration of the volume: user at xnode1:~$ sudo mount gs1:/volume1 /data/nfs/ ^Cuser at xnode1:~$ sudo gluster volume info Volume Name: volume1 Type: Replicate Volume ID: 92d9adb8-756b-4138-87a8-23237d21688f Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: gs1:/data/gluster/brick Brick2: gs2:/data/gluster/brick Options Reconfigured: performance.readdir-ahead: on performance.cache-size: 256MB server.allow-insecure: on performance.io-thread-count: 16 performance.client-io-threads: on Brick1 is on the same site as the running gluster-server. Why do I need to have Brick2 online? It is configured in replication mode. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150827/9ffa76ba/attachment.html>
Atin Mukherjee
2015-Aug-28 05:12 UTC
[Gluster-users] Why can't a glusterfs share be mounted with one gluster server?
On 08/27/2015 04:44 PM, Merlin Morgenstern wrote:> I have two gluster servers installed on seperate machines. The function as > failover and I do mount on each machine with the coresponding gluster > client. This only seems to work if both gluster servers are live.Does mount fail here? If so, what does the mount log indicate? Do you see any error logs? Given that you haven't enabled quorum, I do not see any reason why it shouldn't work.> > It seems that something is misconfigured or misunderstood by myself how > gluster works. > > This is my configuration of the volume: > > user at xnode1:~$ sudo mount gs1:/volume1 /data/nfs/ > ^Cuser at xnode1:~$ sudo gluster volume info > > Volume Name: volume1 > Type: Replicate > Volume ID: 92d9adb8-756b-4138-87a8-23237d21688f > Status: Started > Number of Bricks: 1 x 2 = 2 > Transport-type: tcp > Bricks: > Brick1: gs1:/data/gluster/brick > Brick2: gs2:/data/gluster/brick > Options Reconfigured: > performance.readdir-ahead: on > performance.cache-size: 256MB > server.allow-insecure: on > performance.io-thread-count: 16 > performance.client-io-threads: on > > Brick1 is on the same site as the running gluster-server. > > Why do I need to have Brick2 online? It is configured in replication mode. > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >