When the snapshot files for a share are located outside the share's root dir, the previous version files cannot be accessed.
For example, suppose we have:
- a volume mounted at /myvol
- a share myshare at /myvol/myshare
- volume snapshots mounted at /mysnaps/@GMT-xxxx
Then the smb.conf for shadow_copy2 needs to be:
path = /myvol/myshare
vfs objects = shadow_copy2
shadow:mountpoint = /myvol
shadow:snapdir = /mysnaps
In that case the snapshot files cannot be accessed via the previous versions interface, because they are regarded as wide links.
It can be verified without actual snapshots by creating a suitable directory structure.
Created attachment 11771 [details]
git-am fix for 4.3.next
Karo, please pick for 4.3.next
(In reply to Michael Adam from comment #2)
Pushed to autobuild-v4-3-test.
(In reply to Karolin Seeger from comment #3)
Pushed to v4-3-test.
Closing out bug report.