On 11/23/20 12:07 AM, Sreyan Chakravarty wrote:
I am confused about whether I should use TRIM or DISCARD on my laptop.

I use LVM on top of LUKS and I do make frequent use of snapshots. Merging them to my root volume.

I have a regular HDD and not a SSD.

Will enabling TRIM and DISCARD help me?

No, it won't.

If so, how do I do that ? I have already tried enabling:

            issue_discards=1

in /etc/lvm/lvm.conf and then dracut -f

But fstrim -v / still fails with :

                  fstrim: /: the discard operation is not supported

So how do I enable it in Fedora32 ?

There's nothing to enable. As it says, your LV and hard drive don't support discard.

However, I believe that it is useful for thin LVs, so after you've done the conversion, it's something you could try.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to