[gpfsug-discuss] Copying ACLs from outside sources
Orlando Richards
orlando.richards at ed.ac.uk
Thu Oct 3 09:17:47 BST 2013
Hi Jonathan,
Might be a bit of a long shot this - but for copying NFSv4 ACLs between
GPFS filesystems using rsync, I had to patch rsync with some code
released by IBM at some point. We've got that patched rsync hosted on
the gpfsug github:
https://github.com/gpfsug/gpfsug-tools/tree/master/bin/rsync
Since you're not doing gpfs -> gpfs, it might be no use - but you never
know!
Oh - and, of course, make sure your GPFS filesystem is configured to
support NFSv4 ACLs.
Here's our smb.conf settings related to GPFS, ACLs and other bits and bobs:
vfs objects = shadow_copy2, fileid, gpfs
clustering = yes
fileid:mapping = fsname
gpfs:sharemodes = No
gpfs:getrealfilename = no
nfs4: mode = simple
nfs4: chown = yes
nfs4: acedup = merge
force unknown acl user = yes
acl group control = no
map acl inherit = yes
inherit acls = no
dos filemode = no
map readonly = no
map hidden = no
map archive = no
map readonly = no
ea support = yes
store dos attributes = yes
gpfs:winattr = yes
max protocol = SMB2
shadow:fixinodes = yes
shadow:snapdir = .snapshots
shadow:basedir = /exports/nas
use sendfile = yes
wide links = no
unix extensions = no
Hope that helps,
Orlando
--
Orlando
On 03/10/13 09:09, Pete Smith wrote:
> Hi, and welcome, Jonathan.
>
> Which combination of -A and -X rsync options did you use?
>
> Pete
>
> On 2 October 2013 21:44, Fosburgh,Jonathan <jfosburg at mdanderson.org> wrote:
>> Hello, I'm new to this list, as well as GPFS.
>>
>> We have new (installed over the last 6 weeks) GPFS cluster that we are
>> currently trying to get into service. The NSDs are running on Red Hat (6
>> NSDs), the storage is DCS3700 directly attached via SAS. We are running
>> GPFS 3.5.0.12.
>>
>>
>> Some of the data that will be placed on this cluster will be existing data
>> coming from other sources, one of which is our NAS (Isilon, supporting both
>> NFS and CIFS). We have tried a few different ways of copying the data.
>> First we tried to rsync directly between an NSD and one of the Isilon nodes.
>> Unfortunately, it appears the rsync doesn't work with the ACL format used on
>> the Isilon. We have also tried using various methods of copying data via
>> CIFS, but we continue to have no luck getting ACLs to copy. We know that,
>> for instance, copying data via CIFS into the Isilon using robocopy will
>> preserve the ACLs, and we were hoping that would work for getting data onto
>> GPFS as well. However, the ACLs are being stripped and replaced with
>> whatever ACL is present on GPFS. Does anyone have experience doing
>> something like that who can give me some pointers on what my configuration
>> should look like? I assume there are samba and/or GPFS parameters that need
>> to be tweaked in order to make this work, especially since this
>> functionality would have to be present in SONAS.
>>
>>
>> _______________________________________________
>> gpfsug-discuss mailing list
>> gpfsug-discuss at gpfsug.org
>> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
>>
>
>
>
--
--
Dr Orlando Richards
Information Services
IT Infrastructure Division
Unix Section
Tel: 0131 650 4994
skype: orlando.richards
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the gpfsug-discuss
mailing list