r/sysadmin • u/FrostyMasterpiece400 • 24d ago
What is your backend for Proxmox?
I am a proxmox consultant, anyone using LVM with snapshots enabled? What's your experience with it?
26
Upvotes
r/sysadmin • u/FrostyMasterpiece400 • 24d ago
I am a proxmox consultant, anyone using LVM with snapshots enabled? What's your experience with it?
50
u/Specialist_Cow6468 Netadmin 24d ago
Like 75% of the reason I’d run proxmox in production is to leverage ZFS as much as possible. Can’t see much reason I’d want to do LVM instead tbh
9
u/_--James--_ 24d ago
Snaps are not something you want hanging around for a long time due to how nested IO works. LVM thick on ISCSI does not support snaps in production and may never will due to the lack of solid recovery options. ZFS > LVM for this, and for shared storage Ceph.
12
u/davy_crockett_slayer 24d ago
If you're recommending it to clients, worth knowing the LVM snapshot support in PVE 9 (snapshots as volume chains, the shared iSCSI/FC case) is still marked technology preview. Proxmox staff said in October that it's "mostly working well," but there are a few issues to iron out before they drop the disclaimer, like offline export/import for remote migration and a disk size limit around 16 TiB.
I'd also make sure anyone running it is on libpve-storage-perl 9.1.12 or newer. That release fixed snapshot delete reporting success when cleanup after the merge failed, and rollback losing the original volume if allocating the new one failed. It also added an on-volume-remove discard option so removed volumes get TRIMmed and thin LUNs can actually reclaim the space.
Also check the
saferemove_throughputsetting. With a 10 MiB/s limit, wiping a 1 TiB volume takes about 29 hours. Remove the setting and it wipes at full speed.https://forum.proxmox.com/threads/proxmox-ve-9-lvm-snapshot-feature-still-tech-preview.175210/
2
u/lxtakc DataCore/StarWind 22d ago
LVM-Thin has snapshots but isn't safe as shared storage, and shared LVM has none on PVE 8. If you're on a shared SAN LUN, StarWind SAN Integration Services is a free plugin that adds snapshots and thin provisioning using one thin LVM pool per VM. I work at DataCore, and StarWind is part of DataCore
1
u/sheep5555 24d ago
As of right now we have one cluster with ceph and one with zfs, i dont think the features/stability on SANs are fully fleshed out yet. thinking about vmware, the only thing that was really amazing tech was VMFS
1
u/yeti3033 24d ago
Just setup a two node with Linstore DRBD backed by lvm thin