David Puziol Prata Posted March 5, 2021 Share Posted March 5, 2021 Hi, For now my unraid is not using a UPS. When I can I will put it, I will. Every time there is a power failure, the VM service is disabled, requiring me to go manually and activate. The VM is running in the cache, so it does not use the array at the time of verification. Does anyone know why this is happening? Quote Link to comment
JorgeB Posted March 6, 2021 Share Posted March 6, 2021 Please post the diagnostics: Tools -> Diagnostics Quote Link to comment
David Puziol Prata Posted March 6, 2021 Author Share Posted March 6, 2021 Thanks for help me unraid-diagnostics-20210306-0623.zip Quote Link to comment
JorgeB Posted March 6, 2021 Share Posted March 6, 2021 Stop the array and do a clean reboot, then post new diags after array start. P.S. there's an unassigned 3TB Seagate spamming the log, if you're not using it disconnect it. Quote Link to comment
David Puziol Prata Posted March 6, 2021 Author Share Posted March 6, 2021 I disconnected the seagate. when i restarted cleanly the vm service returned normally. I simulated the problem by forcing a wrong shutdown by pressing the power button holding it. VM Manager returns disabled and does not start vms. I had to manually enable this service. unraid-diagnostics-20210306-0730.zip Quote Link to comment
JorgeB Posted March 6, 2021 Share Posted March 6, 2021 Strange that it doesn't auto start after an unclean shutdown, but first thing would be to avoid those. Quote Link to comment
David Puziol Prata Posted March 6, 2021 Author Share Posted March 6, 2021 When I do a clean shutdown, the vm manager works normally, coming back activated When a forced, unclean shutdown occurs, the vm manager returns disabled In the case of the diagnosis, I simulated an unclean shutdown to see why it is not activated again Quote Link to comment
JorgeB Posted March 6, 2021 Share Posted March 6, 2021 Like mentioned avoid unclean shutdowns, they can cause other issues. Quote Link to comment
David Puziol Prata Posted March 6, 2021 Author Share Posted March 6, 2021 I still don’t have a UPS, I’ll provide it when I can. The Vm that needs to come back is the one of the Home Assistant who maintains the automation of my home. If she doesn’t come back and I’m out of the house, it’s difficult. Is there no solution for this case? I have 3 friends who also have unraid and it doesn't happen to them, so I find it strange. Quote Link to comment
JorgeB Posted March 6, 2021 Share Posted March 6, 2021 27 minutes ago, David Puziol Prata said: so I find it strange. It is strange, it should still start, and there's no error, it's like the setting changes to disable, you can try toggling VM service off then on, but doubt it helps. Quote Link to comment
David Puziol Prata Posted March 6, 2021 Author Share Posted March 6, 2021 fiz o que vc pediu, desativei, e ativei.. na volta olha o que acontece... eu acho realmente que tem algo a ver com o libvirt Quote Link to comment
David Puziol Prata Posted March 6, 2021 Author Share Posted March 6, 2021 is here deleted the libvirt, removed the one that existed. I downloaded a new one and my VM is gone. I'm recreating again. unraid-diagnostics-20210306-0900.zip Quote Link to comment
JorgeB Posted March 6, 2021 Share Posted March 6, 2021 6 minutes ago, David Puziol Prata said: deleted the libvirt, removed the one that existed. That's expected, libvirt is where the XMLs are stored, and should always have a backup. Quote Link to comment
giustanca Posted September 24, 2021 Share Posted September 24, 2021 I also have the same problem: when there is a power failure the system restarts but does not enable the virtual machine service, which must be re-enabled manually. Has anyone figured out what the problem could be and therefore its solution? Quote Link to comment
Squid Posted September 24, 2021 Share Posted September 24, 2021 5 minutes ago, giustanca said: I also have the same problem: when there is a power failure the system restarts but does not enable the virtual machine service, which must be re-enabled manually. Has anyone figured out what the problem could be and therefore its solution? Not without posting your diagnostics Quote Link to comment
giustanca Posted September 24, 2021 Share Posted September 24, 2021 The problem seems common to me, I find several posts, and I don't think it depends on the configuration of the individual machines. It looks like an unraid bug Quote Link to comment
Squid Posted September 24, 2021 Share Posted September 24, 2021 9 minutes ago, giustanca said: It looks like an unraid bug Unlikely. But there's also no way to tell without the diags Quote Link to comment
giustanca Posted September 24, 2021 Share Posted September 24, 2021 Here is the diagnostics. Thanks for your help. nas-diagnostics-20210924-1839.zip Quote Link to comment
giustanca Posted September 29, 2021 Share Posted September 29, 2021 Thank you very much for your help after loading the diagnostics ... Quote Link to comment
zanzu Posted September 30, 2021 Share Posted September 30, 2021 I too have the same behavior. When my server has an unclean reboot, VM is disabled. Is this a bug in Unraid? Quote Link to comment
giustanca Posted October 5, 2021 Share Posted October 5, 2021 For me it is a very obvious unraid bug. Being a fairly widespread bug I don't think it depends on the configuration of the single machines. However I have no way to ascertain this and the help on the forum, despite the upload of the diagnostics, was null. Quote Link to comment
zavanilli Posted December 3, 2021 Share Posted December 3, 2021 same issue here did anyone figure it out? Quote Link to comment
deebeo Posted March 18, 2022 Share Posted March 18, 2022 (edited) Same Problem here. Just had a power outage and my VMs(one of them being home assistant which needs to come back asap) didnt come back up. Has happened before in the same way. VM service is disabled after power outage. unraid-diagnostics-20220318-1523.zip Edited March 18, 2022 by deebeo added diagnostics Quote Link to comment
deebeo Posted March 28, 2022 Share Posted March 28, 2022 happened again today... would someone please take a look at my diagnostics and tell me what to change? It is imperative to have my VMs start up again after a power loss. Thank you. unraid-diagnostics-20220328-0740.zip Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.