I’m running Qubes off a Crucial m4 256Gig SSD mSata (Thinkpad x230). It recently slowed, and I’m suspecting that the SSD needs a good “trim”. I’m following the instructions at http://blog.christophersmart.com/2013/06/05/trim-on-lvm-on-luks-on-ssd/ . Some of the steps are reasonable:
- Adding “discard” to “/”'s ext4 entry in /etc/fstab
- Adding “allow-discard” to the luks entry in /etc/crypttab
- Adding issue_discards = 1 to /etc/lvm/lvm.conf
But now I need to recreate initramfs with something like the following, but it scares me.
- sudo dracut --force -I /etc/crypttab
Is this safe/proper? Is there documentation telling how to recreate Qubes’ initramfs?
p.s. I’m more concerned about my laptop being decrypted if lost/stolen (rather than an adversary taking repeated snapshots) and am OK with the security downside of SSD trim.