1

I've installed 19.10 with ZFS on one of my laptops because I want to learn the file system and under the impression it's "the file system of the future" (let's not discuss that here). Since I'm new and storage on my laptop is a SSD I was wondering if there's any form of trim necessary or even possible with ZFS on Ubuntu 19.10?

Christian
  • 1,729

1 Answers1

1

ZFS in Ubuntu 19.10 has support for trim, but I don't believe it's done by default by the periodic script/task scheduler (cron or systemd). You should either create one, or call zpool trim [pool-name], and I believe there is a property where you can set autotrim, but I haven't investigated that personally. See autotrim=on|off in the zpool(8) manpage.

Andreas Hasenack
  • 3,065
  • 1
  • 17
  • 17