partitioning step doesn't have "discard" as a selectable mount option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-basicfilesystems (Ubuntu) |
Fix Released
|
Wishlist
|
Colin Watson | ||
Precise |
Fix Released
|
Wishlist
|
Colin Watson | ||
partman-btrfs (Ubuntu) |
Fix Released
|
Wishlist
|
Colin Watson | ||
Precise |
Fix Released
|
Wishlist
|
Colin Watson | ||
partman-ext3 (Debian) |
Fix Released
|
Unknown
|
|||
partman-ext3 (Ubuntu) |
Fix Released
|
Wishlist
|
Colin Watson | ||
Precise |
Fix Released
|
Wishlist
|
Colin Watson | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
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/
[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?
Related branches
Changed in debian-installer (Ubuntu): | |
importance: | Undecided → Low |
Changed in partman-ext3 (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in partman-basicfilesystems (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in partman-btrfs (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in partman-ext3 (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in partman-ext3 (Debian): | |
status: | Unknown → Fix Released |
Changed in partman-basicfilesystems (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in partman-btrfs (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in partman-basicfilesystems (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in partman-btrfs (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in partman-ext3 (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in partman-ext3 (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
description: | updated |
Changed in partman-basicfilesystems (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
milestone: | none → ubuntu-12.04.4 |
Changed in partman-ext3 (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.4 |
Changed in partman-btrfs (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.4 |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in ubiquity (Ubuntu): | |
status: | New → Fix Released |
Changed in ubiquity (Ubuntu Precise): | |
status: | New → In Progress |
Kernel support seems to be:
fs/btrfs/super.c: {Opt_discard, "discard"},
fs/ext4/super.c: {Opt_discard, "discard"},
fs/fat/inode.c: {Opt_discard, "discard"},
fs/gfs2/super.c: {Opt_discard, "discard"},
fs/nilfs2/super.c: {Opt_discard, "discard"},