Mounting same replica-volume on multiple clients. ????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Any idea as to why the below issue happens. ? 

Mounting the volume on Client1       :               mount -t glusterfs -o backupvolfile-server=GFS02 GFS01:/testvol /data 
Mounting the volume on Client2       :               mount -t glusterfs -o backupvolfile-server=GFS01 GFS02:/testvol /data

the gluster volume status on both the gluster servers are as follows :

Volume Name: testvol
Type: Replicate
Volume ID: db249daf-174c-493d-b976-58bf9a862d2f
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: GFS01/B01
Brick2: GFS02/B01

Thanks & Regards,
Bobby Jacob

-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Bobby Jacob
Sent: Wednesday, September 18, 2013 8:48 AM
To: mueller at tropenklinik.de; gluster-users at gluster.org
Subject: Re: Mounting same replica-volume on multiple clients. ????

Exactly. !! BUT I am writing through the volume mount-point from the clients. !! NOT directly into the bricks. !!

I'm using GlusterFS 3.3.2 with Centos6.4 . !

Thanks & Regards,
Bobby Jacob

-----Original Message-----
From: Daniel M?ller [mailto:mueller at tropenklinik.de] 
Sent: Wednesday, September 18, 2013 8:46 AM
To: Bobby Jacob; gluster-users at gluster.org
Subject: AW: Mounting same replica-volume on multiple clients. ????

Hello,
this ist he behavior as if you write directly into the glusterd directory/partition and not to the remounted replicating bricks!?


EDV Daniel M?ller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 T?bingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de 

Von: gluster-users-bounces at gluster.org
[mailto:gluster-users-bounces at gluster.org] Im Auftrag von Bobby Jacob
Gesendet: Mittwoch, 18. September 2013 07:36
An: gluster-users at gluster.org
Betreff: Mounting same replica-volume on multiple clients.
????

HI,

I have 2 gluster nodes (GFS01/GFS02) each with a single brick (B01/B01). I have created a simple replica volume with these bricks. 
Bricks ?? : GFS01/B01 and GFS02/B01.
Volume: TestVol

I have 2 clients (C01/C02) which will mount this "testvol" for simultaneous read/write. The 2 clients run the same application which is load-balanced, so user request are end to both the client servers which reads/writes data to both the same volume.

Mounting the volume on C1?????? :?????????????? mount -t glusterfs -o backupvolfile-server=GFS02 GFS01:/testvol /data 
Mounting the volume on C2?????? :?????????????? mount -t glusterfs -o backupvolfile-server=GFS01 GFS02:/testvol /data

Is this the appropriate way to be followed.? 

At times, I notice that when I write data through C1-mount point the data is written only to GFS01/B01 and if data is written through C2-mount point the data is written only to GFS02/B01.

Please advise. !!


Thanks & Regards,
Bobby Jacob

_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux