[Gluster-users] distributed+replica problem ,thanks

Pranith Kumar Karampuri pkarampu at redhat.com
Tue Jul 22 06:06:00 UTC 2014


hi,
      I performed the same test:
This is the output on the mount:
root at pranithk-laptop - /mnt/r2
11:34:27 :) ? ls -l
total 0
-rw-r--r--. 1 root root 0 Jul 22 11:34 test1
-rw-r--r--. 1 root root 0 Jul 22 11:34 test2
-rw-r--r--. 1 root root 0 Jul 22 11:34 test3
-rw-r--r--. 1 root root 0 Jul 22 11:34 test4
-rw-r--r--. 1 root root 0 Jul 22 11:34 test5
-rw-r--r--. 1 root root 0 Jul 22 11:34 test6
-rw-r--r--. 1 root root 0 Jul 22 11:34 test7
-rw-r--r--. 1 root root 0 Jul 22 11:34 test8
-rw-r--r--. 1 root root 0 Jul 22 11:34 test9

This is the output on bricks:
root at pranithk-laptop - /mnt/r2
11:34:29 :) ? ls -l /home/gfs/r2_?
/home/gfs/r2_0:
total 0
-rw-r--r--. 2 root root 0 Jul 22 11:34 test1
-rw-r--r--. 2 root root 0 Jul 22 11:34 test2
-rw-r--r--. 2 root root 0 Jul 22 11:34 test4
-rw-r--r--. 2 root root 0 Jul 22 11:34 test5
-rw-r--r--. 2 root root 0 Jul 22 11:34 test8
-rw-r--r--. 2 root root 0 Jul 22 11:34 test9

/home/gfs/r2_1:
total 0
-rw-r--r--. 2 root root 0 Jul 22 11:34 test1
-rw-r--r--. 2 root root 0 Jul 22 11:34 test2
-rw-r--r--. 2 root root 0 Jul 22 11:34 test4
-rw-r--r--. 2 root root 0 Jul 22 11:34 test5
-rw-r--r--. 2 root root 0 Jul 22 11:34 test8
-rw-r--r--. 2 root root 0 Jul 22 11:34 test9

/home/gfs/r2_2:
total 0
-rw-r--r--. 2 root root 0 Jul 22 11:34 test3
-rw-r--r--. 2 root root 0 Jul 22 11:34 test6
-rw-r--r--. 2 root root 0 Jul 22 11:34 test7

/home/gfs/r2_3:
total 0
-rw-r--r--. 2 root root 0 Jul 22 11:34 test3
-rw-r--r--. 2 root root 0 Jul 22 11:34 test6
-rw-r--r--. 2 root root 0 Jul 22 11:34 test7

Could you also give the output on bricks and mount please.

Pranith
On 07/21/2014 06:23 PM, ABC-new wrote:
> dear all:
>
>          i used glusterfs version 3.5.1.
>          the volume type is distributed+replica. while i touch 
> test{1,2,3,4,5,6,7,8,9},the first replica's filelist is 
> test1,test2,test3,test4,test5,test6,test7,test8,test9.
> ?
> the second replica's file list is test3,test6,test7
> ?
> my question is why test3,test6,test7 appeared in the first replica's 
> filelist and the second replica's filelist .it does not match the 
> feature of the distributed volume type.
> the volume info is ok:
> # gluster volume info
> Volume Name: dr
> Type: Distributed-Replicate
> Volume ID: 0ae73b53-28be-43d5-9b86-807f4b58373b
> Status: Started
> Number of Bricks: 2 x 2 = 4
> Transport-type: tcp
> Bricks:
> Brick1: 192.168.109.214:/home/dr
> Brick2: 192.168.109.215:/home/dr
> Brick3: 192.168.109.216:/home/dr
> Brick4: 192.168.109.217:/home/dr?
>
>             while the volume type is only distributed, it works fine.
> best&regards
> thanks!!!
>
>
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140722/6f7e7499/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 17883 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140722/6f7e7499/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 10278 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140722/6f7e7499/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 52448 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140722/6f7e7499/attachment-0002.jpe>


More information about the Gluster-users mailing list