[Bug 978032] Re: partitioning step doesn't have "discard" as a selectable mount option

Launchpad Bug Tracker 978032 at bugs.launchpad.net
Tue Dec 10 16:15:23 UTC 2013


This bug was fixed in the package partman-basicfilesystems - 71ubuntu3.4

---------------
partman-basicfilesystems (71ubuntu3.4) precise; urgency=low

  * Make nodiratime and discard mount options translatable (closes: #725371,
    LP: #978032).

partman-basicfilesystems (71ubuntu3.3) precise; urgency=low

  * Add nodiratime option for ext2, and noatime, nodiratime, relatime, and
    discard options for fat16 and fat32 (see #722598; LP: #978032).

partman-basicfilesystems (71ubuntu3.2) precise; urgency=low

  * Always use mkfs.ext2 to create ext2 filesystems, since libparted's ext2
    code is deprecated and can't handle large sector sizes (LP: #1215458).
 -- Colin Watson <cjwatson at ubuntu.com>   Fri, 29 Nov 2013 12:08:27 +0000

** Changed in: partman-basicfilesystems (Ubuntu Precise)
       Status: Fix Committed => Fix Released

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

Title:
  partitioning step doesn't have "discard" as a selectable mount option

Status in “partman-basicfilesystems” package in Ubuntu:
  Fix Released
Status in “partman-btrfs” package in Ubuntu:
  Fix Released
Status in “partman-ext3” package in Ubuntu:
  Fix Released
Status in “ubiquity” package in Ubuntu:
  Fix Released
Status in “partman-basicfilesystems” source package in Precise:
  Fix Released
Status in “partman-btrfs” source package in Precise:
  Fix Released
Status in “partman-ext3” source package in Precise:
  Fix Released
Status in “ubiquity” source package in Precise:
  Fix Committed
Status in “partman-ext3” package in Debian:
  Fix Released

Bug description:
  SRU justification:
  [Impact] The installer does not support selecting some commonly-used mount options for common file systems.  While this is technically a feature, the fix consists of adding lines to a plain text file, and it's cumbersome for users to work around otherwise; I'd like to make the trivial changes to precise to add these.
  [Test case] Confirm that the installer permits selecting "discard" for ext4, fat16, fat32, and btrfs.  (Use apt-setup/proposed=true while this change is still in precise-proposed.)
  [Regression potential] Confirming that installation otherwise still works should be sufficient.

  Original report follows:
  Doing a clean install of Ubuntu server on a machine with an SSD. I am led to believe that in my fstab I should add the mount option "discard" to enable trim support. During the partitioning step I manually configured my partitions and selected "mount options" but 'discard' was not listed. I will now have to manually edit my fstab to add this in. Would it not be prudent to have this as a selectable option in d-i for server/alternate images?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-basicfilesystems/+bug/978032/+subscriptions



More information about the foundations-bugs mailing list