[Gluster-users] DISPERSED VOLUME

Alexandre Blanca alexandre.blanca at inria.fr
Fri Nov 25 09:41:14 UTC 2016


Hi, 
I am a beginner in distributed file systems and I currently work on Glusterfs. 
I work with 4 VM : srv1, srv2, srv3 and cli1 
I tested several types of volume (distributed, replicated, striped ...) which are for me JBOD, RAID 1 and RAID 0. 
When I try to make a dispersed volume (raid5 / 6) I have a misunderstanding ... 



gluster volume create gv7 disperse-data 3 redundancy 1 ipserver1:/data/brick1/gv7 ipserver2:/data/brick1/gv7 ipserver3:/data/brick1/gv7 ipserver4:/data/brick1/gv7 



gluster volume info 


Volume Name: gv7 Type: Disperse Status: Created Number of Bricks: 4 Transport-type: tcp Bricks: Brick1: ipserver1:/data/brick1/gv7 Brick 2 : ipserver 2 :/data/brick 1 /gv 7 Brick3: ipserver3:/data/brick1/gv7 Brick4: ipserver4:/data/brick1/gv7 



gluster volume start gv7 




m kdir / home/cli1/gv7_dispersed_directory 




m ount -t glusterfs ipserv er 1:/gv 7 / home/cli1 / gv7_dispersed_directory 







Now, when i create a file on my moint point (gv7_dispersed_directory) : 





cd /home/cli1/gv7 _dispersed_directory 





echo 'hello world !' >> test_file 





I can see in my srv1 : 





cd /data/brick1/gv7 





cat test 





hello world ! 





in my srv2 : 






cd /data/brick1/gv7 








cat test 








hello world ! 




in my srv4: 






cd /data/brick1/gv7 








cat test 








hello world ! 




but in my srv3 : 






cd /data/brick1/gv7 








cat test 








hello world ! 

hello world ! 






Why?! output of server 3 displays 2 times hello world ! Parity? Redundancy? I don't know... 

Best regards 

Alex 















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161125/7dbf9fe4/attachment.html>


More information about the Gluster-users mailing list