[gpfsug-discuss] Copying ACLs between filesystems

Vic Cornell viccornell at gmail.com
Fri Sep 28 11:42:07 BST 2012


Google finds me Star by the ever productive  Jorg Schilling.

http://cdrecord.berlios.de/private/star-acl.html

Kind Regards,

Vic

Vic Cornell
Application Support Engineer
DataDirect Networks
Davidson House
Forbury Square
Reading
RG1 3EU
United Kingdom

Mobile 07900 660 266
Skype viccornell


www.ddn.com
This email may contain confidential and privileged material for the sole
use of the intended recipient.  Any review or distribution by others is
strictly prohibited.  If you are not the intended recipient please contact
the sender and delete all copies


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

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 at 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 at 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 at 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 at gpfsug.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss



_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at gpfsug.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20120928/8137a6a1/attachment.htm>


More information about the gpfsug-discuss mailing list