Here's the rsync patch from Ronnie Sahlberg back from '08. Never tried it and not sure if it's actually part of rsync now, but it sounds pretty cool:

http://samba.2283325.n4.nabble.com/Patch-for-GPFS-support-td2508779.html

Cheers,
Barry



On 28 Sep 2012, at 11:28, Barry Evans <bevans@canditmedia.co.uk> wrote:

Just tried rsync -A (preserve acl's) on this end, no joy there either. two filesystems, same machine.

sounds very, very evil but have you tried robocopy from one share to another? Not ideal.

Cheers,
Barry



On 28 Sep 2012, at 11:03, Orlando Richards <orlando.richards@ed.ac.uk> wrote:

Hi folks,

Does anyone know a good way to sync files between two gpfs filesystems, while preserving NFSv4 ACL's?

I've tried rsync and cp - neither of which seem to copy over acls.

Sample test:

# mkdir test
# mmeditacl -k nfs4 test
# mmgetacl test
#NFSv4 ACL
#owner:root
#group:root
group:1234:rwxc:allow:FileInherit:DirInherit
(X)READ/LIST (X)WRITE/CREATE (X)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR  (-)READ_NAMED
(-)DELETE    (X)DELETE_CHILD (X)CHOWN (X)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (-)WRITE_NAMED

# rsync -av test/ test2/
[root@mwvm06 nasdev]# mmgetacl -k nfs4 test2
#NFSv4 ACL
#owner:root
#group:root
special:owner@:---c:allow
(-)READ/LIST (-)WRITE/CREATE (-)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR  (-)READ_NAMED
(-)DELETE    (-)DELETE_CHILD (X)CHOWN (-)EXEC/SEARCH (X)WRITE_ACL (X)WRITE_ATTR (-)WRITE_NAMED

special:group@:----:allow
(-)READ/LIST (-)WRITE/CREATE (-)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR  (-)READ_NAMED
(-)DELETE    (-)DELETE_CHILD (-)CHOWN (-)EXEC/SEARCH (-)WRITE_ACL (-)WRITE_ATTR (-)WRITE_NAMED

special:everyone@:----:allow
(-)READ/LIST (-)WRITE/CREATE (-)MKDIR (X)SYNCHRONIZE (X)READ_ACL (X)READ_ATTR  (-)READ_NAMED
(-)DELETE    (-)DELETE_CHILD (-)CHOWN (-)EXEC/SEARCH (-)WRITE_ACL (-)WRITE_ATTR (-)WRITE_NAMED





--
           --
  Dr Orlando Richards
 Information Services
IT Infrastructure Division
      Unix Section
   Tel: 0131 650 4994

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss@gpfsug.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss