hi,
Thanks for your reply.
This is the output on the mount:
[root@busap-test201 dist_raplica]# ls -l
total 0
-rw-r--r-- 1 root root 0 Jul 22 11:00 test1
-rw-r--r-- 1 root root 0 Jul 22 11:00 test2
-rw-r--r-- 1 root root 0 Jul 22 11:00 test3
-rw-r--r-- 1 root root 0 Jul 22 11:00 test4
-rw-r--r-- 1 root root 0 Jul 22 11:00 test5
-rw-r--r-- 1 root root 0 Jul 22 11:00 test6
-rw-r--r-- 1 root root 0 Jul 22 11:00 test7
-rw-r--r-- 1 root root 0 Jul 22 11:00 test8
-rw-r--r-- 1 root root 0 Jul 22 11:00 test9
This is the output on the brick(raplica1_0):
[root@busap-test214 dist_raplica]# ls -l
total 0
-rw-r--r-- 2 root root 0 Jul 22 11:00 test1
-rw-r--r-- 2 root root 0 Jul 22 11:00 test2
-rw-r--r-- 2 root root 0 Jul 22 11:00 test3
-rw-r--r-- 2 root root 0 Jul 22 11:00 test4
-rw-r--r-- 2 root root 0 Jul 22 11:00 test5
-rw-r--r-- 2 root root 0 Jul 22 11:00 test6
-rw-r--r-- 2 root root 0 Jul 22 11:00 test7
-rw-r--r-- 2 root root 0 Jul 22 11:00 test8
-rw-r--r-- 2 root root 0 Jul 22 11:00 test9
This is the output on the brick(raplica1_1):
[root@busap-test214 dist_raplica]# ls -l
total 0
-rw-r--r-- 2 root root 0 Jul 22 11:00 test1
-rw-r--r-- 2 root root 0 Jul 22 11:00 test2
-rw-r--r-- 2 root root 0 Jul 22 11:00 test3
-rw-r--r-- 2 root root 0 Jul 22 11:00 test4
-rw-r--r-- 2 root root 0 Jul 22 11:00 test5
-rw-r--r-- 2 root root 0 Jul 22 11:00 test6
-rw-r--r-- 2 root root 0 Jul 22 11:00 test7
-rw-r--r-- 2 root root 0 Jul 22 11:00 test8
-rw-r--r-- 2 root root 0 Jul 22 11:00 test9
This is the output on the brick(raplica2_0):
[root@busap-test216 dist_raplica]# ls -l
total 0
---------T 2 root root 0 Jul 22 11:00 test3
---------T 2 root root 0 Jul 22 11:00 test6
---------T 2 root root 0 Jul 22 11:00 test7
This is the output on the brick(raplica2_1):
[root@busap-test217 dist_raplica]# ls -l
total 0
---------T 2 root root 0 Jul 22 11:00 test3
---------T 2 root root 0 Jul 22 11:00 test6
---------T 2 root root 0 Jul 22 11:00 test7
The servers test214,test215,test216,test217 is virtualmachine by xen,and while I make this test on the physical machine, the result is ok.
The below is the test result on the physical machine:
This is the output on the mount:
[root@localhost dr]# ls -al
total 4
drwxr-xr-x 3 root root 154 Jul 22 16:42 .
drwxr-xr-x 16 root root 4096 Jul 22 16:40 ..
-rw-r--r-- 1 root root 0 Jul 22 16:42 test1
-rw-r--r-- 1 root root 0 Jul 22 16:42 test2
-rw-r--r-- 1 root root 0 Jul 22 16:42 test3
-rw-r--r-- 1 root root 0 Jul 22 16:42 test4
-rw-r--r-- 1 root root 0 Jul 22 16:42 test5
-rw-r--r-- 1 root root 0 Jul 22 16:42 test6
-rw-r--r-- 1 root root 0 Jul 22 16:42 test7
-rw-r--r-- 1 root root 0 Jul 22 16:42 test8
-rw-r--r-- 1 root root 0 Jul 22 16:42 test9
This is the output on the brick(raplica1_0):
[root@busap-test2 dr]# ls -l
total 0
-rw-r--r-- 2 root root 0 Jul 22 16:42 test1
-rw-r--r-- 2 root root 0 Jul 22 16:42 test2
-rw-r--r-- 2 root root 0 Jul 22 16:42 test4
-rw-r--r-- 2 root root 0 Jul 22 16:42 test5
-rw-r--r-- 2 root root 0 Jul 22 16:42 test8
-rw-r--r-- 2 root root 0 Jul 22 16:42 test9
This is the output on the brick(raplica1_1):
[root@tsung150 dr]# ls -l
总用量 0
-rw-r--r--. 2 root root 0 7月 22 16:42 test1
-rw-r--r--. 2 root root 0 7月 22 16:42 test2
-rw-r--r--. 2 root root 0 7月 22 16:42 test4
-rw-r--r--. 2 root root 0 7月 22 16:42 test5
-rw-r--r--. 2 root root 0 7月 22 16:42 test8
-rw-r--r--. 2 root root 0 7月 22 16:42 test9
This is the output on the brick(raplica2_0):
[root@192 dr]# ls -l
total 0
-rw-r--r--. 2 root root 0 Jul 22 16:42 test3
-rw-r--r--. 2 root root 0 Jul 22 16:42 test6
-rw-r--r--. 2 root root 0 Jul 22 16:42 test7
This is the output on the brick(raplica2_1):
[root@redis dr]# ls -l
total 0
-rw-r--r-- 2 root root 0 Jul 22 16:42 test3
-rw-r--r-- 2 root root 0 Jul 22 16:42 test6
-rw-r--r-- 2 root root 0 Jul 22 16:42 test7
The test on the virtual machine by xen is fail.But the test on the physical machine is success.
Could you tell me that does vm have any effects on the test result?
Thanks for your reply again:-).
Best Regards.
------------------ Original ------------------
From: "Pranith Kumar Karampuri";<pkarampu@xxxxxxxxxx>;
Date: Tue, Jul 22, 2014 02:36 PM
To: "ABC-new"<360532762@xxxxxx>; "gluster-users"<gluster-users@xxxxxxxxxxx>;
Subject: Re: [Gluster-users] distributed+replica problem ,thanks
I performed the same test:
This is the output on the mount:
root@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@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,test7my 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 infoVolume Name: drType: Distributed-ReplicateVolume ID: 0ae73b53-28be-43d5-9b86-807f4b58373bStatus: StartedNumber of Bricks: 2 x 2 = 4Transport-type: tcpBricks:Brick1: 192.168.109.214:/home/drBrick2: 192.168.109.215:/home/drBrick3: 192.168.109.216:/home/drBrick4: 192.168.109.217:/home/dr
while the volume type is only distributed, it works fine.best®ardsthanks!!!
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-users