I have some questions regarding the copying of existing files hosted on Linux (with extended attributes, Posix draft ACL) into a fresh GPFS filesystem.
Since "traditional" GPFS ACLs are "similar" to Posix ACLs:
1. If I create the GPFS filesystem with support for Posix ACLs ("-k all" or "-k posix"), can I do "rsync -A" and expect the original Posix ACLs to be correctly applied to the copied files on the GPFS filesystem? This may or may not be the same as asking whether using setfacl instead of mmputacl with a Posix ACL will work (as intended)? What if the GPFS filesystem was created with -k nfs4? Since Posix draft ACLs can be mapped onto NFSv4 ones, will this work (with an implied conversion or..)
2. What is the best practice for copying a large existing file base onto GPFS and preserve permissions and ACLs? Can I go ahead as in 1. using "cp -p" or rsync -A? Should I script the readout of ACLs on one side (getfacl), and script the application of the ACLs on the other side (mmputacl)? Should we completely rethink our ACL structure and apply it to the copied files?
3. Are there reasons for using NFSv4 ACLs over Traditional Poisx ACLs on GPFS if there are no Windows machines reading data from the filesystem, and we're not using NFSv4?
Pinned topic GPFS 22.214.171.124 File ingest - ACL preservation
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-03-30T19:00:51Z at 2011-03-30T19:00:51Z by firstname.lastname@example.org
email@example.com 060000T9GF101 Posts
Re: GPFS 126.96.36.199 File ingest - ACL preservation2011-03-30T19:00:51ZThis is the accepted answer. This is the accepted answer."cp -p" or "rsync -A" will copy the posix acl from a Linux fs to GPFS (configured with "-k all" or "-k posix"). Do not configure your GPFS fs with "-k nfs4" in this case, because that would cause all posix acl store requests to be rejected. NFSv4 ACLs have more granular permissions and can be useful if that is important, but they are not fully supported within the Linux vfs so they don't sound appropriate for your situation here.