[Bug 1883686] Re: zfs should enable autotrim
Jean-Baptiste Lallement
1883686 at bugs.launchpad.net
Thu Jun 25 10:35:26 UTC 2020
** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1883686
Title:
zfs should enable autotrim
Status in ubiquity package in Ubuntu:
Fix Released
Status in ubiquity source package in Focal:
Fix Committed
Bug description:
[Impact]
* Ubuntu enables automatic TRIM / DISCARD on all filesystems that
support it, such that on SSD-like storage devices the performance over
time is improved. ZFS, as setup by ubiquity, did not used to enable
autotrim option. But it should have it enabled.
[Test Case]
1. Complete install using zfs
2. Reboot and login
3. Check that the zfs pools have autotrim feature enabled with the following command:
# zpool get autotrim
Both pools must have the autotrim property set to 'on'.
NAME PROPERTY VALUE SOURCE
bpool autotrim on local
rpool autotrim on local
You can also check the status of trimming with:
# zpool status -t rpool
pool: rpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
nvme0n1p4 ONLINE 0 0 0 (100% trimmed, completed at mer. 03 juin 2020 07:50:22)
[Regression Potential]
* When autotrim is in progress, i/o performance may be observed as
stalling. However, periodic trim outweighs the benefits. Advanced
operators may choose to disable autotrim, and execute it manually
during regularly scheduled maintenance windows.
[Other Info]
* Shipped in groovy already
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1883686/+subscriptions
More information about the foundations-bugs
mailing list