The vm disk is imported incorrectly.

wuchuwei

New Member
Jan 19, 2022
1
0
1
32
On older servers when the second hard disk of the VIRTUAL machine is a PV physical volume.When qEMu-img is converted into a qcow2 hard disk file and imported to a new server through qm importDisk, the server identifies the hard disk as a new PV physical volume.However, this results in a corrupted VG.

The result is that any LVM indicator will be slow, with the following warning.
[/U] WARNING: Device /dev/dm-13 not initialized in udev database even after waiting 10000000 microseconds. WARNING: Device /dev/dm-13 not initialized in udev database even after waiting 10000000 microseconds. [U]

I will now remove this new VG via vgremove lvRemove and pv will solve the problem.Is there a more elegant solution?
 

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!