[Bug 867794] Re: Ubuntu 11.10 does not enter 'discard' filesystem option on ext4 install on SSD drive

David Clayton 867794 at bugs.launchpad.net
Sat Feb 25 06:04:50 UTC 2012


For any SSD compatible partition created by the Ubuntu installer or
gparted or the Disk Manager then the appropriate TRIM option should be
set.

It is relatively easy to test if a drive is a SSD (sda in this example):

cat /sys/block/sda/queue/rotational

0 (zero) means non-rotational (SSD), 1 means a "normal" rotational
drive.

Any non-TRIM filesystem installed on a SSD should also be flagged with a
big warning message that doing rewrites on this non-TRIM partition may
eventually use up all the empty blocks and cripple SSD performance on
ALL partitions.

-- 
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/867794

Title:
  Ubuntu 11.10 does not enter 'discard' filesystem option on ext4
  install on SSD drive

Status in “ubiquity” package in Ubuntu:
  Confirmed

Bug description:
  I installed 11.10 the other day on my Macbook Air which has an SSD
  drive. Once installed I inspected the ftab and I noticed that it did
  not include the 'discard' option on my ext4 filesystem partition. The
  discard option enables TRIM support for SSD drives (I realise a lot of
  them now have TRIM support in the hardware but for those that don't
  but do support TRIM, they need this option) which prolongs their lives
  and keeps performance optimal, as it can degrade over time. The SSD
  drive should be detected at installation time and then this option
  added to the fstab.

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




More information about the foundations-bugs mailing list