[Bug 225547] zfsd(8): don't add a spare to a replacing vdev

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 29 23:25:43 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225547

            Bug ID: 225547
           Summary: zfsd(8): don't add a spare to a replacing vdev
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: asomers at FreeBSD.org

If a zfs pool contains a replacing vdev (either created manually by "zpool
replace" or by zfsd(8) via autoreplace by physical path) and then new spares
get added to the pool, zfsd(8) will use one to replace the drive that is
already being replaced.  That's a waste of resources that just slows down the
rebuild.  zfsd should be changed not to do that.

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


More information about the freebsd-bugs mailing list