Ram Occupation PVE Zfs

Live mod for PVE on zfs, restore on host reboot

8*1024*1024*1024

16*1024*1024*1024

Min 8Gb Max 16GB ( 4Gb base + 1Gb @ Tb of Raw Disk)

echo 8589934592>> /sys/module/zfs/parameters/zfs_arc_min
echo 17179869184>> /sys/module/zfs/parameters/zfs_arc_max

mode for PVE on zfs, permanent

Min 8Gb Max 16GB ( 4Gb base + 1Gb @ Tb of Raw Disk)

edit : /etc/modprobe.d/zfs.conf with:

options zfs zfs_arc_max=17179869184
options zfs zfs_arc_min=8589934592

save and rebuild initramfs

update-initramfs -u

reboot

 

Screma

davide Written by: