I have a network with Vmware and NetApp storage. We had a folder deleted which we thought were old files which were no longer used but after deleting our DFS/Print vm server will not Power on. Says it need a .vmdk file that was one of the deleted files.
We tried looking in the backup tapes but could not find the files. I have been researching and there is mentioning of a snapshot directory that may retain these files but it is hidden.
Long story short is we need to restore these files to return access to NFS file shares and print services.
You can navigate to the snapshot directory in NFS via the .snapshot path.
1. Mount the NFS export in question
2. At the top level, cd to .snapshot
3. cd to the desired snapshot
4. Navigate in the snapshot to the location of the files
# mount | grep flexgroup demo:/flexgroup_16 on /flexgroup type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=x.x.x.x,mountvers=3,mountport=635,mountproto=udp,local_lock=none,addr=x.x.x.x)
# pwd /flexgroup
# cd .snapshot -bash: cd: .snapshot: No such file or directory
If you can't get to the .snapshot directory, then snapdir-access likely needs to be enabled on the volume: