how to change ZFS sync interval in PVE

alex.tls

Member
Oct 17, 2020
35
0
11
40
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!