Im a bit new with proxmox and we are currently migrating our virtualization technology from Ovirt to Proxmox ve. Im running against some practical problems when trying to automate this process. I have configured a nfs storage in both ovirt and proxmox and everything is working as expected. The problem is when trying to import the disks from the nfs to the local-lvm using the ovf defenition files.
I have susscefuly mounted a disk with this sequence of cmds:
However when I try to run directly the cmd:
It doenst seem possible to import directly a disk from the nfs without having a vm <vm_id> pre created.
And the cmd 'qm importovf' doens't let create only the defenition of the vm without a local-lvm disk.
I was trying to figure out if there is any way I can simple 'qm impordisk' without expliciting the <vm_id> so I can transfer to the local-lvm with formar RAW or use the 'qm importovf' to only create the vm defenition and then attache it u sing the 'qm impordisk'. I don't know if this makes sense.
Sorry for my bad explanation.
I have susscefuly mounted a disk with this sequence of cmds:
Bash:
_> qm create 200 --name TestVM
_> qm importdisk 200 /path/to/nfs/images/<some_huge_id> local-lvm -format raw
However when I try to run directly the cmd:
Bash:
_> qm importovf 200 /path/to/nfs/vms/<vm_id>.ovf /path/to/nfs/images/<some_huge_id>
400 Parameter verification failed.
storage: invalid format - storage ID 'images/<some_huge_id>' contains illegal characters
[OPTIONS]
It doenst seem possible to import directly a disk from the nfs without having a vm <vm_id> pre created.
And the cmd 'qm importovf' doens't let create only the defenition of the vm without a local-lvm disk.
I was trying to figure out if there is any way I can simple 'qm impordisk' without expliciting the <vm_id> so I can transfer to the local-lvm with formar RAW or use the 'qm importovf' to only create the vm defenition and then attache it u sing the 'qm impordisk'. I don't know if this makes sense.
Sorry for my bad explanation.