From owner-freebsd-bugs@FreeBSD.ORG Sun Nov 4 17:50:02 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B721343F for ; Sun, 4 Nov 2012 17:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 732D68FC17 for ; Sun, 4 Nov 2012 17:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA4Ho266018531 for ; Sun, 4 Nov 2012 17:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA4Ho2YW018530; Sun, 4 Nov 2012 17:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 4 Nov 2012 17:50:02 GMT Resent-Message-Id: <201211041750.qA4Ho2YW018530@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Geier Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E1F63E1 for ; Sun, 4 Nov 2012 17:47:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 76EBD8FC08 for ; Sun, 4 Nov 2012 17:47:59 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qA4HlxYT018659 for ; Sun, 4 Nov 2012 17:47:59 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qA4HlxUW018658; Sun, 4 Nov 2012 17:47:59 GMT (envelope-from nobody) Message-Id: <201211041747.qA4HlxUW018658@red.freebsd.org> Date: Sun, 4 Nov 2012 17:47:59 GMT From: Christian Geier To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/173363: Panic on 'zpool replace' on readonly pool X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Nov 2012 17:50:02 -0000 >Number: 173363 >Category: misc >Synopsis: Panic on 'zpool replace' on readonly pool >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 04 17:50:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Christian Geier >Release: 9.1-RC2 >Organization: >Environment: FreeBSD brutus.lostpackets.de 9.1-RC2 FreeBSD 9.1-RC2 #0 r241106: Mon Oct 1 18:26:44 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: 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' >Fix: >Release-Note: >Audit-Trail: >Unformatted: