After a short talk off-list (thanks for the input!), this v2 takes a different approach to not creating swap on ZFS systems by default:
* ZFS-installs now honor the minfree parameter, instead of honoring the swapsize parameter * Creation of a Swap ZVOL got completely removed from proxinstall * Additionally the code now creates an 512M EFI partition, right after the bios_boot partition (currently unused, but at least it causes less problems should people want to change to UEFI booting after installing) * This and the changed partition numbers are mostly to keep our layout consistent with upstreams recommendations [0]. * I opted to keep the 8M partition 9 in the back, in the expectation, that it might help when replacing a disk with one that is a "tiny" bit smaller. [0] https://github.com/zfsonlinux/zfs/wiki/Debian-Stretch-Root-on-ZFS Stoiko Ivanov (3): Add minfree handling for ZFS Add minfree entry to ZFS grid do not create a swap zvol proxinstall | 115 ++++++++++++++++++++++++++++-------------------------------- 1 file changed, 53 insertions(+), 62 deletions(-) -- 2.11.0 _______________________________________________ pve-devel mailing list [email protected] https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
