Skip to main content

Proxmox VE + ZFS large_blocks

·97 words·1 min
Linux Proxmox Zfs

Always Be Breaking Things
#

Here’s a quick one on something I couldn’t find in my Googling.

Have you been fiddling around with ZFS flags behind Proxmox’s back? Perhaps enabling large_blocks in some attempt to min/max your pool’s throughput?

Did it break PVE replication?

Me too: https://bugzilla.proxmox.com/show_bug.cgi?id=4603

Modifying /usr/share/perl5/PVE/Storage/ZFSPoolPlugin.pm to add the -L flag to sub volume_export gets replication/migration working again. I’m not seeing any potential side effects, either, given that the flag does nothing unless large_blocks are in use.

Make sure to test in production, and don’t @ me if your things blow up.

- Tyler

Tyler Fenby
Author
Tyler Fenby