Hi,
I have case where storage backend is about to change from OneFS to Ceph. Both are mainly
for windows clients used as object storage.
Both ends have SAMBA configured as a GW with integration to AD. Both of the backends work
and can be accessed and utilized but the problem is the data-transfer in between.
So far I have tested only robocopy but that would be a preferred tool since xfer is done
via Windows machine mounting both source and target.
The copying it self works, no problem but copying the ACL for the files and folders
doesn’t. If I provide “robocopy source target /MIR /SEC” I get access denied, only target
top folder is created and it has wrong previleges.
The CEPHFS should be correctly mounted via SAMBA since I can create and copy files and
folders when they are created by, in this case, the administrator. And I can change the
permission after wards but this is not the way the copying is to be done. There is a lot
of data and permissions are crucial to preserve.
I’ve tried many ways to save the permissions, among robocopy I’ve tried saving the
permissions with "icacls save/restore” and with powershells command also. None of
those seem to work.
Here’s a conclusion of what works:
creating new folder/files with administrator to source and robocopying them to target with
/MIR and /SEC.
copying without /SEC.
Here’s also what doesn’t work or help:
Taking over permission for Administrator.
Remove non-existent users from source folder/files.
Removing in-heritage for the folder in source.
Changing owner to administrator.
The CEPH is Nautilus.
Any ideas or suggestiong for the topic?
Best regards and happy new year!
-Oskari
Show replies by date