sgibbers17 Posted July 20, 2018 Share Posted July 20, 2018 Currently my libvirt.img is stored in, /mnt/user/system/libvirt/libvirt.img I would like to move it to my dedicated virtual machine SSD. /mnt/disks/Virtual_Machines/libvirt/libvert.img Quote Link to comment
Squid Posted July 20, 2018 Share Posted July 20, 2018 (edited) Settings, VM Manager - Disable VMs After everything shuts down (If it takes more than 2 minutes, refresh the page), move the libvirt.img file wherever you want Change the libvirt.img location to match the new location. Re-enable VMs (But a note, on my machine, libvirt refused to mount again, unless I did a reboot) Should do the trick. Edited July 20, 2018 by Squid 2 Quote Link to comment
shaunsund Posted July 21, 2018 Share Posted July 21, 2018 I've been looking to do the same, but one of my unraid servers doesn't have VT-x or AMD-V capability and says so on the Settings, VM Manager page. Yet, I still have a /mnt/user/system/libvert/libvert.img of about 1G in size. How would I go about disabling libvert and deleting that .img file? And I still have a tab for VMs in the GUI. Quote Link to comment
JorgeB Posted July 21, 2018 Share Posted July 21, 2018 3 hours ago, shaunsund said: I've been looking to do the same, but one of my unraid servers doesn't have VT-x or AMD-V capability and says so on the Settings, VM Manager page. Yet, I still have a /mnt/user/system/libvert/libvert.img of about 1G in size. How would I go about disabling libvert and deleting that .img file? And I still have a tab for VMs in the GUI. You'll need to edit config\domain.cfg on the flash drive and change SERVICE="enable" to "disable", then reboot. Quote Link to comment
sgibbers17 Posted July 22, 2018 Author Share Posted July 22, 2018 On 7/20/2018 at 4:55 PM, Squid said: Settings, VM Manager - Disable VMs After everything shuts down (If it takes more than 2 minutes, refresh the page), move the libvirt.img file wherever you want Change the libvirt.img location to match the new location. Re-enable VMs (But a note, on my machine, libvirt refused to mount again, unless I did a reboot) Should do the trick. Thanks, I didn't even think to disable the VM manager. Once I did that I was able to change it. Quote Link to comment
shaunsund Posted July 22, 2018 Share Posted July 22, 2018 On 7/21/2018 at 2:34 AM, johnnie.black said: You'll need to edit config\domain.cfg on the flash drive and change SERVICE="enable" to "disable", then reboot. OK Thanks! That also hid the VM tab. Seems like on a boot, if unraid can't find VT-x or AMD-V it should automatically disable the service. Quote Link to comment
bombz Posted October 20, 2020 Share Posted October 20, 2020 (edited) Hello, Hope this is not an 'out of line question' What is the purpose of the libvirt.img? Is it created when you ONLY deploy VMs within the UnRaid environment? I am using CA backup plugin, and have this set to backup, yet I am not seeing any libvirt.img in this location I currently do not run any VMs on my UnRaid array. Any clarification would help. Thanks. Edited October 20, 2020 by bombz Quote Link to comment
Braulio Posted October 1, 2021 Share Posted October 1, 2021 On 10/20/2020 at 1:51 PM, bombz said: Hello, Hope this is not an 'out of line question' What is the purpose of the libvirt.img? Is it created when you ONLY deploy VMs within the UnRaid environment? I am using CA backup plugin, and have this set to backup, yet I am not seeing any libvirt.img in this location I currently do not run any VMs on my UnRaid array. Any clarification would help. Thanks. Quote Link to comment
wierdbeard65 Posted August 8, 2022 Share Posted August 8, 2022 I don't want to sound like an ass here, but I'm trying to figure out what the libvert.img file actually is beyond "it's used by VMs", which seems to be the stock answer when the question is asked. I get it, it's used by the VM subsystem. But what is it FOR? What does it contain? What happens if it is damaged or deleted? Does it need backing up? Does it benefit from being on high-speed drives etc. etc. I'm sorry, but the stock response isn't answering the question.... Quote Link to comment
itimpi Posted August 8, 2022 Share Posted August 8, 2022 It stores all the configuration information for your VMs Quote Link to comment
BRiT Posted August 8, 2022 Share Posted August 8, 2022 If you're still curious enough have a look at what exactly it stores. It's mounted so you can see everything that's inside of it. Quote Link to comment
SimonF Posted August 8, 2022 Share Posted August 8, 2022 (edited) 15 minutes ago, wierdbeard65 said: I don't want to sound like an ass here, but I'm trying to figure out what the libvert.img file actually is beyond "it's used by VMs", which seems to be the stock answer when the question is asked. I get it, it's used by the VM subsystem. But what is it FOR? What does it contain? What happens if it is damaged or deleted? Does it need backing up? Does it benefit from being on high-speed drives etc. etc. I'm sorry, but the stock response isn't answering the question.... Mount point is /etc/libvirt. as others have said stores xml files for vms, libvirt config files, hooks files for VM actions. used to be a single file call qemu, but with 6.10 supports qemu.d for multiple scripts. Edited August 8, 2022 by SimonF 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.