Hello.
My customer has been using ontap 9.7p4 for NFS v3 Service ( nfs clients would be cent os7), and
they want to test restore a single file from snapshot directory. However the snapshot directory
always shows as question mark like below on root account, I can not access it anymore .
I reviewed this page
https://unix.stackexchange.com/questions/393598/linux-local-directory-permissions-as-question-marks-for-non-root but I couldn't apply execute permission to snapshot directory because the error showed that it is read only filesystem.
How can I access it?
Permissions in a snapshot-directory cannot be modified (it is read-only by design). I don't have a Linux host at the moment to test why it shows '?' But, read permission should be enough to copy the file. Have the user simply COPY the file from a .snapshot rectory to a location which is accessible (writable) to the end-user.
Following example: (steps to copy my.txt)$ ls .snapshot/hourly.2017-05-15_1306/my.txt$ cp .snapshot/hourly.2017-05-15_1306/my.txt .$ ls my.txtmy.txt
Restore a file from a Snapshot copy on an NFS or SMB client:https://docs.netapp.com/us-en/ontap/data-protection/snapshot-copies-work-concept.html
Related:https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Clustered_Data_ONTAP_NFS_access_snapshot
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Why_isnt_the_snapshot_directory_visible_in_an_ls_al_output_on_an_NFS_client
We had the same issue on a volume where we recently enalbed snapdir-access. It turned out that we needed to umount/mount the volume from the Linux client.