kern/119435: [zfs] replacing bad drive without offlining old one causes in-use "unavail" drive

Weldon S Godfrey 3 weldon at excelsus.com
Tue Jan 8 05:46:47 PST 2008


zpool replace -f yeilds error that it is in use.

netflow-dc1# zpool replace -f tank /dev/mfid1
invalid vdev specification
the following errors must be manually repaired:
mfid1 is in use (r1w1e1)



If memory serves me right, sometime around 6:56am, remko at FreeBSD.org told me:

> Synopsis: [zfs] replacing bad drive without offlining old one causes in-use "unavail" drive
>
> State-Changed-From-To: open->closed
> State-Changed-By: remko
> State-Changed-When: Tue Jan 8 06:56:37 UTC 2008
> State-Changed-Why:
> I think the manual describes pretty clearly on how this works, please
> try the option that I send in private email, and follow-up on me if this
> does not work (Then I will reopen the ticket and send it along for
> further evaluation). Thanks for using FreeBSD!
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=119435
>


More information about the freebsd-bugs mailing list