[Bug 1883686] Re: zfs should enable autotrim
Launchpad Bug Tracker
1883686 at bugs.launchpad.net
Thu Jul 2 08:11:47 UTC 2020
This bug was fixed in the package ubiquity - 20.04.15.1
---------------
ubiquity (20.04.15.1) focal; urgency=medium
[ Sebastien Bacher ]
* debian/real-po: updated translations from launchpad, including strings
from the new subpage for RST (LP: #1874103)
[ Michael Hudson-Doyle ]
* make grub_default consider the boot argument in the non-removable case
(LP: #1847898)
[ Jean-Baptiste Lallement ]
* Enable ZFS autotrim (LP: #1883686)
* Use persistent path for pool's vdevs (LP: #1880869)
* Do not export all pools (LP: #1875045)
[ Dimitri John Ledkov ]
* ubiquity-dm: start gsd-keyboard for keyboard indicator (LP: #1847307)
-- Dimitri John Ledkov <xnox at ubuntu.com> Tue, 16 Jun 2020 11:17:42
+0100
** Changed in: ubiquity (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
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 Released
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