[Gluster-devel] (no subject)

Emmanuel Dreyfus manu at netbsd.org
Thu Aug 14 14:10:16 UTC 2014


I observe a strange thing with tests/basic/mount.t on NetBSD.
It hangs on
TEST 23 (line 66): ! rm /mnt/glusterfs/1/newfile

And we have:
netbsd0# ls -li /mnt/glusterfs/1 
total 0
          3217299235 -rw-r--r--  1 root  wheel  0 Aug 14 15:56 newfile
          3217299235 -rw-r--r--  1 root  wheel  0 Aug 14 15:56 newfile
netbsd0# ls -li /mnt/glusterfs/0 
total 0
          3217299235 -rw-r--r--  1 root  wheel  0 Aug 14 15:56 newfile
          3217299235 -rw-r--r--  1 root  wheel  0 Aug 14 15:56 newfile

Accessible /mnt/nfs/0 get no reply.

netbsd0# gluster volume info 
 
Volume Name: patchy
Type: Distributed-Striped-Replicate
Volume ID: d7c16d6e-aee4-445b-b4db-26eb16d81578
Status: Started
Number of Bricks: 2 x 2 x 2 = 8
Transport-type: tcp
Bricks:
Brick1: netbsd0.cloud.gluster.org:/d/backends/patchy1
Brick2: netbsd0.cloud.gluster.org:/d/backends/patchy2
Brick3: netbsd0.cloud.gluster.org:/d/backends/patchy3
Brick4: netbsd0.cloud.gluster.org:/d/backends/patchy4
Brick5: netbsd0.cloud.gluster.org:/d/backends/patchy5
Brick6: netbsd0.cloud.gluster.org:/d/backends/patchy6
Brick7: netbsd0.cloud.gluster.org:/d/backends/patchy7
Brick8: netbsd0.cloud.gluster.org:/d/backends/patchy8
Options Reconfigured:
performance.stat-prefetch: off

netbsd0# ls -li /d/backends/patchy*/newfile
371252 -rw-r--r--  2 root  wheel  0 Aug 14 15:56 /d/backends/patchy5/newfile
371253 -rw-r--r--  2 root  wheel  0 Aug 14 15:56 /d/backends/patchy6/newfile
371258 -rw-r--r--  2 root  wheel  0 Aug 14 15:56 /d/backends/patchy7/newfile
371259 -rw-r--r--  2 root  wheel  0 Aug 14 15:56 /d/backends/patchy8/newfile

All that files have exactly the same xattr values for:
trusted.patchy-stripe-1.stripe-size 131072
trusted.patchy-stripe-1.stripe-count 2
trusted.patchy-stripe-1.stripe-coalesce 1
trusted.gfid 0x13f7ffd728814a57abb5159bbfc41723

trusted.patchy-stripe-1.stripe-index differs:
/d/backends/patchy5/newfile => 0
/d/backends/patchy6/newfile => 0
/d/backends/patchy7/newfile => 1
/d/backends/patchy8/newfile => 1



Any idea of what can cause that?


-- 
Emmanuel Dreyfus
manu at netbsd.org


More information about the Gluster-devel mailing list