PVE 4.4 - import vm image to RBD

flowjo-mj

New Member
Mar 14, 2017
8
0
1
48
I am trying to follow the documentation when importing a VM image into our production PVE backed by Ceph RBD and none of my VMs or Containers match the documentation. I am getting stuck finding the image file on "local-lvm" to overwrite with the VM I am importing.

I installed PVE 4.4 in virtualbox on a laptop and tested the import which worked as described, but when trying this on my production cluster I cannot find any qcow2 images. I created a new VM in the GUI using local-lvm storage for the disk. At this point I see a symlink created in /dev/pve/vm-129-disk-1 pointing to /dev/dm-6. Should I be overwriting the dm-6 with my vm image, then recreate the symlink?

The only way I can see the image that I created in the GUI is by running lvscan:
ACTIVE '/dev/pve/vm-129-disk-1' [152.00 GiB] inherit

I am sure it's something simple that's escaping me, but any help would be greatley appreciated!

*Edit: One thing to note is that none of the PVE servers have a path for the local-lvm, but there was a path when I tested PVE from a VM on my laptop.
 
Last edited:
Hi,

If you use local-lvm than you have no qcow2 file.
local-lvm is an LVM so Linux see it as a block dev and you have to use this.

PVE 4.4 is end of live please upgrade to 5.x