Date: Sat, 05 Oct 2019 00:18:14 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 241069] zfs: scrub does not detect all errors on active spares Message-ID: <bug-241069-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241069 Bug ID: 241069 Summary: zfs: scrub does not detect all errors on active spares Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org This is a partial regression of https://www.illumos.org/issues/8473, which I fixed in illumos rev 554675e (FreeBSD 323813). Previously, ZFS scrub would never detect errors on active spares. Now, it detects some of them, but not all. The problem can be reproduced with the hotspare_test:hotspare_scrub_002_pos test from the ZFS test suite, or by th= ese commands: truncate -s 64m /tmp/a /tmp/b /tmp/c /tmp/d sudo zpool create -f testpool raidz1 /tmp/a /tmp/b /tmp/c spare /tmp/d sudo zpool replace testpool /tmp/a /tmp/d /bin/dd if=3D/dev/zero bs=3D1024k count=3D63 oseek=3D1 conv=3Dnotrunc of=3D= /tmp/d sync sudo zpool scrub testpool zpool status testpool # Will show only a few errors sudo zpool offline testpool /tmp/a sudo zpool scrub testpool zpool status testpool # Will show new errors!!! --=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-241069-227>