Bug 173363

Summary: [zfs] [panic] Panic on 'zpool replace' on readonly pool
Product: Base System Reporter: Christian Geier <catcher>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me Keywords: crash
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Christian Geier 2012-11-04 17:50:01 UTC
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.

How-To-Repeat: Mount a degraded raidz with '-o readonly=on' and than do 'zpool replace poolname newdisk'
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-11-05 02:36:30 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:58 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped