how to change ZFS sync interval in PVE

alex.tls

Member
Oct 17, 2020
35
0
11
41
In FreeNAS , we can change the sync interval by change the value of vfs.zfs.txg.timeout. That is relative to sysctl.conf or sysctl tool .

But in PVE , I can not find the way to change the sync interval of ZFS in PVE from the internet. By default , it sync every 5 seconds, I don't like that way.

Anyone has any idea ?
 
Hi,

In Linux the path for "zfs_txg_timeout" is /sys/module/zfs/parameters/
But be careful if you increase this value.
Because in case of a power outage you lose more data.