[Bugs] [Bug 1369077] New: [Arbiter] The directories get renamed when data bricks are offline in 4*(2+1) volume
bugzilla at redhat.com
bugzilla at redhat.com
Mon Aug 22 12:45:59 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1369077
Bug ID: 1369077
Summary: [Arbiter] The directories get renamed when data bricks
are offline in 4*(2+1) volume
Product: GlusterFS
Version: 3.8.2
Component: arbiter
Severity: high
Assignee: bugs at gluster.org
Reporter: ksandha at redhat.com
CC: bugs at gluster.org
Description of problem:
Killed the data bricks which had the directory and data and renamed the
directory from mount pt. renaming was successfull.
Note:- Read the steps from more information
Version-Release number of selected component (if applicable):
gluster --version
glusterfs 3.8.2 built on Aug 10 2016 15:34:37
How reproducible:
3/3
[root at dhcp43-223 new]# gluster vol info
Volume Name: arbiter
Type: Distributed-Replicate
Volume ID: 70c7113e-2223-4cd2-acfd-b08b1c376ea4
Status: Started
Number of Bricks: 4 x (2 + 1) = 12
Transport-type: tcp
Bricks:
Brick1: 10.70.43.223:/bricks/brick0/abc
Brick2: 10.70.42.58:/bricks/brick0/abc
Brick3: 10.70.43.142:/bricks/brick0/abc (arbiter)
Brick4: 10.70.43.223:/bricks/brick1/abc
Brick5: 10.70.42.58:/bricks/brick1/abc
Brick6: 10.70.43.142:/bricks/brick1/abc (arbiter)
Brick7: 10.70.43.223:/bricks/brick2/abc
Brick8: 10.70.42.58:/bricks/brick2/abc
Brick9: 10.70.43.142:/bricks/brick2/abc (arbiter)
Brick10: 10.70.43.223:/bricks/brick3/abc
Brick11: 10.70.42.58:/bricks/brick3/abc
Brick12: 10.70.43.142:/bricks/brick3/abc (arbiter)
Options Reconfigured:
client.event-threads: 4
server.event-threads: 4
cluster.lookup-optimize: on
transport.address-family: inet
performance.readdir-ahead: on
Steps to Reproduce:
1. Create an arbiter volume 4 x (2 + 1) mount it using FUSE ( volume name
-Arbiter)
2. On mount point create a directory "dir1" and create a file inside "abc"
3. write 100M to the file using dd
dd if=/dev/urandom of=abc bs=1M count=100
4. now kill the data bricks from the volume on which the data is present i.e
"abc" file
in my case:- brick10 , brick11 were data bricks , brick12 was the arbiter
brick
5. Rest all bricks were online.
6. now change the directory name from dir1 to dir2 from mount point using "mv
dir1 dir2"
Actual results:
The directory got renamed in-spite being in read only mode
#mv dir1 dir2
mv: cannot move ‘dir1’ to ‘dir2’: Read-only file system
#ls
# dir2
Expected results:
directory shouldn't be renamed.
Additional info:
Tried the same on plain dist volume and plain replicate 1*3 volume. the issue
was not reproducible.
Reproduced the same issue on 2 x (2 + 1) volume
observed that after renaming the directory
[root at dhcp43-165 super]# mv new one
mv: cannot move ‘new’ to ‘one’: Read-only file system
[root at dhcp43-165 super]#
[root at dhcp43-165 super]# ls
ls: cannot access new: No such file or directory
new one
two directories are created.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list