[Bugs] [Bug 1549915] [Fuse Sub-dir] After performing add-brick on volume, doing rm -rf * on subdir mount point fails with " Transport endpoint is not connected"

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 6 14:42:11 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1549915



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18645 committed in master by "Atin
Mukherjee" <amukherj at redhat.com> with a commit message- hooks: add a script to
stat the subdirs in add-brick

The subdirectories are expected to be present for a subdir
mount to be successful. If not, the client_handshake()
itself fails to succeed. When a volume is about to get
mounted first time, this is easier to handle, as if the
directory is not present in one brick, then its mostly
not present in any other brick. In case of add-brick,
the directory is not present in new brick, and there is
no chance of healing it from the subdirectory mount, as
in those clients, the subdir itself will be 'root' ('/')
of the filesystem. Hence we need a volume mount to heal
the directory before connections can succeed.

This patch does take care of that by healing the directories
which are expected to be mounted as subdirectories from the
volume level mount point.

Change-Id: I2c2ac7b7567fe209aaa720006d09b68584d0dd14
BUG: 1549915
Signed-off-by: Amar Tumballi <amarts at redhat.com>

-- 
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