Spacetech
Cadet
- Joined
- Dec 20, 2017
- Messages
- 1
I have been experiencing an issue with shadow copies since upgrading to 12. The snapshots are being generated and show up in the previous versions list. However when I try to access them from windows, it gives me this error:
That dialog shows up when I try to open / restore a specific version from here:
I do not have issues accessing any other file or folder in the share.
The full path for that videos folder would be "/mnt/gravitas/Media/Videos"
The smbd log file shows these errors:
Something worth noting is that I can manually go to the "M:\.zfs\snapshot" folder and each of the snapshot folders is accessible just fine. I wonder if something strange is going on with how the "vfs_shadow_copy_zfs" module maps between Windows/SMB and the ZFS snapshots? Or perhaps there a configuration issue on my end.
I have already tried disabling/re-enabling the "Enable Shadow Copies" and tried recreating the SMB share. I also have another ZFS pool & SMB share that is giving me the same issue, so I don't think it's share-specific.
Any help would be great. Thanks
That dialog shows up when I try to open / restore a specific version from here:
I do not have issues accessing any other file or folder in the share.
The full path for that videos folder would be "/mnt/gravitas/Media/Videos"
The smbd log file shows these errors:
Code:
[2021/07/27 20:33:47.638591, 0] ../../source3/modules/vfs_shadow_copy_zfs.c:102(shadow_path_to_dataset) shadow_path_to_dataset: Stat of /mnt/gravitas/0|Media/Videos failed with error: No such file or directory cannot open '/mnt/gravitas/0|Media/Videos': No such file or directory [2021/07/27 20:33:47.639960, 0] ../../source3/modules/vfs_shadow_copy_zfs.c:102(shadow_path_to_dataset) shadow_path_to_dataset: Stat of /mnt/gravitas/0|Media/Videos failed with error: No such file or directory cannot open '/mnt/gravitas/0|Media/Videos': No such file or directory [2021/07/27 20:34:45.860273, 0] ../../source3/modules/vfs_shadow_copy_zfs.c:102(shadow_path_to_dataset) shadow_path_to_dataset: Stat of /mnt/gravitas/0|Media/Videos failed with error: No such file or directory cannot open '/mnt/gravitas/0|Media/Videos': No such file or directory [2021/07/27 20:34:45.862255, 0] ../../source3/modules/vfs_shadow_copy_zfs.c:102(shadow_path_to_dataset) shadow_path_to_dataset: Stat of /mnt/gravitas/0|Media/Videos failed with error: No such file or directory cannot open '/mnt/gravitas/0|Media/Videos': No such file or directory [2021/07/27 20:34:45.863648, 0] ../../source3/smbd/statcache.c:155(stat_cache_add) OOPS - tried to store stat cache entry for weird length paths [0x1626346800|MEDIA/VIDEOS] 25 and [0x1626346800|0|Media/Videos] 27)! [2021/07/27 20:34:45.863776, 0] ../../source3/modules/vfs_shadow_copy_zfs.c:102(shadow_path_to_dataset) shadow_path_to_dataset: Stat of /mnt/gravitas/0|Media/Videos failed with error: No such file or directory cannot open '/mnt/gravitas/0|Media/Videos': No such file or directory [2021/07/27 20:34:45.865140, 0] ../../source3/modules/vfs_shadow_copy_zfs.c:102(shadow_path_to_dataset) shadow_path_to_dataset: Stat of /mnt/gravitas/0|Media/Videos failed with error: No such file or directory cannot open '/mnt/gravitas/0|Media/Videos': No such file or directory
Something worth noting is that I can manually go to the "M:\.zfs\snapshot" folder and each of the snapshot folders is accessible just fine. I wonder if something strange is going on with how the "vfs_shadow_copy_zfs" module maps between Windows/SMB and the ZFS snapshots? Or perhaps there a configuration issue on my end.
I have already tried disabling/re-enabling the "Enable Shadow Copies" and tried recreating the SMB share. I also have another ZFS pool & SMB share that is giving me the same issue, so I don't think it's share-specific.
Any help would be great. Thanks