[Gluster-users] local IO

Pranith Kumar Karampuri pkarampu at redhat.com
Tue Jun 5 06:34:23 UTC 2012


hi,
   Not necessarily. The first time when the file is accessed whichever brick responds fast is the one where the reads/stat etc happen. Writes/create/rm etc happen on both the bricks.

Pranith.
----- Original Message -----
From: "Костырев Александр Алексеевич" <a.kostyrev at serverc.ru>
To: gluster-users at gluster.org
Sent: Tuesday, June 5, 2012 8:52:11 AM
Subject: [Gluster-users] local IO





hello! question about IOs: 



I've fired up glusterfs with 

distributed replicated volumes 

like this 

gluster volume create test-mail replica 2 transport tcp 10.0.1.132:/mnt/ld0 10.0.1.133:/mnt/ld0 10.0.1.132:/mnt/ld1 10.0.1.133:/mnt/ld1 



server1 is 10.0.1.132 

server2 is 10.0.1.133 



gluster volume info all 

Volume Name: test-mail 

Type: Distributed-Replicate 

Status: Started 

Number of Bricks: 2 x 2 = 4 

Transport-type: tcp 

Bricks: 

Brick1: 10.0.1.132:/mnt/ld0 

Brick2: 10.0.1.133:/mnt/ld0 

Brick3: 10.0.1.132:/mnt/ld1 

Brick4: 10.0.1.133:/mnt/ld1 





and mount glusterfs on earch on servers at /mnt/gfs_mail 

mount -t glusterfs 127.0.0.1:/vms /mnt/gluster 



the question: when server1 reads mail from /mnt/gfs_mail is all IO operation is LOCAL ? 
_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list