ssd - bunnyamin/bunnix GitHub Wiki
SSD (Solid State Drive)
Flash
Configure | Configuration |
---|---|
BIOS |
Set AHCI for SATA instead of, for example, IDE . |
filesystem |
ext4 |
/etc/fstab | Change noatime instead of relatime , add discard (discard is not supported by FAT32 and ext2 ). |
/etc/lvm/lvm.conf |
Change the value issue_discards=1 . |
Kernel parameter luks.options=discard |
Verify after boot # fstrim / -> 0 on success and fstrim: /: the discard operation is not supported on failure. |