Created attachment 579429 [details] glusterfs client log file Description of problem: I was running rm -rf of a directory tree when added 2 more bricks to a 2 node distribute volume. rm -rf failed with following error. [root@gqac013 glusterfs]# rm -rf a/ rm: fts_read failed: No such file or directory Actually this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=794652 Since the above bug is closed and there is no way to re-open the bug, I'm opening a new bug. Version-Release number of selected component (if applicable): glusterfs-3.3.0qa37 How reproducible: Often Steps to Reproduce: 1. Create and start a 2 node replicated volume. 2. Create a directory tree on the mountpoint. mkdir -p `perl -e "print 'a/' x 2000"` 3. Now run 'rm -rf a/' on the mountpoint and meanwhile add 2 more bricks to the volume to make it 2*2 distributed-replicated. Actual results: sys 0m0.113s [root@gqac013 glusterfs]# rm -rf a/ rm: fts_read failed: No such file or directory Expected results: rm -rf should not fail. Additional info: Attaching the client logs file.
The issue is seen when a single brick volume is converted to a distribute volume(through add-brick). Existing directories would not have any extended attributes set on them, which would lead to failure. Removing the 3.3.0beta milestone, as this issue can not be fixed in this time frame. Documentation updates relating to this bug is sufficient for the time being.
*** Bug 795642 has been marked as a duplicate of this bug. ***
http://review.gluster.com/3213 is pushed to master branch, which should fix the issue.
*** Bug 835030 has been marked as a duplicate of this bug. ***
*** Bug 831940 has been marked as a duplicate of this bug. ***
CHANGE: http://review.gluster.org/3838 (glusterd-volgen: by default include 'cluster/distribute' in volfile) merged in release-3.3 by Vijay Bellur (vbellur)
CHANGE: http://review.gluster.org/4151 (POSIX sh uses = and not ==) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.org/4299 (NetBSD MS_RDONLY portability build fix) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.org/4308 (Spurious reserved port warning fix) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.org/4313 (NULL reference fix in gfid log) merged in master by Vijay Bellur (vbellur)
*** Bug 875035 has been marked as a duplicate of this bug. ***