Opened 13 months ago

Last modified 4 months ago

#1559 new defect

Snapshots have wrong timestamp in Windows

Reported by: lordvorta Owned by:
Priority: major Milestone:
Component: Backend Version: 8.3.0-RC1
Keywords: Cc: jake@…

Description

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.

Attachments (3)

Screen Shot 2012-06-02 at 12.01.05 PM.png (42.7 KB) - added by lordvorta 13 months ago.
Screen Shot 2012-06-02 at 12.01.33 PM.png (32.5 KB) - added by lordvorta 13 months ago.
Screen Shot 2012-06-02 at 12.04.27 PM.png (15.7 KB) - added by lordvorta 13 months ago.

Download all attachments as: .zip

Change History (5)

Changed 13 months ago by lordvorta

Changed 13 months ago by lordvorta

Changed 13 months ago by lordvorta

comment:1 Changed 4 months ago by Valen

just giving a plus one to this
I am also in sydney australia so I'm wondering if its related specifically to this time zone.
I saw the same behaviour in 8.0.3 and i'm seeing it in 8.3 exactly as described and screenshotted

Last edited 4 months ago by Valen (previous) (diff)

comment:2 Changed 4 months ago by Valen

  • Cc jake@… added
  • Version changed from 8.2.0-BETA3 to 8.3.0-RC1
Note: See TracTickets for help on using tickets.