qm disk import from vmdk with lvm shows no partition on destination

raphr

New Member
Nov 12, 2024
2
0
1
Hello community !
We have Installed and configure on new hardware a proxmox cluster with 3 nodes and a Ceph pool with 18 disks.
All seems working as expected.

proxmox 8.2.7 with no-subsctipyion repository

We tried then to migrate some vms from an existing vmware cluster
First method we used was to attach esxi servers as storage and use import wizard. It has worked but slow as hell. Unusable.

Second method was to attach iscsi LUN directly from the vmware storage, mount it readonly with vmfs6-tools and use qm import disk commands.
That was much better transfet rate.

On one VM there is a 150GB disk with lvm volume.
we use this command :
Code:
qm disk import VMID file.vmdk Ceph-Volume --format raw
Import finished successfully, then attach the disk to the vm as SCSI1

Problem is that migrated disk doesn't seems to have lvm partition.
After booting the vm in maintenance mode,
Code:
fdisk -l /dev/sdb
or
Code:
lsblk
shows coorect disk size but no partition.


Any idea ?

Thanks !
 
Hello again,
I have imported with same method another VM containig lvm partitions which works perfectly.
So my first import was a bad example. No luck.

The bogus VM is an old ubuntu system installed in 2012 and upgraded until 18.04 LTS.
Maybe the vmdk is in older format not compatible with qm importdisk ?

Anyway this disk is just a volume for apt-cacher needed for som Debain machines not connected directly to Internet.
So not critical.

I just hope there are no other vms like this.

Regards
 

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!