Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Gluster Filesystem - (this is only a public mirror)
C Shell Python Perl C++ Java Other

geo-rep: Disable xattrs and acls support with tar_ssh

Geo-rep can't sync xattrs and acls with tar over ssh
for following reasons.

Issue 1: xattrs doesn't sync with tar over ssh.

Reason: untar doesn't respect '--overwrite' option when used along
        with '--xattrs'. So it sends unlink if the file exists on
        destination and re-creates afresh. But all entry operations
        are banned in aux-gfid-mount as it may lead to gfid-mismatch.
        Hence fails with EPERM. This happens only when some xattr is
        set on a file in master volume.

Issue2: acls on directories does not sync with tar over ssh.

Reason: tar tries to opendir ".gfid/<gfid1>" and is not supported
        by gfid-access-translator as readirp can't be handled on
        virtual inodes and hence fails with ENOTSUP where as it syncs
        for files.

Since the issue is with tar commmand it self and nothing could be
done from gluster side, disabling xattr and acls support with tar
over ssh option.

Geo-rep can sync xattrs and acls with 'rsync' as the sync engine.

Change-Id: I6821d327e7fe15545adef644869aa2389f79c701
BUG: 1223642
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/10873
Tested-by: NetBSD Build System
Reviewed-by: Venky Shankar <vshankar@redhat.com>
latest commit 3eaf21e3cc
Kotresh HR authored vshankar committed
Failed to load latest commit information.
api libgfapi: introduce bit flags for pthread mutex and cond variables
build-aux build: make GLUSTERD_WORKDIR rely on localstatedir
cli tiering: Correct errors in cli and glusterd
contrib contrib/timer-wheel: mod_timer() and friends
doc move trash doc to features sub directory
extras snapshot/scheduler: Do not enable scheduler if another scheduler is r…
geo-replication geo-rep: Disable xattrs and acls support with tar_ssh
glusterfs-hadoop hadoop-glusterfs: Fix IndexOutOfBounds Exception
glusterfsd glusterd: gluster volume status should show status of bitrot and scru…
heal libgfapi: Store and restore THIS in every API exposed by libgfapi
libglusterfs quota: quota.conf backward compatibility fix
rpc build: do not include rpcgen generated files in "make dist"
tests tiering/nfs: duplication of nodes in client graph
tools tools/glusterfind: GFID to Path conversion using Changelog
xlators geo-rep: Fix acl mounting in mountbroker setup
.gitignore build: sort gitignore entries
.mailmap scripts: add new email aliases
AUTHORS cleaned up some outdated files
CONTRIBUTING rfc.sh: set 'Change-Id: ' header on first run
COPYING-GPLV2 license: dual license under GPLV2 and LGPLV3+
COPYING-LGPLV3 license: dual license under GPLV2 and LGPLV3+
ChangeLog Fixed build problems for init script installation.
INSTALL core: update INSTALL file.
MAINTAINERS Update MAINTAINERS file
Makefile.am build: Autogenerated files delivered in dist tarball
NEWS news: note the move to gerrit
README.md README: Adding information about Gluster dev workflow
THANKS Typo fix THANKS message
autogen.sh logging: remove unused message-id scripts
configure.ac glupy: remove debug test in libpython runtime search path detection
glusterfs-api.pc.in build: make contrib/uuid dependency optional
glusterfs.spec.in spec: correct the vendor string in spec file
libgfchangelog.pc.in build: make contrib/uuid dependency optional
libgfdb.pc.in build: make contrib/uuid dependency optional
rfc.sh Fix incorrect rfc.sh and checkpatch.pl use of "jenkins" instead of "g…
run-tests.sh tests: Remove tests from bad tests

README.md

Something went wrong with that request. Please try again.