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

Launchpad Bug Tracker 978032 at bugs.launchpad.net
Tue Oct 1 16:01:12 UTC 2013


This bug was fixed in the package partman-basicfilesystems - 84ubuntu1

---------------
partman-basicfilesystems (84ubuntu1) saucy; urgency=low

  * Resynchronise with Debian.  Remaining changes:
    - If partman/automount is preseeded to true, automatically mount
      partitions with usefully-mountable filesystems on subdirectories of
      /media.
    - Add minimal support for NTFS partitions using ntfs-3g.
    - Mount FAT filesystems at boot (fstab pass 1).
    - Mount FAT (other than EFI System Partitions) and NTFS with
      umask=007,gid=46 (static group plugdev).
    - When formatting over the top of an existing swap partition, preserve
      its UUID to avoid leaving systems that use UUIDs in /etc/fstab without
      swap.
    - mount.d/basic: Close mount's fd 3 so that it doesn't inherit a debconf
      file descriptor, to prevent log-output hanging when ntfs-3g is in use.
    - Special case loopmounted filesystems as it's safer to format the
      underlying file, not the device.
    - Allow armel/omap to use FAT for /boot, since the problems with it can
      be worked around while it's difficult to use anything else given uboot
      limitations.
    - Stop using libparted to format swap partitions.
    - Disable existing swap partitions before formatting them.
    - Use mkdosfs to create FAT filesystems, since libparted cannot handle
      doing that on non-512-sector disks.
    - Always use mkfs.ext2 to create ext2 filesystems, since libparted's
      ext2 code is deprecated and can't handle large sector sizes.

partman-basicfilesystems (84) unstable; urgency=low

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

  [ Updated translations ]
  * Turkish (tr.po) by Mert Dirik

partman-basicfilesystems (83) unstable; urgency=low

  [ Updated translations ]
  * Tajik (tg.po) by Victor Ibragimov

partman-basicfilesystems (82) unstable; urgency=low

  [ Updated translations ]
  * Arabic (ar.po) by Ossama Khayat
  * Czech (cs.po) by Miroslav Kure
  * German (de.po) by Holger Wansing
  * Italian (it.po) by Milo Casagrande
  * Russian (ru.po) by Yuri Kozlov
  * Tajik (tg.po) by Victor Ibragimov

partman-basicfilesystems (81) unstable; urgency=low

  [ Updated translations ]
  * Bulgarian (bg.po) by Damyan Ivanov
  * Japanese (ja.po) by Kenshi Muto
  * Bokmål, Norwegian (nb.po) by Hans Fredrik Nordhaug
  * Polish (pl.po) by Michał Kułach
  * Tajik (tg.po)
  * Uyghur (ug.po) by Abduqadir Abliz

partman-basicfilesystems (80) unstable; urgency=low

  [ Milan Kupcevic ]
  * Warn if bootable partition is not ext2 on Pegasos machines. Closes: #717511

  [ Updated translations ]
  * French (fr.po) by Christian Perrier
  * Slovak (sk.po) by Ivan Masár
  * Thai (th.po) by Theppitak Karoonboonyanan

partman-basicfilesystems (79) unstable; urgency=low

  [ Dmitrijs Ledkovs ]
  * Set debian source format to '3.0 (native)'.
  * Bump debhelper compat level to 9.
  * Set Vcs-* to canonical format.
 -- Colin Watson <cjwatson at ubuntu.com>   Tue, 01 Oct 2013 10:29:00 +0100

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

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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-btrfs 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 “partman-basicfilesystems” source package in Precise:
  In Progress
Status in “partman-btrfs” source package in Precise:
  In Progress
Status in “partman-ext3” source package in Precise:
  In Progress
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