[Bug 260257] CAM_IO_STATS does not track MEDIUM ERRORs

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 01 Jan 2022 20:25:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260257

--- Comment #6 from Alan Somers <asomers@FreeBSD.org> ---
I saw this again.  A drive returned a lot of "Head select fault"s, but the
errors counter is still 0, even though errors got reported to ZFS.

(da292:mpr2:0:214:0): READ(6). CDB: 08 00 00 00 08 00 
(da292:mpr2:0:214:0): CAM status: SCSI Status Error
(da292:mpr2:0:214:0): SCSI status: Check Condition
(da292:mpr2:0:214:0): SCSI sense: ABORTED COMMAND asc:9,4 (Head select fault)
(da292:mpr2:0:214:0): Descriptor 0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00
00
(da292:mpr2:0:214:0): Retrying command (per sense data)

$ sysctl kern.cam.da.292.stats
kern.cam.da.292.stats.pack_invalidations: 0
kern.cam.da.292.stats.timeouts: 10461
kern.cam.da.292.stats.errors: 0

$ zpool status | grep mp_JB1_S15
              multipath/mp_JB1_S15.eli  FAULTED  7.90K 11.0K    35  too many
errors

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