Comments on: Extending Hyper-V’s Guest Grace Period on Host Shutdown https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/ Hyper-V guides, how-tos, tips, and expert advice for system admins and IT professionals Wed, 24 Nov 2021 04:44:35 +0000 hourly 1 By: David Sutherland https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/#comment-39714 Wed, 24 Nov 2021 04:44:35 +0000 http://www.altaro.com/hyper-v/?p=12101#comment-39714 FYI – Please be aware that the Timeout value is in minutes. The default value of 120 is for a 2 hour timeout. Do not set the value to 6000 unless you are prepared to wait for 100 days for the machine to timeout.

]]>
By: Artem https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/#comment-39296 Fri, 17 Sep 2021 21:10:41 +0000 http://www.altaro.com/hyper-v/?p=12101#comment-39296 Yes, it bug from FreeBSD guests and it still continue at Server 2019, need to report Microsoft.

]]>
By: Stefano Di Niro https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/#comment-3306 Tue, 16 Jul 2019 20:32:00 +0000 http://www.altaro.com/hyper-v/?p=12101#comment-3306 I have two standalone Hyper-V Hosts Win2016 with each 15 Windows 2012/2016 Vms. NIC teaming and 2 VMs with Mac Spoofing and NLB. After I restart the Host the VMs reamin in saved state and only after approx. 15 Minutes they are restoring and working fine.
Any ideas? normally should sart immediately.

]]>
By: Eric Siron https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/#comment-3002 Mon, 03 Sep 2018 15:40:00 +0000 http://www.altaro.com/hyper-v/?p=12101#comment-3002 In reply to Jon W.

That’s a good tip, thanks for sharing. This is something that I hope to look into at some point. FreeBSD is one of the few supported operating systems that I have not even looked at yet.

]]>
By: Jon W https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/#comment-3001 Sun, 02 Sep 2018 07:31:00 +0000 http://www.altaro.com/hyper-v/?p=12101#comment-3001 Hey Pete. Just try disabling the VSS integration service for the PFSense VM and it should fix your issue.

]]>
By: Jon W https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/#comment-3000 Sun, 02 Sep 2018 07:29:00 +0000 http://www.altaro.com/hyper-v/?p=12101#comment-3000 Ok i found a way to replicate the issue. If you install anything based on freebsd 11.2 on hyper-v it will log an error “freebsd kernel: hvvss0: Unknown opt from host: 4” when a shutdown or reboot of the host is initiated. It looks like windows attempts to do something with VSS before issuing a shutdown command and it is failing on the freebsd VM causing the whole vss system to fail on Hyper-v causing all the vm’s power to be pulled even Windows VM’s.

A fix for me was to disable VSS guest services and the vm’s all reboot as normal now.

]]>
By: Pete https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/#comment-2890 Sun, 27 May 2018 14:36:00 +0000 http://www.altaro.com/hyper-v/?p=12101#comment-2890 In reply to Pete.

Well, looks like it didn’t help. Back to shutting down manually before rebooting host and autostarting after.

]]>
By: Pete https://www.altaro.com/hyper-v/extending-hyper-vs-guest-grace-period-host-shutdown/#comment-2881 Wed, 16 May 2018 23:41:00 +0000 http://www.altaro.com/hyper-v/?p=12101#comment-2881 This seems to have helped with my pfSense FreeBSD VM. It would neither Save nor Shutdown correctly when the host was rebooted and would panic on restart, dirty disk errors, etc. Extended the timeout to 600, but just using a single host, so registry . Thanks!

]]>