How to use LVM based installation image in ZFS type storage?

ricarte.m

New Member
Jul 3, 2024
2
0
1
Hi,


I have a qcow2 image with LMV settings. How can i use it in proxmox?

1. I did convert the qcow2 image.
qm importdisk 107 /var/lib/vz/template/template/qcow/zpa-connector-el9-2024.06.qcow local-zfs

2. my storage settings:

# cat storage.cfg
dir: local
path /var/lib/vz
content vztmpl,iso,backup

zfspool: local-zfs
pool rpool/data
content images,rootdir
sparse 1

zfspool: Data
pool Data
content rootdir,images
mountpoint /Data
nodes node02,node03,node01

3. VM cannot boot up, with Error LVM missing.


1719992559010.png

4. can I use LVM based installation image in ZFS type storage?

thank you
 
Thanks LnxBil :)

VM is booting up now.

Below are the steps.

1. Boot up with live CD
2. chroot /mnt/sysimage
3. next step run dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg
4. reboot VM

Thanks a lot.
 
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!