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.

(Solved) Can't Stop Array When VM is Running

Featured Replies

Hi all,

 

UnRAID OS: 6.5.3

virtio drivers: 0.1.141-1

 

I have a Windows Server 2016 VM running, with the QEMU guest agent installed via the latest libvirt drivers. When I go to stop my array, libvirt fires a stop, but nothing happens. I can still RDP to the VM, it hasn't received a call from the hypervisor - it's as if nothing happened at all.

 

I can, however, stop the VM via the VMs dashboard on the UnRAID Web UI. The Shutdown command is fired to the guest OS and it properly shuts down as expected.

 

I just see this in my syslog when stopping the array:

Sep 11 12:22:22 NAS01 root:
Sep 11 12:22:22 NAS01 root: /dev/sdd:
Sep 11 12:22:22 NAS01 root:  setting standby to 0 (off)
Sep 11 12:22:23 NAS01 emhttpd: Stopping services...
Sep 11 12:22:23 NAS01 emhttpd: shcmd (226): /etc/rc.d/rc.libvirt stop

The process then hangs until I RDP to the VM to stop it, or stop it via the UnRAID dashboard. I waited a few minutes, it doesn't seem to kill itself after X number of seconds, or anything like that.

 

The QEMU Guest Agent appears to be running just fine:

 

PS C:\Users\Administrator> Get-Service QEMU-GA

Status   Name               DisplayName
------   ----               -----------
Running  QEMU-GA            QEMU Guest Agent

 

If it matters, my WebUI is running on port 81 (I know this used to be an issue with the 'stop array' script, unsure if it still is with regard to VMs).

Edited by ryanborstelmann
Solved

  • Author

Update: This was due to the fact that I had "hibernate" selected as my "what to do when the array stops" option. I changed this to "Shut Down" and it works like a charm. I'll troubleshoot/search a bit and submit a new post if needed about my apparent inability to hibernate my Windows VM.

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.