Actions
Bug #8617
openzpool scrub disappears when taking a disk online
Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2017-09-06
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
Recently I was wondering why a zfs scrub disappeared without any error. It turns out I took an offline disk online again.
I wrote a little reproducer (see attachment):
[host ~]# /var/tmp/zpool-scrub-reproducer.sh zpool status pol.s | egrep 'scrub|scan|resilver' scan: resilvered 512 in 0h0m with 0 errors on Wed Sep 6 11:38:21 2017 zpool scrub pol.s zpool status pol.s | egrep 'scrub|scan|resilver' scan: scrub in progress since Wed Sep 6 11:39:11 2017 210M scanned out of 40.8T at 17.5M/s, 678h24m to go zpool offline pol.s c3t5000C5001A4DCB6Ed0 zpool status pol.s | egrep 'scrub|scan|resilver' scan: scrub in progress since Wed Sep 6 11:39:11 2017 332M scanned out of 40.8T at 15.8M/s, (scan is slow, no estimated time) zpool online pol.s c3t5000C5001A4DCB6Ed0 zpool status pol.s | egrep 'scrub|scan|resilver' scan: resilvered 512 in 0h0m with 0 errors on Wed Sep 6 11:39:37 2017
I'm not quite sure if this is a bug or if there are some good reasons for this behaviour. Maybe someone can clarify it.
Files
Updated by Simon K almost 5 years ago
- Category set to zfs - Zettabyte File System
Updated by Yuri Pankov almost 5 years ago
and this is really better asked on mailing lists, this doesn't look like problem report per se.
Updated by Simon K almost 5 years ago
Yuri Pankov wrote:
resilver overrides scrub?
Hm yes, you might be right. Maybe a scrub should continue after resilver. Especially if the scrub needs days or even worse weeks and the resilver for a single disk needs only minutes/hours.
Actions