11.2-U3 Snapshots, wrong timestamp

Dotty

Contributor
Joined
Dec 10, 2016
Messages
125
Im running FreeNAS-11.2-U3.
The timestamp on my periodic snapshots is wrong, my timezone is set up correctly for America/New York.
My current time is Sat May 18th 9:03 PM, and a snapshot taken just now says Sun May 19th 1:03 AM
4 hours ahead.
The name of the snapshot is [sharename]@auto-20190518.2103-2w
Any advise?
 

Apollo

Wizard
Joined
Jun 13, 2013
Messages
1,458
While this might seem an issue, ZFS will not be confused as to which is the next snapshot in the queue, as it doesn't rely on the date.
I suspect your PC or Freenas time zone is incorrect.
 

Dotty

Contributor
Joined
Dec 10, 2016
Messages
125
While this might seem an issue, ZFS will not be confused as to which is the next snapshot in the queue, as it doesn't rely on the date.
I suspect your PC or Freenas time zone is incorrect.
PC and FreeNAS are in the right Timezone.
I know FreeNAS wont get confused, but FreeNAS does not rollback or clone a snapshot alone, the admin does, so he/she should pick the right one first before any other action.
If the timestamp is wrong (or showing GMT without clear clarification on the GUI), then the admin might pick the wrong snapshot, and rollback or clone that one.

Yesterday I noticed the Timestamp for alerts is on GMT (and it says "GMT" on the tooltip), so Im assuming the data on the snapshot list is also that but doesnt actually say "GMT".
FreeNAS seems to be using the right timezone for the snapshot name, so I guess I would be using that as reference, but it is confusing and I think the "Date Created" value should reflect local timezone as configured on the box.
 

snicke

Explorer
Joined
May 5, 2015
Messages
74
I have the same issue with FreeNAS-11.2-U5. Bug or odd "feature"?

Where you able to fix it @Dotty?
 
Last edited:

FalconNet

Cadet
Joined
Aug 27, 2019
Messages
5
I have the same issue. 11.2 latest update.
Freenas installed on Bare Metal. Date command shows correct time:
Friday, Sep 6, 2019 09:12:22 EDT

Latest Snapshot Shows:
falnas1@auto-20190906.0914-1w Date Created: Fri Sep 6 13:14 2019

Filename is correct time, the "Date Created" Field seems to be showing GMT.

Went into BIOS, time is correct.
Timezone set correct in the GUI Interface

I also looked in the "Legacy" Interface and it doesn't have a Date Created field.
 

Fredda

Guru
Joined
Jul 9, 2019
Messages
608
This seems to be a bug in the GUI. My timezone here is GMT+2.
In the shell it looks this way:
Code:
~# zfs list -r -t snapshot -o name,creation /mnt/pool/test/
NAME                             CREATION
...
pool/test@auto-20190906.1500-1d  Fri Sep  6 15:00 2019
pool/test@auto-20190906.1600-1d  Fri Sep  6 16:00 2019
~# date
Fri Sep  6 16:02:44 CEST 2019
So the creation time matches the date.

Only the gui shows a creation time of Fri Sep 6 14:00 2019 for the latest snapshot.
 
Last edited:

Bacdef

Cadet
Joined
Oct 9, 2019
Messages
1
Greetings all (first post!).

Same behavior here on 11.2-U5 and 11.2-U6 systems.
The "Date Created" column on the Storage/Snapshots Web Interface page is using GMT instead of local time. Since we are EST5EDT (America/NewYork) snapshots are currently displayed with creation dates 4 hours into the futuuure.

Periodic snaps work as expected.
All CLI tools use local time and work as expected.
Snapshot replication operates as expected.

Feels like a comestic GUI-only issue, but it did cause some admin confusion.
I will be watching this thread with interest.
 

jmartaudio

Cadet
Joined
Jan 11, 2020
Messages
1
FWIW. I have zfs on freenas and zfs on Arch and i get the same problem on both. in Arch its command line only -- so no GUI to be an issue. The mystery deepens.
 
Top