Summary: | zfs replace doesn't detach old device | ||
---|---|---|---|
Product: | Base System | Reporter: | Matthias Pfaller <matthias.pfaller> |
Component: | kern | Assignee: | freebsd-fs (Nobody) <fs> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | eborisch+FreeBSD |
Priority: | --- | ||
Version: | 11.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Matthias Pfaller
2017-12-12 12:56:20 UTC
Perhaps because it is already marked as a spare (part of the pool) and the ZFS later hasn’t had any errors yet? zpool remove the spare and then re-issue the replace? I already did what you suggested and the system did what I wanted to achieve. Its still surprising to watch it resilver for 14h and then ending up in the same state as before... I think when you request a replace (even when replacing with an hot spare) it should just detach the replaced drive when finished. So maybe that's not a bug report but a feature request. |