1
Hardware and Performance / Exessive SSD wear on Kingston m.2 NVMe
« on: May 25, 2023, 09:11:11 am »
We have been running an installation of OPNsense with the latest version for a few months and have noticed alarming levels of SSD writes that we cannot explain.
There is very little logging happening. The file system has very little storage used and we have zenarmor and netflow enabled but not much more. Most firewall rules are set to not log traffic.
Here are two screenshots of SSD attributes about 30 days apart. The writes have increased by 2,11TB in that time.
https://imgur.com/a/SUzqITC
Ramdisks are not in use and only 13GB of storage is used currently
https://imgur.com/a/bnnq66A
When running the iostat command in shell, it does not show high writes:
There is very little logging happening. The file system has very little storage used and we have zenarmor and netflow enabled but not much more. Most firewall rules are set to not log traffic.
Here are two screenshots of SSD attributes about 30 days apart. The writes have increased by 2,11TB in that time.
https://imgur.com/a/SUzqITC
Ramdisks are not in use and only 13GB of storage is used currently
https://imgur.com/a/bnnq66A
When running the iostat command in shell, it does not show high writes:
Code: [Select]
iostat -x 1 10
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 46 1.7 852.3 0 0 1 0 0 0
md43 0 0 0.0 1.8 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 424 0.0 9191.4 0 0 1 0 0 1
md43 0 2 0.0 8.0 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 6 0.0 103.9 0 0 1 0 0 0
md43 0 0 0.0 0.0 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 4 0.0 24.0 0 0 1 1 0 0
md43 0 0 0.0 0.0 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 7 0.0 100.0 0 0 1 0 0 1
md43 0 0 0.0 0.0 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 45 0.0 2585.2 0 0 1 0 0 1
md43 0 0 0.0 0.0 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 251 0.0 8193.3 0 0 4 0 0 6
md43 0 1 0.0 4.0 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 4 0.0 32.0 0 9 14 12 0 6
md43 0 0 0.0 0.0 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 4 0.0 56.0 0 0 12 6 0 5
md43 0 0 0.0 0.0 0 0 0 0 0 0
extended device statistics
device r/s w/s kr/s kw/s ms/r ms/w ms/o ms/t qlen %b
nvd0 0 0 0.0 0.0 0 0 0 0 0 0
md43 0 0 0.0 0.0 0 0 0 0 0 0
What could be causing this?