https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258704
Bug ID: 258704
Summary: kstat.zfs.zroot.misc.iostats all zeros
Product: Base System
Version: 13.0-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Hi,
Why are all values under kstat.zfs.zroot.misc.iostats 0? Does this mean that
trim is not working for my zroot pool? Or is it just misreported?
# zpool status zroot
pool: zroot
state: ONLINE
scan: scrub repaired 0B in 00:01:31 with 0 errors on Fri Sep 24 03:49:20 2021
config:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ada0p3 ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
errors: No known data errors
# camcontrol identify ada0 | grep -i trim
Data Set Management (DSM/TRIM) yes
# camcontrol identify ada1 | grep -i trim
Data Set Management (DSM/TRIM) yes
# sysctl kstat.zfs.zroot.misc.iostats
kstat.zfs.zroot.misc.iostats.simple_trim_bytes_failed: 0
kstat.zfs.zroot.misc.iostats.simple_trim_extents_failed: 0
kstat.zfs.zroot.misc.iostats.simple_trim_bytes_skipped: 0
kstat.zfs.zroot.misc.iostats.simple_trim_extents_skipped: 0
kstat.zfs.zroot.misc.iostats.simple_trim_bytes_written: 0
kstat.zfs.zroot.misc.iostats.simple_trim_extents_written: 0
kstat.zfs.zroot.misc.iostats.autotrim_bytes_failed: 0
kstat.zfs.zroot.misc.iostats.autotrim_extents_failed: 0
kstat.zfs.zroot.misc.iostats.autotrim_bytes_skipped: 0
kstat.zfs.zroot.misc.iostats.autotrim_extents_skipped: 0
kstat.zfs.zroot.misc.iostats.autotrim_bytes_written: 0
kstat.zfs.zroot.misc.iostats.autotrim_extents_written: 0
kstat.zfs.zroot.misc.iostats.trim_bytes_failed: 0
kstat.zfs.zroot.misc.iostats.trim_extents_failed: 0
kstat.zfs.zroot.misc.iostats.trim_bytes_skipped: 0
kstat.zfs.zroot.misc.iostats.trim_extents_skipped: 0
kstat.zfs.zroot.misc.iostats.trim_bytes_written: 0
kstat.zfs.zroot.misc.iostats.trim_extents_written: 0
thanks
Michal
--
You are receiving this mail because:
You are the assignee for the bug.