Hi,

Recently geo-replication is enhanced to sync xattr and acls as well
from master gluster volume to slave. Geo-rep syncs data in two modes
namely using "rsync" and "tar over ssh". Syncing acls and xattrs via
rsync works fine. But using tar over ssh, there are couple of issues
syncing xattrs and acls.

Issue1: xattrs doesn't sync with tar over ssh.

    Reason: untar doesn't respect '--overwrite' option when used along
            with '--xattrs'. So it sends unlink to unlink if the file exists
            on destination and re-creates afresh. But all entry operations are 
banned in
            aux-gfid-mount as of now as it may lead to gfid-mismatch if am 
correct. 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.
            
Please let me know your comments on above issues. Is there anything that can
be done in gfid-access translator without breaking things to fix these issues?


Thanks and Regards,
Kotresh H R

_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-devel

Reply via email to