EDL #101 - Solid State Disks

1 post / 0 new
wizace
wizace's picture
EDL #101 - Solid State Disks

 

Hey Guys,
 
first of all - great idea for a show. I really looked forwards to your SSD episode since i'm using a Linux System with SSD as my only fix drive in my Netbook and my Desktop. By the way, if you really need a portable device for your backpack, which is able to do some work, a netbook is a great thing.
 
To protect the SSD's, I turned off swapping. Another way to protect the disc from too many writing operations is to link cache and logs to a ramdrive. That's totally okay for a non-server system. You can do that in /etc/fstab - for examble like that:
 
tmpfs /tmp tmpfs nosuid 0 0
tmpfs /tmp tmpfs nosuid,size=15% 0 0 //set maximum used rampart for tmp
 
tmpfs /var/run tmpfs nosuid,mode=0755 0 0
tmpfs /var/lock tmpfs noexec,nosuid,nodev 0 0
tmpfs /var/log tmpfs noexec,nodev,nosuid 0 0
 
 
It may be helpful to also link the Browsers Cache to your tmp ramdrive, which is possible by a simple symlink. Be aware, that a reboot means, that you cache and log files are empty again. But if you need to track down errors, you ca copy them or simply change your fstab back until you're done.
 
Smartctl is a great tool, for looking into the SSD's status. The firmware logs for example, how many sectors have been worm off and much more indicators which make you see, whether the SSD is still save. After installing smartctl, try 
 
sudo smartctl --all /dev/sda
 
in you shell, for example.
 
 
Greetings to everybody
 
Benjamin