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/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241069 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 these 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=/dev/zero bs=1024k count=63 oseek=1 conv=notrunc of=/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!!! -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241069-227>
