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

Andreas Heinlein aheinlein at gmx.com
Tue Aug 7 16:19:50 CEST 2018


Am 07.08.2018 um 16:49 schrieb Denis Morejon:
> I don't have a cluster wide ZFS storage. If I did, I would define a
> ZFS storage better, So that the cluster uses it, and that's all.
> I have a mixture of 4 professional servers with hardware Raid
> controllers, and 4 not professional servers (PCs) with 4 hdds each one.
> I want to create just one proxmox cluster with all these 8 servers.
> In the 4 PCs, I had to install proxmox using the zfs Raidz1 advanced
> option, So that Proxmox to be installed  on a zfs Raid5.
> Up to this stage,  I have redundancy, in such a way that I can remove
> any sata hdd and the proxmox can startup ok. And that's what I need ZFS.
>
> So, on 4 nodes of the cluster I am able to use local-lvm to put CTs
> and VMs over there, but I am not able to put VMs and CTs on local-lvm
> in the others.
> That's why I want to create pve VGs on the zfs nodes. 
Hello,

if I understand you correctly, you essentially don't need/want to use
ZFS as a storage/file system, but used it anyway as a replacement for
the missing hardware RAID controller in 4 of your machines. This way you
aim to achieve the same configuration on all 8 machines despite
different hardware. Correct?

I am no expert here, but I guess this approach is not good. You may
think about using classic linux software RAID (aka mdadm RAID) here.
This is, according to this page:
https://pve.proxmox.com/wiki/Software_RAID not officially supported. But
I know it works, I did that some time ago on a test install. IIRC I even
did that using the Proxmox installer, hidden somewhere under "Advanced
options". If not, it is still possible to install a plain debian system
on RAID+LVM and "convert" that to a proxmox node later:
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch

Andreas



More information about the pve-user mailing list