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.

VM Shutdown time - anyway to increase it?

Featured Replies

It appears that unRAID halts the VMs too soon rather than giving it enough time to shut down. I have a vCenter VM and it takes ages to shut down. Anyway I can adjust the shutdown grace period to 120 or 180 seconds?

 

Cheers.

 

Moderator edit: To summarize the defect, it appears that the new variable shutdownTimeout is being referenced from ident.cfg but stored in disk.cfg.  See farther down.

Set:

 

shutdownTimeout="#seconds"

 

In /boot/config/ident.cfg.

  • Author

Thanks. I'll give it a shot.

 

Cheers.

  • 2 weeks later...
  • Author

Set:

 

shutdownTimeout="#seconds"

 

In /boot/config/ident.cfg.

 

I set shutdownTimeout to 180 seconds. Doesn't seem to be working.

Durrrrrrrr. I'm not too smart. Or I'm too smart for my own good. I directed you to edit the file manually, but there's a GUI setting for that already. It's under Disk Settings, Shutdown time-out.

  • Author

Durrrrrrrr. I'm not too smart. Or I'm too smart for my own good. I directed you to edit the file manually, but there's a GUI setting for that already. It's under Disk Settings, Shutdown time-out.

 

Oh interesting. Thank you.

  • Author

So you know what is interesting? I cannot change the 60 seconds value to anything. When I click apply the page just refreshes and the value is still 60...

 

Attaching diagnostics.

diagnostics-20161110-0803.zip

It's a new feature, added in 6.2.1, so it's possible there's a bug.  You may well be the first to try setting it.

 

Kode54 mentions it being in ident.cfg, which I assume he found by looking at the code?  It's actually being stored in disk.cfg, so that may be the bug.  Try editing the value shutdownTimeout in disk.cfg...  If that works, I'll move this to the Defects board.

  • Author

Thanks, I'll give it a shot.

  • Author

It's a new feature, added in 6.2.1, so it's possible there's a bug.  You may well be the first to try setting it.

 

Kode54 mentions it being in ident.cfg, which I assume he found by looking at the code?  It's actually being stored in disk.cfg, so that may be the bug.  Try editing the value shutdownTimeout in disk.cfg...  If that works, I'll move this to the Defects board.

 

Confirmed. Editing disk.cfg manually through the cli and rebooting makes the difference. Edited shutdownTimeout to 180, upon reboot it was respected and displayed in the webGUI.

 

Cheers.

I mentioned ident.cfg because that's where the /etc/rc.d/rc.local_shutdown script sources it from on 6.3.0-rc3:

 

# Get time-out setting
/usr/bin/fromdos </boot/config/ident.cfg >/var/tmp/ident.cfg
source /var/tmp/ident.cfg
TIMEOUT=${shutdownTimeout:=60}

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.