Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fstrim support for SSD disks #5

Open
e-minguez opened this issue Jan 21, 2018 · 1 comment
Open

Add fstrim support for SSD disks #5

e-minguez opened this issue Jan 21, 2018 · 1 comment

Comments

@e-minguez
Copy link
Owner

No description provided.

@e-minguez
Copy link
Owner Author

e-minguez commented Jan 22, 2018

Notes:

/etc/crypttab -> discard
/etc/fstab -> relatime
# Discard doesn't seem needed in /etc/fstab as it will continuously trim the disk (which we don't want)
/etc/default/grub -> GRUB_CMDLINE_LINUX="... rd.luks.options=discard"
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
dracut -f
systemctl enable fstrim.timer
reboot

Do fstrim -av a couple of times to see if it trims it or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant