[PVE-User] How to use lvm on zfs ?

Yannis Milios yannis.milios at gmail.com
Tue Aug 7 23:51:12 CEST 2018


>
>  (zfs create -V 100G rpool/lvm) and make that a PV (pvcreate
>> > /dev/zvol/rpool/lvm) and make a VG (vgcreate pve /dev/zvol/rpool/lvm)
>> > and then a LV (lvcreate -L100% pve/data)
>>
>>
Try the above as it was suggested to you ...


> >But I suspect I have no space to create an
>> >additional zfs volume since the one mounted on "/" occupied all the space
>
>
No, that's a wrong assumption, zfs does not pre-allocate the whole space of
the pool, even if looks like it does so. In short there is no need to
"shrink" the pool in order to create a zvol as it was suggested above...
Still, the whole idea of having LVM ontop of ZFS/zvol is a mess, but if you
insist, it's up to you ...
A combination of Linux RAID + LVM would look much more elegant in your
case, but for that you have to reinstall PVE by using the Debian iso.
During the installation create a linux raid array with lvm on top and then
add PVE repos ass described in the wiki:

https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Jessie



More information about the pve-user mailing list