[SOLVED] Trying to copy over existing VMD to proxmox.

Hellman_x

New Member
Oct 3, 2023
8
0
1
I'm trying to copy over an existing VMD with the .qcow2 format. But everytime I try to, proxmox says that there is no more space left on the drive. I know it has plenty of space for the file.

Proxmox OS isn't formatted with FAT, is it???
 
Proxmox partitions it's storage with lvm. While there might be more than enough storage on your disk, possibly there is not enough on the partition you are copying to, i.e. the root partition, which is usually quite small.

In your case I would recommend mounting the storage where your vmd is via sshfs or something similar and importing it with qm disk import plus the respective parameters directly over sshfs. This will import it into whatever storage you are using for disk images, usually local-lvm, the partition that is using up the rest of your disk ;)
 
  • Like
Reactions: Hellman_x
Proxmox partitions it's storage with lvm. While there might be more than enough storage on your disk, possibly there is not enough on the partition you are copying to, i.e. the root partition is usually quite small.

In your case I would recommend mounting the storage where your vmd is via sshfs or something similar and importing it with qm disk import plus the respective parameters directly over sshfs. This will import it into whatever storage you are using for disk images, usually local-lvm, the partition that is using up the rest of your disk ;)
Would I have to create a VM environment before importing?
 
Yes you have to create the vm before importing the disk. Create it without an install disk and a drive and then run the import.
You might need to adjust the boot order under options
 
  • Like
Reactions: Hellman_x
Ah, I forgot, by default the disk is unassigned, after import, in the webui, go to your vm > Hardware > Unassinged Disk > Edit and in the dialog confirm with Add. After that you should be able to select it as a boot device under options and start the VM
 
  • Like
Reactions: Hellman_x
Yes you have to create the vm before importing the disk. Create it without an install disk and a drive and then run the import.
You might need to adjust the boot order under options
Looks like that worked. Thanks.

Now it just looks like it won't go past post. I'll have to figure that one out.

Edit: Forgot to choose UEFI Bios (Duh..)
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!