done. Thanks for reporting this.The preparation section of the wiki page should include checking for such policies.
done. Thanks for reporting this.The preparation section of the wiki page should include checking for such policies.
Indeed.I have discovered the problem. The VM had a VM Storage Policy applying to it, the VM was encrypted using the VMware VM Encryption Provider. Removing the policy, and thus the encryption, allowed it to be imported. The preparation section of the wiki page should include checking for such policies.
That depends largely on what storage the imported vm is on. See https://pve.proxmox.com/wiki/Storage for which types of storage support and do not support snapshots.another question on importing VMware to Proxmox... can you do snapshots after you import a VMWare VM into Proxmox? if so how can you do that? I am trying to do this but i am getting an error saying that this VM is not configured to do snapshots, this is an issue as this is one of the things that should work "out of the box" when importing VM's.
Sounds interesting. What I have been using for manual imports is sshfs to mount the filesystem over ssh from proxmox to a vmware server and works surprisingly well. You might want to give that a try as it avoids the step of having to move to nfs and does give proxmox rw access to the vmfs filesystem (local or san) on vmware.After some trial and error with vmfs6-tools (Don't try this on live VMFS-Datastores, it'll disrupt ESXi's access to them) and QEMU "block streaming" as used by the proxmox esxi import wizard, I have built a proof of concept (really bad quality script in bash/jq/curl) that can pull info from VMWare import wizard but attach vmdk files from a shared NFS storage directly to a newly created proxmox VM so it can be started as soon as possible after shutting it down in vSphere. The data migration from vmdk to native can then be done while the vm already is live again. This for some reason is much faster than QEMU block streaming...
The post is in German, but I guess if someone wants to build on it, they could:
https://forum.proxmox.com/threads/performance-esxi-importer.146905/post-736000
FIXMEs are:
- getting parameters from command line or maybe a file list
- automating the move to shared NFS store and shutting down the VM in vSphere
- automating import/conversion of disks to native format
- Cleanup of vmdks after importing vmdk to native disk format
- Fix network mapping - currently I need to manually assign the correct VLAN tag to the target VM
- Fixup of jq code, maybe reimplement the whole thing in Python?
Just brainstorming:
If someone were able to get ATS (Atomic Test and Set)-Semantics into "vmfs6-tools" so we could access live vmfs6 Datastores from SAN, and combine it's readonly access with an overlay-fs for writes, it would be even nicer, because us SAN users wouldn't need to conjure up a shared NFS datastore and copy VMs disks volume twice to import it.
This is all because QEMU block streaming seems to be slow and the fuse-esxi driver kind of slow and/or unstable for big amounts of data. Of course there might be other ways around the issues - why does a bootup with QEMU block streaming take 6 minutes when just attaching the VMDKs directly has the VM booting in 40 seconds?
Maybe one could also just spin up a VM in vSphere and attach the VMDKs to be imported there. That way they could be streamed to proxmox apart from rate limited vSphere API access that the esxi-importer uses?
I can imagine having a "Proxy VM" in vSphere serving up directly attached VMDKs QEMU NBD (using raw format as source) - that way I can work around the Issues with vmfs6-tools and don't need to copy the data twice!? Maybe I'll try that some time...
Have you try to attach Boot Disk as SATA or IDE Disk?Like may places, we're trying to find an exit from VMware. I've been trying to import a Linux VM from ESXi but it appears to not be able to find its disk when it boots. The scenario is:
The source VM is running Rocky Linux 8.
It has no snapshots & is powered off.
Both importing via the Promox GUI & via importing an OVF file generated from the ovftool fail the same way with disk not found during boot.
Apologies if this has been asked before but I wasn't able to find any mention. Perhaps I'm missing something very basic here?
View attachment 81663
We use essential cookies to make this site work, and optional cookies to enhance your experience.