misc/173363: Panic on 'zpool replace' on readonly pool

Christian Geier catcher at lostpackets.de
Sun Nov 4 17:50:02 UTC 2012

>Number:         173363
>Category:       misc
>Synopsis:       Panic on 'zpool replace' on readonly pool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 04 17:50:01 UTC 2012
>Originator:     Christian Geier
>Release:        9.1-RC2
FreeBSD brutus.lostpackets.de 9.1-RC2 FreeBSD 9.1-RC2 #0 r241106: Mon Oct  1 18:26:44 UTC 2012     root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

I did a fresh install of FreeBSD 9.1-RC2 and imported an originally 4 disk zraid pool with only 3 disks attached in readonly mode (via zpool import -o readonly=on storage). On replacement of the missing disk via zpool replace storage ada1 the machine reboots instantly (with no messages in the system logs). I repeated the procedure five times with the same outcome. On importing the zpool without the readonly option, resilvering starts and works fine.

Mount a degraded raidz with '-o readonly=on' and than do 'zpool replace poolname newdisk'


More information about the freebsd-bugs mailing list