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.

Putting unraid to sleep while also running a gaming VM on it

Featured Replies

Hey Guys,

I've got a VM with GPU passthrough running, basically my unraid server is my main rig at the moment. I would like to refine my experience with a few tweaks.

First of all is it possible to use the power button of my case to send my unraid server to sleep? Or has someone an idea how you could write a script that sends the server to sleep a few seconds after the VM is shutdown?

 

Also any suggestions how you made your life easier while using an VM as your main rig are welcome.

I don't sleep my servers, but the first thing to do would be to see if the dynamix s3 plugin works for you

  • Author

Yes I've got the Dynamix S3 Sleep plugin, putting the server to sleep works like expected, but I have to shutdown my VM first and then use my laptop/smartphone to put the server to sleep. If I press the sleep button in the webinterface while the VM is running, it freezes and shuts down, resulting in windows complaining that the system was not correctly shutdown. 

 

I tried to put a command like "virsh stop Daedalus" in the custom commands before sleep, but when I press the Sleep button in the unraid webinterface, It does not care what I wrote down there. Strangely the commands after wakeup work.

 

I was thinking that my issue was that the "virsh stop Daedalus" command exits before the VM is shutdown so I tried a few scripts which wait until all VM's are shutdown, but none of them worked. Has anyone got a working VM stop script, that waits until the VM's are shutdown? Also are there any other services that should be stopped before a sleep?

Edited by Fenix

  • 1 year later...

Soo... i'm digging up this topic because I do too face the same problem. I would like that my running VM's are put to hibernate before Unraid goes to sleep (either via pressing the button or the Dynamix S3 Sleep plugin).

 

I'm searching the forum for a solution but with no luck.

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.