duskwither
Cadet
- Joined
- Mar 20, 2024
- Messages
- 5
Two separate Truenas scale machines, both bare metal being used as SMB fileserver within a Windows AD environment. The timeserver is the Windows domain controller and is a VM getting it's time from the ESZX host it's on. Domain controller time is correct, windows clients in the domain have no time issues either. Both are in UTC timezone or at least configured to be.
My Truenas machines have time drift issues which i can't explain.
Massive offset (i changed the polling interval to 16 to get some faster results):
Timedatectl output:
ntp.conf
My Truenas machines have time drift issues which i can't explain.
Massive offset (i changed the polling interval to 16 to get some faster results):
Code:
root@hostname[~]# ntpq -npcrv remote refid st t when poll reach delay offset jitter ============================================================================== 10.151.128.6 .LOCL. 1 u - 16 377 0.397 +12795. 1.154 associd=0 status=c016 leap_alarm, sync_unspec, 1 event, restart, version="ntpd 4.2.8p15@1.3728-o Wed Sep 23 11:46:38 UTC 2020 (1)", processor="x86_64", system="Linux/5.10.142+truenas", leap=11, stratum=16, precision=-23, rootdelay=0.000, rootdisp=0.000, refid=., reftime=(no time), clock=e9a5783c.85ef52fa Wed, Mar 20 2024 14:59:08.523, peer=0, tc=3, mintc=3, offset=+0.000000, frequency=+0.000, sys_jitter=0.000000, clk_jitter=0.000, clk_wander=0.000
Timedatectl output:
Code:
root@hostname[~]# timedatectl Local time: Wed 2024-03-20 14:58:21 UTC Universal time: Wed 2024-03-20 14:58:21 UTC RTC time: Wed 2024-03-20 14:58:22 Time zone: UTC (UTC, +0000) System clock synchronized: no NTP service: n/a RTC in local TZ: no
ntp.conf
Code:
root@hostname[~]# cat /etc/ntp.conf server 10.151.128.6 iburst maxpoll 10 minpoll 4 restrict default ignore restrict -6 default ignore restrict 127.0.0.1 restrict -6 ::1 restrict 127.127.1.0 restrict 10.151.128.6 nomodify notrap nopeer noquery
- Checked bios for both machines, don't think I can set a timezone there but time is not too far off real-time.
- Both machines have been upgraded from truenas core, which had no timesync issues after using the ntpdate command in a cronjob. Gui settings in Truenas Core were always probematic is as well.
- I checked with tcpdump and can see UDP packets going back and forth between de timeserver and my truenas machines, but nothing seems to be changing.