** Description changed:

  [Impact]
  
-  * Ubuntu enables automatic TRIM / DISCARD on all filesystems that
+  * 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]
  
-  * Complete install using zfs
-  * Check that the zfs pools have autotrim feature enabled
+  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
+ 
  
  [Regression Potential]
  
-  * When autotrim is in progress, i/o performance may be observed as
+  * 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
+ 
+  * Shipped in groovy already

** Description changed:

  [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
+  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883686

Title:
  zfs should enable autotrim

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1883686/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to