Claudio C Posted July 1, 2020 Share Posted July 1, 2020 Hi, I bought the SSD to use for the VM. To move the VM from the array to the Unassigned Devices is it enough to copy the Domains folder ? Quote Link to comment
JorgeB Posted July 1, 2020 Share Posted July 1, 2020 You just need to move the vdisk and also need to update the paths in the VM XML. Quote Link to comment
Claudio C Posted July 1, 2020 Author Share Posted July 1, 2020 I tied in this way but the vm doesn't start below the print screen: Quote Link to comment
david279 Posted July 1, 2020 Share Posted July 1, 2020 Update the xml with the new location of the vdisk that you moved Quote Link to comment
Claudio C Posted July 1, 2020 Author Share Posted July 1, 2020 I did it but nothing I still have the problem before /mnt/user/domains/hassio/hassos_ova-4.10.qcow2 after /mnt/disks/Samsung_SSD_860_EVO_500GB_XXXXXXXXX/hassio/hassos_ova-4.10.qcow2 Quote Link to comment
david279 Posted July 1, 2020 Share Posted July 1, 2020 Post your xml for you VM? Is this a linux VM, Windows VM etc. Quote Link to comment
Claudio C Posted July 1, 2020 Author Share Posted July 1, 2020 Linux <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>hassio</name> <uuid>91452db4-dee8-dd71-af54-e59165733618</uuid> <metadata> <vmtemplate xmlns="unraid" name="Ubuntu" icon="ubuntu.png" os="ubuntu"/> </metadata> <memory unit='KiB'>2097152</memory> <currentMemory unit='KiB'>2097152</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>1</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-4.2'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/91452db4-dee8-dd71-af54-e59165733618_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='1' threads='1'/> <cache mode='passthrough'/> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/disks/Samsung_SSD_860_EVO_500GB_XXXXXXXXX/hassio/hassos_ova-4.10.qcow2'/> <target dev='hdc' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x11'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0x12'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x13'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:64:12:0e'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </memballoon> </devices> </domain> Quote Link to comment
david279 Posted July 1, 2020 Share Posted July 1, 2020 Quick test add more cores to your vm. Add like 2 or 4 cores. Quote Link to comment
Claudio C Posted July 2, 2020 Author Share Posted July 2, 2020 I tried to add more CPU but nothing. In the end, I tried creating a new vm using the same vDisk and it works. This sounds strange because the setting of the new vm is the same as the old one. Quote Link to comment
caplam Posted July 2, 2020 Share Posted July 2, 2020 i had the same problem and like you the solution was to destroy and recreate the vm with the same vdisk. Quote Link to comment
Claudio C Posted July 2, 2020 Author Share Posted July 2, 2020 I did it with ubuntu and it works. One of the different that I found was this one: before: <driver name='qemu' type='raw' cache='writeback'/> after: <driver name='qemu' type='qcow2' cache='writeback'/> Now, I have to do the same with MacOS but in this case, I think that I have to change in the settings -> vm manager the "Default VM storage path:" with the path of my new SSD. Is it in this way ? 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.