Score:0

How to stop sys from changing USB SSD provisioning_mode from unmap to full in Ubuntu 22.04?

ma flag

I set USB provisioning_mode to unmap to allow TRIM discard for an external USB SSD that supports TRIM. The system reverts to provisioning_mode full after reboot. TRIM works great with provisioning_mode set to unmap, so that I can manually TRIM a partition or entire drive when I want to. I have more than one etc/udev/rules.d files - 10-uas-discard.rules, 10-trim.rules, 50-usb-ssd-trim.rules & 90-usb-discard.rules - all contain the exact same data - ACTION=="add|change", ATTRS{idVendor}=="174c", ATTRS{idProduct}=="55aa, SUBSYSTEM=="scsi_disk", ATTR{provisioning_mode}="unmap"

Is there any way to prevent this? Am I missing something?

ASMedia chipset:

ASMedia chipset

Drive stats:

drive stats

fstab :

fstab

USB udev rules:

USB UDEV Rules

provisioning_mode location:

provisioning_mode location

More TRIM data:

more TRIM data

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.