Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2021 08:43:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 258704] kstat.zfs.zroot.misc.iostats all zeros
Message-ID:  <bug-258704-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258704

            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: bugs@FreeBSD.org
          Reporter: michal@maximale.sk

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?=20

# 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258704-227>