kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #23894
[Bug 1244504] Re: need to enable trim for SSD disk automatically
Looks the log isn't needed, see below:
ubuntu@h4c:~$ mount | grep ext4
/dev/sda2 on / type ext4 (rw,errors=remount-ro)
** Changed in: linux (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1244504
Title:
need to enable trim for SSD disk automatically
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
Many filesystems support discard feature, and lots of SSD disks(even some usb storages)
support TRIM feature, but unfortunately Ubuntu does not enable it automatically.
With trim/discard enabled, SSD's lifetime can be increased and write performance
may be improved.
For common users, we can't expect them to know trim and enable it manually, so
it is better to let ubuntu do it automatically like below:
- check if the disk support trim by hdparm -I
- if the disk supports trim, either mount with '-o discard' or doing trim in background
periodically as suggested in below link[1], or other better way
[1], http://blog.neutrino.es/2013/howto-properly-activate-trim-for-
your-ssd-on-linux-fstrim-lvm-and-dmcrypt/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1244504/+subscriptions
References