Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
how to see if TRIM is supported?
« previous
next »
Print
Pages: [
1
]
Author
Topic: how to see if TRIM is supported? (Read 1157 times)
fadern
Newbie
Posts: 32
Karma: 1
how to see if TRIM is supported?
«
on:
September 12, 2023, 08:50:28 pm »
Hi,
Do any of you know how to see if the drive supports TRIM?
I have tried hdparm and lsblk but they are not found.
Logged
Intel i7-8550U - Intel I211 - RAM 16GB - NVMe 120Gb
Intel i7-5550U - Intel I211 - RAM 8GB - NVMe 50Gb
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: how to see if TRIM is supported?
«
Reply #1 on:
September 12, 2023, 09:05:11 pm »
# camcontrol identify ada0 | grep TRIM
Data Set Management (DSM/TRIM) yes
The system should try to use tunefs to set trim automatically. I think for ZFS it's a separate option, either using autotrim property or using the zfs trim cronjob for more info see:
https://openzfs.github.io/openzfs-docs/man/master/7/zpoolprops.7.html
<- autotrim property
https://docs.opnsense.org/manual/settingsmenu.html#cron
<- "ZFS pool trim" cron job description
Cheers,
Franco
Logged
fadern
Newbie
Posts: 32
Karma: 1
Re: how to see if TRIM is supported?
«
Reply #2 on:
September 12, 2023, 09:25:07 pm »
Thank you!
It worked and I'm using the predefined cronjob.
Logged
Intel i7-8550U - Intel I211 - RAM 16GB - NVMe 120Gb
Intel i7-5550U - Intel I211 - RAM 8GB - NVMe 50Gb
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
how to see if TRIM is supported?