Skip to content

Instantly share code, notes, and snippets.

@garrett
Created July 7, 2023 15:21
Show Gist options
  • Save garrett/e7fd2dd88956574230ef243f23e7be91 to your computer and use it in GitHub Desktop.
Save garrett/e7fd2dd88956574230ef243f23e7be91 to your computer and use it in GitHub Desktop.
Fix discards on SSD / NVMe with LUKS (encryption) on Fedora
sudo cryptsetup --allow-discards --persistent refresh /dev/mapper/luks*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment