Network and Storage Protocols

Preserve ACL when migrating files from Solaris to NFSv4

CMHUI
4,969 Views

Hi,

 

I am going to migrate files from a Solaris server to NetApp Ontap 9 filer

 

As many files in the Solaris server have ACL in it, I shared the NetApp filer as NFSv4.

 

However, it seems that when files are copied from Solaris to the NFSv4 share, all ACL were gone. 

 

Does anyone know of any file copy tools which can preserve ACLs when copying files to NFSv4 shares?

 

Thanks in advance

 

cm

3 REPLIES 3

Sahana
4,906 Views

Hi,

 

Please check if NFSv4.0 ACL Support is enabled on the vserver. Deafult is disabled. Refer http://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-cmpr-910%2Fvserver__nfs__modify.html

Also check the other ACL options.

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

CMHUI
4,891 Views

First of all, thank you for your reply. 

 

NFSv4 ACL support was enabled on the Netapp Filer. No problem using it. 

 

The problem was that ACL entries were not preserved when copying or tar from source to Netapp filer.

 

My question is what file copying tools can preserve ACL

 

for example, when using cp --preseve=xattr , I get the following message

 

cp: setting attribute 'system.nfs4_acl' for 'system.nfs4_acl': Invalid argument

 

cm

borisaelen
3,584 Views

Hi,

 

I have exactly the same problem.

Did you find a solution for this already?

 

--Boris 

Public