2010-09-21, 18:12
froggit Wrote:BTW, this OCZ Onyx SSD I'm using has TRIM support.trim has been backported to 2.6.32. the mount parameter for TRIM is called "discard":
I'm wondering whether Ubuntu 2.6.32-24 that xbmc dharma beta live uses has TRIM support or not. Anyone know?
Somewhere I saw that 2.6.33 kernel is required to support TRIM, but my search so far was a bit inconclusive.
Code:
$ uname -a
Linux XBMCLive 2.6.32-25-generic #43~pre201008250901-Ubuntu SMP Wed Aug 25 18:48:05 UTC 2010 i686 GNU/Linux
$ sudo hdparm -I /dev/sda|grep TRIM
* Data Set Management determinate TRIM supported
$ grep discard /proc/mounts
/dev/disk/by-uuid/046e9a06-1dc2-4646-b97f-4359460ecddf / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered,discard 0 0
but test first with:
Code:
sudo mount -o remount,discard /