January 29, 20179 yr Hi All, Been knocking my brain about this for a few days.... hoping someone can help. (UNRAID 6.2.4 / P5N32-E SLI mother board / Intel Core 2 Duo @ 6700) I'm trying to use wake on RTC for my desktop PC an UNRAID server to implement automatic backups in the early morning. This uses the current BIOS/CMOS time to start the servers at a certain time of day...... The Problem - After the UNRAID shuts down the BIOS has the wrong time. It's like always exacatly +5 hours of the real current time, so the system doesn't turn on at the right time. During the UNRAID regular operations, the system time is always 100%correct when the server is running (inside the gui), but on shutdown / reboot, before starting UNRAID back up, if I check the system time in the BIOS/CMOS area it’s incorrect (+5)… The CMOS battery is good, 3+ volts… Any ideas why this might be happening or how to correct? I've read article about /etc/adjtime doing this, but I cannot find such a file on the UNRAID server. The server time, when runing is always right.... I was thinking this could be a plugin bug issue? Please help.
January 29, 20179 yr Community Expert Are you in the Eastern Time Zone? And did you set all of the settings in 'Settings' >> 'Date and Time' to the proper setting?
January 30, 20179 yr Author Yes, thank you. In Eastern timezone and all date/time settings are correct in settings. The time is correct when the server is running UNRAID, but when I check the time in the CMOS/BIOS after a shutdown/reboot, before UNRAID starts back up - it's always +5 hours from the correct time.
January 30, 20179 yr Have you tried to set the BIOS time to match your local time before running unRAID? Then check the settings within unRAID, as Frank suggests. I think your BIOS is running GMT and unRAID is running with a -5 hour offset. It might be better for the BIOS to run GMT-5 and unRAID to have a zero offset... I think
January 30, 20179 yr Author Thank you... I reset the bios time and after unraid turns off the bios time is once again set to +5 hours. I did just notice, upon shutdown, I see a message flash on the screen about the system is generating an /etc/adjtime file, so I think that has something to do with it, but the file is not there when I check, it must be deleted automatically. Basically what's happening is when unraid shuts down it's sets the bios time +5 hours.
January 30, 20179 yr Author OK we got the answer! Thank you Tom! It's behaving as expected! That's the answer confirming what Tom said earlier, linux stores UTC in the bios, period. Window stores local time in the bios. It's better this way because UTC is independent of time zones and daylight/summer time adjustments. Now that I know what's happening it's a pretty easy workaround - just schedule my 'Wake to RTC' to happen five hours later, in accordance with UTC time. Thank you again Tom! Reuben
Archived
This topic is now archived and is closed to further replies.