October 29, 20169 yr 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.
November 9, 20169 yr Author Set: shutdownTimeout="#seconds" In /boot/config/ident.cfg. I set shutdownTimeout to 180 seconds. Doesn't seem to be working.
November 10, 20169 yr 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.
November 10, 20169 yr 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.
November 10, 20169 yr 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
November 10, 20169 yr 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.
November 11, 20169 yr 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.
November 11, 20169 yr 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}
November 13, 20169 yr There are two problems. One is the "Shutdown time-out" cannot be changed on the webGui, and the other is that even if it is changed manually it is not respected and the time out defaults to 60 seconds when a shutdown is initiated. I've posted a defect report here: http://lime-technology.com/forum/index.php?topic=53739.0
Archived
This topic is now archived and is closed to further replies.