@jkissane Hi !
Did you install xen driver before exporting the VM ?
dracut --add-drivers "xen-blkfront xen-netfront" --force
@jkissane Hi !
Did you install xen driver before exporting the VM ?
dracut --add-drivers "xen-blkfront xen-netfront" --force
Hi @aqua-calc !
Are you on XOA or XO from sources ?
@jasonnix You need to resize your partition, currently the storage you added is not used
@jasonnix You need the VDI UUID, not the VM UUID.
For example:
[12:42 Delirium ~]# xe vm-disk-list uuid=a0a05fc9-e454-181e-cff2-ed3c4010651f # <- VM UUID
Disk 0 VBD:
uuid ( RO) : 448065c5-2f48-38cc-fa73-a8eda1ab6e61
vm-name-label ( RO): XOA
userdevice ( RW): 0
Disk 0 VDI:
uuid ( RO) : d6354121-a3c6-4143-9cab-d65d4d8df769 # You need this one for the resize
name-label ( RW): xoa root
sr-name-label ( RO): sdc
virtual-size ( RO): 21474836480
edit: @Danp was faster than me
@jasonnix No need to create a new disk, you can directly resize the existing disk
@jasonnix Why not using XOA ? It's really simpler than the CLI...
Anyway, you can shut down the VM and do:
xe vdi-resize uuid=<VDI of your VM> disk-size=XXGiB
@jasonnix Indeed
You can deploy a XOA and resize your VM disk with the GUI (the VM need to be shutdown), and then, resize your FS in the VM.
@ebaker8571 Hi !
You need to create an ISO SR first: https://docs.xcp-ng.org/storage/#-iso-sr
@olivierlambert So, I re-read the doc and the provided documentation is a VERY specific way to do the migration between KVM and Proxmox.
Maybe we can just mention the forum link and redo this section entirely. What do you think ?
@anik Yep, have a simple method and the alternative in case of failure seems a good idea.
What do you think @olivierlambert ? I can do the PR if needed
@anik Hi !
When I did migrate from Proxmox to XCP-ng, I just had to do the conversion and import the disk. The step in the documentation was not needed (I suppose it's for old OS or in case of failure)
You can convert directly to VHD instead of convert to VMDK. Here's the step I followed:
qemu-img convert -O vpc proxmox-disk.qcow2 `uuidgen`.vhd
scp thegenerateduuid.vhd ip.xcp-ng.server:/run/sr-mount/uuid-of-your-SR
Then with XO, create a VM and attach the disk
@enes-selcuk Hi !
Can you show us the error please ?
@Virtual I found this thread that seems to do exactly what you want:
https://xcp-ng.org/forum/post/11881
@Virtual I suppose you can do a systemd service to autostart your vApp
@lritinfra Hi !
As said in https://docs.xcp-ng.org/troubleshooting/log-files/, you can check the various log files to see what causes the crash. Check also /var/crash
@jag5cof I just discussed this with @olivierlambert, the right syntax is:
xe vm-param-remove param-name=other-config param-key=pci uuid=<VM UUID>
He will add the procedure to delete PCI passthrough in the docs
@jag5cof Maybe xe vm-param-remove param-name=other-config param-key=pci=0/0000:03:00.0 uuid=<uuid>
?