Score:0

How can I change Trim timer for my secondary NVMe drive? (also -noatime and -discard options)

kr flag

I'm just a two-week linux user and started with Ubuntu 20.04 LTS. On my system, I have two NVMe drives, first one is a small 256gb XPG drive is being used as the OS drive. Nothing is special or important for this drive. Second one is a 2TB Samsung 980 Pro and I do tons of writing on it. Literally, it writes more than 50 TB per day! So, I want to keep this drive as healthy as possible. The thermals are OK but that automatic weekly trim timer is not sufficient for me. I even don't know if this trim command applies to this secondary drive.

Someone suggested me to do -noatime and -discard option on /etc/fstab and went away. I'm complete noob about the OS and need someone to tell me in details and I do need the exact commands. Just writing "add -noatime to your /etc/fstab" simply won't help me.

Thanks

ChanganAuto avatar
us flag
The system defaults are perfectly fine. Do not mess with things you don't understand.
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.