[Samba] ZFS and vfs_shadow_copy2

Andrea Venturoli ml at netfence.it
Wed Mar 23 12:52:27 UTC 2022

On 2/17/22 17:33, Adam Thorn via samba wrote:

> I've tcpdumped on the samba server at the point I right click the 
> "Restore previous versions.." option on my Win10 client, and then viewed 
> the pcap in wireshark. I see my client sending a 
> FSCTL_SRV_ENUMERATE_SNAPSHOTS request, and then in the server reply I 
> look at the "Ioctl Response" part of the smb payload. That response 
> includes "Out data" looking like...
> Number of snapshots: 19
> Snapshot: @GMT-2022.02.17-12.54.03
> Snapshot: @GMT-2022.02.17-06.54.03
> (etc etc)
> The list of snapshots in the pcap matches what I expect based on running 
> zfs list -r -t snapshot -oname, and all of the snapshots display as 
> expected in the Windows previous version client.


I finally had the chance to do this test.
The packet trace shows all the ZFS snapshots I expected, but Windows (10 
or 11) will only list the most recent.

At least now I know it's a client side problem.

  bye & Thanks

More information about the samba mailing list