sevans@foundation.sdsu.edu (Steve Evans) writes:
Look at this screen shot. It's of a users folders snapshot directory. http://planetevans.com/netapp/snapshot.jpg
You can see that all the snapshots after nightly.3 are regular files. When I double click on them they want me to choose a program to open it with.
This is of the directory \filer\finance\llevinson~snapshot
If I go through \filer\finance~snapshot<snapshot>\llevinson I can access everything just fine.
Also several days ago (the day that lines up with the bad snapshots) everything from \filer\finance\llevinson (the live data) disappeared and we had to pull it from the last snapshot (hourly.0 which was good)
I am more used to using NFS, but this doesn't seem suprising to me. If \filer\finance\llevinson was deleted and recreated, then it is no longer the "same" directory as it was before, and following .snapshot from it will find only subsequent snapshots. The earlier ones have dummy entries which do indeed look like regular files, e.g.:
$ ls -al /home/auser/.snapshot total 40 drwxrwxrwx 19 root root 4096 May 2 16:00 . drwxr-xr-x 3 auser auser 4096 May 2 02:30 .. drwxr-xr-x 2 auser auser 4096 May 2 02:30 hourly.0 drwxr-xr-x 2 auser auser 4096 May 2 02:30 hourly.1 drwxr-xr-x 2 auser auser 4096 May 2 02:30 hourly.2 ---------- 1 root root 0 Mar 26 1999 hourly.3 ---------- 1 root root 0 Mar 26 1999 hourly.4 ---------- 1 root root 0 Mar 26 1999 hourly.5 ---------- 1 root root 0 Mar 26 1999 hourly.6 ---------- 1 root root 0 Mar 26 1999 hourly.7 [etc.]
I think the time stamp on the dummy entries is the time the volume was created. I've never been very clear why ONTAP has to put them in rather than just showing fewer entries in .snapshot.
Chris Thompson Email: cet1@cam.ac.uk