{"id":381,"date":"2011-03-30T11:24:36","date_gmt":"2011-03-30T00:24:36","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=381"},"modified":"2011-03-30T11:24:36","modified_gmt":"2011-03-30T00:24:36","slug":"hyper-v-centos-vm-date-time-clock-gains-hours-even-with-ntp","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2011\/03\/hyper-v-centos-vm-date-time-clock-gains-hours-even-with-ntp\/","title":{"rendered":"Hyper-V Centos VM date time clock gains hours even with ntp"},"content":{"rendered":"<p>I have a system at home that is used for test and dev work. It&#8217;s a windows 2008 server with Hyper-V with various VM&#8217;s running including SME Server which is based on CentOS.<\/p>\n<p>The clock has been playing up with time gains in hours and this messes me up when looking at logs etc.<\/p>\n<p>I think it may be resolved thanks to <a href=\"http:\/\/blog.hompus.nl\/2010\/01\/08\/correcting-time-drift-with-centos-on-hyper-v\/\">Michaels blog post<\/a>.<\/p>\n<p>For future ref the change is in the \/boot\/grub\/grub.conf file and we need to add<\/p>\n<blockquote><p>\ndivider=10 clocksource=acpi_pm\n<\/p><\/blockquote>\n<p>to the kernel line, i.e. on the line that starts with &#8216;kernel&#8217; as part of the command.<br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a system at home that is used for test and dev work. It&#8217;s a windows 2008 server with Hyper-V with various VM&#8217;s running including SME Server which is based on CentOS. The clock has been playing up with time gains in hours and this messes me up when looking at logs etc. I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,22],"tags":[],"class_list":["post-381","post","type-post","status-publish","format-standard","hentry","category-sme-server","category-windows-servers"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/comments?post=381"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/381\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}