Replies: 3 comments 5 replies
-
How often are you running sanoid? The default recomendation of '* * * * *' (every minute) is more often than needed for most setups, you may find much better performance only running every 5 or 15 minutes. |
Beta Was this translation helpful? Give feedback.
-
After just over a years use, this server ended up with almost 650K snapshots on its pool. I have run a server with a similar amount of users, configured to keep a similar amount of snapshots but using zfs-auto-snapshot. That has been running for over 4 years and it only has about 50K snapshots so it seems to me that sanoid's autoprune is not fit for purpose. I have uninstalled sanoid and I am currently destroying all snapshots on the pool but it will take weeks to destroy all 650K snapshots and hopefully regain usable performance. |
Beta Was this translation helpful? Give feedback.
-
This is the sanoid.conf that I used. I would liked to know if there's anything wrong with it.
|
Beta Was this translation helpful? Give feedback.
-
Up until now, we've been using sanoid 2.0.3 with this template:
This Ubuntu 20.04 server has over 700 datasets and it seems that sanoid is bringing it to a crawl so I'm going to stop frequent snapshots in an effort to reduce the amount of effort sanoid has to put into creating and pruning snapshots. The pool consists of 6x 4 GB Samsung SATA 3 SSDs in a RAIDZ2 config.
If we've been running with frequent snapshots for over a year and stop creating frequent snapshots, will sanoids pruning script correctly destroy old frequent snapshots when its no longer creating new frequent snapshots or will I have to manually remove all of the old frequent snapshots?
Ubuntu 20.04 uses ZFS 0.8.3. I plan to upgrade this server to Ubuntu 22.04 soon which has ZFS 2.1.5. Does ZFS 2.1.5 handle large amounts of snapshots over hundreds of datasets better or am I not to expect to see any improvements for sanoid and snapshots after upgrading the pool and ZFS?
What tools or commands would you recommend I use to benchmark or monitor ZFS's performance when using different sanoid templates and/or different versions of ZFS?
The sanoid docs don't seem to cover recommendations for sensible template limits. I realise its impossible to cover all of the infinite different combinations of hardware and software that sanoid could be used on but some rough guidelines would be useful if you have any to offer?
I'm upgrading this server to sanoid 2.1.0 now so hopefully that will help a bit?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions