Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Stopping the Array does not issue ACPI Shutdown on VMs

Featured Replies

It appears that stopping the array does not issue ACPI shutdown.

 

VMs are hard stopped.

 

unRAID 6.2.4

It appears that stopping the array does not issue ACPI shutdown.

 

VMs are hard stopped.

 

unRAID 6.2.4

 

What operating system(s) are you using for your guests.

  • Author

It appears that stopping the array does not issue ACPI shutdown.

 

VMs are hard stopped.

 

unRAID 6.2.4

 

What operating system(s) are you using for your guests.

 

Server 2012 R2. Installed the guest tools.

A hard stop is issued after the disk array shutdown timeout, which defaults to 60 seconds. There is a bug with the option not being configurable properly.

 

Please check where /etc/rc.d/rc.shutdown_local reads the shutdownTimeout variable from. The WebUI tries to assign it to disk.cfg, but I know at least 6.3.0-rc4 sources ident.cfg for this option.

  • Author

My point is I don't even see it attempting to shut down the VM. My timeout is 180 now. I'll give it another try and let you know.

It appears that stopping the array does not issue ACPI shutdown.

 

VMs are hard stopped.

 

unRAID 6.2.4

 

What operating system(s) are you using for your guests.

 

Server 2012 R2. Installed the guest tools.

Did you install the Virtio serial driver as well?

 

Sent from my SAMSUNG-SM-G935A using Tapatalk

 

 

  • Author

It appears that stopping the array does not issue ACPI shutdown.

 

VMs are hard stopped.

 

unRAID 6.2.4

 

What operating system(s) are you using for your guests.

 

Server 2012 R2. Installed the guest tools.

Did you install the Virtio serial driver as well?

 

Sent from my SAMSUNG-SM-G935A using Tapatalk

 

vioserial? yes.

  • Author

 

I thought about that one.

 

I can confirm that it takes *double* execution of

 

--

root@unraid2:~# virsh -c qemu:///system shutdown vcenter

Domain vcenter is being shutdown

 

root@unraid2:~# virsh -c qemu:///system shutdown vcenter

Domain vcenter is being shutdown

 

root@unraid2:~# virsh -c qemu:///system shutdown vcenter

error: Failed to shutdown domain vcenter

error: Requested operation is not valid: domain is not running

 

---

 

So seems like the first execution is ignored? This is 6.2.4

diagnostics-20161112-2313.zip

  • Author

I figured out what the issue was.

 

Re-installed qemu services. Issues went away. Seems to be working as expected.

 

ShutdownTimeout still should be fixed though.

I just fed double commands to mine, it seems to be a synchronization issue with libvirtd?

 

root@Tower:~# virsh dompmsuspend "Windows 10" disk
Domain Windows 10 successfully suspended
root@Tower:~# virsh dompmsuspend "Windows 10" disk
error: Domain Windows 10 could not be suspended
error: Guest agent is not responding: QEMU guest agent is not connected

root@Tower:~# virsh list
Id    Name                           State
----------------------------------------------------

root@Tower:~# 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.