NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

How to access a snapmirror file that no longer contains any ACL's on NetApp

markryanwillis
5,907 Views

I basically have a file that has been Snapmirrored about 30-days ago that has either changed owndership or has lost all the ACL's (both) not sure. Thus I cannot not restore the file. Is there a way to basically get that file off this CIFS volume and have it assume the everyone ACL or something?

1 ACCEPTED SOLUTION

scottgelb
5,907 Views

You could Ndmpcopy the file from a snapshot directory from the cli To a new name on the active file system then as log as you have top level permission you can modify permission on that file.

View solution in original post

6 REPLIES 6

AGUMADAVALLI
5,907 Views

Break the snapmirror, change the cifs share to everyone, you should be able to access from all the clients the share and restore it just with cut and paste.

Once done, resync it back again and you will be  back to business.

thank you.

AK G

markryanwillis
5,907 Views

This file is in a ~snapshot folder and not sure that is going to work that easy. I think I forgot to mention that....

AGUMADAVALLI
5,907 Views

yes you are correct.

AK G

haenggi
5,907 Views

One way to get just the information out of it is using CLI Command rdfile. Here an example:

rdfile /etc/.snapshot/nightly.1/snapmirror.conf

This command will print out the content of the snapmirror.conf file from the snapshot nightly.1 onto the CLI.

scottgelb
5,908 Views

You could Ndmpcopy the file from a snapshot directory from the cli To a new name on the active file system then as log as you have top level permission you can modify permission on that file.

markryanwillis
5,907 Views

That is what I did before we found the owner of the file had his Domain Account recently deactivated (: Thank you all!

Public