Snapshots have wrong timestamp in Windows
|Reported by:||lordvorta||Owned by:|
When viewing zfs snapshot folders with in windows previous versions tab the time for all the folders is the same and is total wrong to the system time or the time when the snapshot was taken. (see attached screenshots)
Opening any of the snapshot folders you can see that the correct date and time is being displayed in the address bar and is reflected in the folder name as to when the snapshot was taken (see attached screenshots)
My freenas system time is set to GMT+10 Sydney Australia and so is my windows box.
The strange this is I have no idea where this incorrect folder time in the previous version tab is coming from and it changes every time I restart the CIFS services with no pattern that I can see.
I have also noticed that when the freenas autosnap script is taking the snapshot that the time reported in the console is way out from the system time as well. (see attached screenshots)
I have attempted adding the following Auxiliary Parameters to my share's smb.conf
vfs objects = shadow_copy2
wide links = yes
shadow: snapdir = .zfs/snapshot
shadow: sort = desc
shadow: localtime = yes
shadow: format = auto-%Y%m%d.%H%M-1d
However the folder time is still displayed in correctly in the windows previous version tab.