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

ricarte.m

New Member
Jul 3, 2024
2
1
3
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:
  • Like
Reactions: Kingneutron