Detailed steps for NFS metadata preservation using cifsacl

Ayan Mullick 66 Reputation points
2022-06-14T16:35:38.103+00:00

Is there detailed documentation for metadata transfer steps using cifsacl while migrating an NFS share using DataBox?
https://learn.microsoft.com/en-us/azure/databox/data-box-file-acls-preservation#linux-data-copy-tools

Can one mount it as a cifs share like the below example?

sudo mount -t cifs //192.168.0.100/cifsshare /tmp/mntshare1/ -o username=cifsdemouser1,rw, password=My1Pass,domain=example.com,cifsacl

Could one share PowerShell documentation for the same?

https://learn.microsoft.com/en-us/powershell/module/az.databox/new-azdataboxjob?view=azps-8.0.0#example-1-create-a-databox-import-job

Azure Data Box
Azure Data Box
A family of appliances and solutions for offline data transfer to Azure​.
38 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,687 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,364 questions
{count} votes

Accepted answer
  1. SaiKishor-MSFT 17,186 Reputation points
    2022-07-14T19:03:30.717+00:00

    @Ayan Mullick Thank you for your patience wrt to this issue. I have reached out to our internal team regarding this. Here is more information/questions that they have provided regarding the same-

    1. Databox only supports NTFS style ACLs and doesn’t support other styles.
    2. And it does so only for Azure files.
    3. If the clients files/directories are NTFS based ACLs, then the below mentioned tools can be used to transport them to databox.
    4. On the other hand if the ACLs at the source are not NTFS style, but nfs/posix etc. then ACLs are not support and only the data can be transported.
    5. Even with NTFS style ACLs at the Unix/Linux source, the tools like cifsacl, smbacls can be quite slow as they can’t do batch operations on ACLs, instead the tool has to be invoked for every file/directory.

    To answer you better, please provide the following information-

    1. The type of ACLs you have at source.
    2. Are you moving files to Azure Files?
    3. What is the scale, in-terms of the number files/directories?

    Thank you!

    0 comments No comments

0 additional answers

Sort by: Most helpful