JonUKRed Posted February 28, 2017 Share Posted February 28, 2017 Evengin All, I need some help please. I have been using the VM feature in unRAID recently with great success, seeing up a Windows 10 gaming machine which has been working perfectly. I have just rebooted my machine as I moved it and now the VM is missing from the dashboard and also the VM tab, all my dockers and apps seem to be working OK. Both of the vdisks for the VM I created are still on the cache (which is 2x 240GB SSD's in RAID 0 for 480GB total). Could somebody please help, I spent a lot of time setting up the VM and even longer downloading games from my Steam account! Many thanks, Jon Quote Link to comment
DoeBoye Posted February 28, 2017 Share Posted February 28, 2017 Did you go into settings and confirm that enable VMs is set to "on"? I've had it reset on me in the past after a hard reboot, so that may be your issue. If it is set to "off" it will hide the tab in the menu... 1 Quote Link to comment
JonUKRed Posted February 28, 2017 Author Share Posted February 28, 2017 Hi DoeBoye, Thanks fro your comment, yes Enable VMs is set to 'yes' in the settings. Also I have the VM tab so pretty sure it's enabled. Thanks! Jon Quote Link to comment
DoeBoye Posted February 28, 2017 Share Posted February 28, 2017 Ahhh. Sorry! The way I read your original sentence was that the VM Tab is also missing! Quote Link to comment
JonUKRed Posted February 28, 2017 Author Share Posted February 28, 2017 (edited) No problem, my mistake not explaining myself properly To confirm, it's the Virtual Machine I set up that is missing, it's neither on the Dashboard or under Virtual Machines in the VM tab, here it says 'no virtual machines installed'! Cheers! Edited February 28, 2017 by JonUKRed Quote Link to comment
DoeBoye Posted February 28, 2017 Share Posted February 28, 2017 No worries! After a reread, it makes sense. I may have skimmed too quickly! As far as the issue is concerned... that's a puzzler. If you ssh into unraid, what do you get when you type: virsh list --all Quote Link to comment
JonUKRed Posted February 28, 2017 Author Share Posted February 28, 2017 (edited) It is a puzzler... I overcame this by setting up a new VM and just directing the vdisks locations to the .img files I already had. This seems to have done the trick although the Windows machine has a different IP address which causes a couple of headaches but nothing I can't manage. Is this something I have to do each time I reboot? Surely not. I entered your command and got the following, though that shows the newly created VM i just set up (was too quick off the mark!) Id Name State ---------------------------------------------------- - IronGamer shut off Edited February 28, 2017 by JonUKRed Quote Link to comment
DoeBoye Posted February 28, 2017 Share Posted February 28, 2017 Glad to hear you're back up and running! 5 minutes ago, JonUKRed said: Is this something I have to do each time I reboot? Surely not. Absolutely not. VMs don't usually disappear like that. I've rebooted what seems like dozens of times the last few weeks trying to isolate a different issue, and the only time my VMs disappeared was when the toggle to enable VMs was flipped to off for some reason. Once flipped back on, my tab reappeared, and my VM was back to normal. I'm still fairly new at the whole VM thing, so maybe someone with more experience has seen this before and can comment. Quote Link to comment
JonUKRed Posted February 28, 2017 Author Share Posted February 28, 2017 Thanks DoeBoye, Yeah I have rebooted in the past without any problems, and to be honest I don't reboot that often so not such a big issue. I was just a little concerned that everything had gone! Though when I saw my .img files I was a little more relaxed. This also happens sometimes with certain plugins, maybe I'm just a bit buggy. Anyhow thanks for you help!! I'll see how I get on next time I need to move the server Quote Link to comment
JorgeB Posted February 28, 2017 Share Posted February 28, 2017 If the VM was gone something happened to your libvirt.img, that's a system file where all VM XMLs are stored, location is on the VM manager settings. Quote Link to comment
JonUKRed Posted February 28, 2017 Author Share Posted February 28, 2017 Hi Johnnie, I thought that may be the case, the libvirt.img hasn't moved from the main array ever, the location shown in the VM settings is where the .img is on the array. Very strange, that was the first thing I checked but all seems to be OK... Quote Link to comment
JorgeB Posted February 28, 2017 Share Posted February 28, 2017 If it wasn't moved it may have corrupted, re-creating a new one will result in an empty VM list. It's a good idea to back it up, or at least the XMLs. Quote Link to comment
JonUKRed Posted March 1, 2017 Author Share Posted March 1, 2017 Thanks Johnnie, Yeah I have done that, tested and everything seems to be back to normal now. Many thanks for your help!! unRAID is awesome but Jon. 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.