Well, https://pve.proxmox.com/pve-docs/chapter-pvesm.html#_storage_types lists it explicitly as "ZFS (local)"!is this a supported setup for production use ?
I am not sure what that means. But one main feature of ZFS is to have some "self-healing" features, which require redundancy - which requires multiple devices per vdev.assumption: 1 node per zpool (no shared LUNs)
Running ZFS on a obfuscated device (eg, RAID LUN) isnt dangerous per se; its no safer then any other filesystem on raid- which is to say you have no checksum correction facility at the filesystem level so you're paying the zfs tax for no gain. Moreover, write amplification tends to be larger in such scenarios so there are some capacity and performance losses.Running it on a remote block device (through any protocol) would be... brave. Or simplystupidunsupported and dangerous...
Yes. that works. I would consider btrfs as an alternative as it has the same utility with lighter resource load, but pve support isnt as fully baked.assumption: 1 node per zpool (no shared LUNs)
Okay, I must admit I do not know much about that scenario - I've never tried to build such a thing.Running ZFS on a obfuscated device (eg, RAID LUN) isnt dangerous per se
in before @UdoBthe advanced idea is to have 2 (Storage) VMs in a HA pacemaker cluster running under Proxmox VE
Oh, sorry, I can't leave that sentence uncommented because of "similar features" ;-)and to admit lvm/lvm thin instead of zfs would be more common and have similiar features
Not uncommon, but fraught.I would say a pacemaker cluster running in/with Linux VMs should not be an uncommon thing ?!
sorry, but I also can't leave this uncommented :Oh, sorry, I can't leave that sentence uncommented because of "similar features" ;-)
Comparing LVM with ZFS easy. The result is easy too: they only have "logical volume"-management in common. Everything else is different!
Specifically LVM does not offer: an integrated filesystem (w/ LVM it is always stacked on top), transparent compression, self-healing, cheap snapshots, guaranteed integrity, self-healing, replication, potentially integrated encryption (not used in PVE) and probably some feature more...
There are definitely multiple reasons to skip ZFS. But it should be an "informed decision" - knowing what ZFS gives is a prerequisite.
See also: https://forum.proxmox.com/threads/f...y-a-few-disks-should-i-use-zfs-at-all.160037/
this is true, but have you ever implemented it? its slow as molasses.transparent compression: dm-vdo (incl.dedup + thin provisioning + zero block detection)
mdadm parity raid... brrr. THAT is brave. also, there is no "self healing" of any kind.self-healing: dm-integrity + lvm raid 1 (5/6)
This has the same problems as a HA zfs filer. the only "upside" is that you dont have cache synchronization issues but that kills the performance benefit of arc in the first place.combine all this and even more with HA cluster/pacemaker + iscsi targets and (thumb) SAN(s) and you get a SAN Volume Controller like behaviour
well here lies the rub. this doesnt exist because PVE cant support any sort of thin provisioning on a shared LUN without regard of the underlying storage topology. You CAN use lvm thin on your filer but there is no way to make pve aware of it, and it DOES create problems with runaway trims/snapshots on the underlying service provider; and also, as my comment above mentions you really really dont want to depend on mdadm for the disk aggregation function, and you'd really want a multi controller aware raid controller to do this.get a SAN Volume Controller like behaviour .... add some kind of (currently not existing) "LVMthin over iscsi" storage plugin to Proxmox VE and there will be a fully integrated/feature rich Server & Storage virtualization platform which don't have to wait for specific Storage vendor plugins
I did not perform a fio benchmark or similiar .... I assume vdo dedup is similiar slow as ZFS dedup... but with compression only I think it can be reasonable fast ... benchmarks: to be donethis is true, but have you ever implemented it? its slow as molasses.
it's lvmraid ... but yes it uses mdraid under the hood .... but for selfhealing lvm raid1 is also sufficient:mdadm parity raid... brrr. THAT is brave. also, there is no "self healing" of any kind.
the device mapper integrity target can be used in combination with RAID levels 1,4,5,6,10 to detect and correct data corruption in RAID images. A dm-integrity layer is placed above each RAID image, and an extra sub LV is created to hold integrity metadata (data checksums) for each RAID image. When data is read from an image, integrity checksums are used to detect corruption. If detected, dm-raid reads the data from another (good) image to return to the caller. dm-raid will also automatically write the good data back to the image with bad data to correct the corruption.
When creating a RAID LV with integrity, or adding integrity, space is required for integrity metadata. Every 500MB of LV data requires an additional 4MB to be allocated for integrity metadata, for each RAID image.
Create a RAID LV with integrity: lvcreate --type raidN --raidintegrity y
this I don't understand .... imho a pacemaker HA-LVM + LIO iscsi target + VIP resource agent etc is a supported setup under RHEL (8-10) at least ... I think also SLES and Ubuntu Server will support this ....This has the same problems as a HA zfs filer. the only "upside" is that you dont have cache synchronization issues but that kills the performance benefit of arc in the first place.
the shared SAN LUNs should of course have their own raid protection from the corresponding SAN/controllers .... the VM pacemaker cluster will only create PVs/VGs and lvm thin pool(s) out of the shared LUNs and only 1 vm storage node owns 1 or more VGs (+ thinpool + iscsi target + VIP) at any time which can failover to the other node ... the LVMthin over iscsi plugin should then work similiar as the zfs over iscsi plugin .... if clustered or not should not matter .... the plugin connects always to the corresponding VIPswell here lies the rub. this doesnt exist because PVE cant support any sort of thin provisioning on a shared LUN without regard of the underlying storage topology. You CAN use lvm thin on your filer but there is no way to make pve aware of it, and it DOES create problems with runaway trims/snapshots on the underlying service provider; and also, as my comment above mentions you really really dont want to depend on mdadm for the disk aggregation function, and you'd really want a multi controller aware raid controller to do this.
We use essential cookies to make this site work, and optional cookies to enhance your experience.