Trisquel 6 on a SSD
- Anmelden oder Registrieren um Kommentare zu schreiben
Hi,
I have recently tested the Live-CD of Trisquel and was really impressed of the beautiful appearance and how nearly everything looked well configured. I also share the ideas of the free software movement completely as I have experienced the benefits of free software by myself. That's why why I am planning to free all of my hardware of proprietary sofware step by step. For that reason the best idea is first of all to USE a completely free operating system. At the moment I have Lubuntu (and Windows 7...) installed on the SSD of my laptop which I want to move to a conventional HDD and install Trisquel 6 instead on the SSD.
I would like to know if anyone has experiences with Trisquel on a SSD and if TRIM is supported by Trisquel 6? The Linux-kernel supports the TRIM-command through an ATA-command since version 2.6.33 but I am not sure if the libre kernel also supports it.
Thank you in advance for your help.
PS: This is my first post here :)
I'm pretty sure it does. The main difference between the mainline kernel and linux-libre is the later is missing the non-free parts. There are also some patches applied. None of which would be impacted by this.
Welcome to the forums and to Trisquel!
I agree with Chris.
Thank you to both of you and thank you for the welcome greeting lembas!
I am using Trisquel 6.0 with an SSD. A copy of my /etc/fstab is attached as
/tmp/fstab.txt. You will see that the SSD has the options "noatime,discard".
So far as I know, this ensures that the SSD will not be written to unnecessarily. The TRIM function is provided by the "discard" option.
Trisquel works very well with my SSD.
Anhang | Größe |
---|---|
fstab.txt | 956 Bytes |
Thank you for your information and for sharing your /etc/fstab-file. As far as I know a better way as the "discard" option (which is called "online discard") is "batched discard" because online discard "slows operation considerably; there's also been some claims that excessive trimming can, itself, shorten drive life." (http://lwn.net/Articles/417809/)
To use batched discard, you need to create a file /etc/cron.weekly/batched_discard (weekly) /etc/cron.daily/batched_discard (daily) respectively with this text:
#!/bin/sh
LOG=/var/log/batched_discard.log
echo "*** $(date -R) ***" >> $LOG
fstrim -v / >> $LOG
fstrim -v /home >> $LOG
(This example presumes that you have a root and home partition; you may need to modify it to your needs.)
Than you need to make it executable:
sudo chmod 755 /etc/cron.weekly/batched_discard
TRIM works smoothly in Trisquel 6.
Tested with Crucial M4 and M500 SSDs.
You can check by: sudo hdparm -I /dev/sda | grep TRIM
You will see: Data Set Management TRIM supported
- Anmelden oder Registrieren um Kommentare zu schreiben