From owner-freebsd-questions@FreeBSD.ORG Sun Feb 5 05:14:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ED5E106566C for ; Sun, 5 Feb 2012 05:14:01 +0000 (UTC) (envelope-from chris@cjones.org) Received: from maxwell.cjones.org (mail.cjones.org [69.146.226.138]) by mx1.freebsd.org (Postfix) with ESMTP id 16B6A8FC0C for ; Sun, 5 Feb 2012 05:14:00 +0000 (UTC) Received: by maxwell.cjones.org (Postfix, from userid 65534) id A9C0D4A64CE; Sat, 4 Feb 2012 21:56:32 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on maxwell.cjones.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from [10.0.4.7] (cassanova.cjones.org [10.0.4.7]) (Authenticated sender: chris) by maxwell.cjones.org (Postfix) with ESMTPSA id 735FE4A64B5 for ; Sat, 4 Feb 2012 21:56:30 -0700 (MST) Message-ID: <4F2E0BFA.8040308@cjones.org> Date: Sat, 04 Feb 2012 21:56:26 -0700 From: Chris Jones User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: gpt zfs raidz1 boot failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2012 05:14:01 -0000 I have a raidz1 in degraded mode, with only 1 disk available. When I try to boot it, I get this: ZFS: can only boot from disk, mirror, raidz1, raidz2 and raidz3 vdevs ZFS: i/o error - all block copies unavailable ZFS: can't read MOS ZFS: unexpected object set type 0 ...followed by a couple of attempts to load maxroot/boot/kernel/kernel. I've carefully followed the instructions at http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE -- except that I'm starting with a degraded zfs so I can transition my data from gmirror. Here's more system info: maxwell$ uname -a FreeBSD maxwell.cjones.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 maxwell# gpart show ada2 => 34 488281183 ada2 GPT (232G) 34 128 1 freebsd-boot (64k) 162 488281055 2 freebsd-zfs (232G) maxwell# zpool status pool: maxroot state: DEGRADED status: One or more devices has been taken offline by the administrator. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Online the device using 'zpool online' or replace the device with 'zpool replace'. scan: none requested config: NAME STATE READ WRITE CKSUM maxroot DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 ada2p2 ONLINE 0 0 0 8747991784175675917 OFFLINE 0 0 0 was /usr/bigfile errors: No known data errors The errors seem to indicate that it's getting to the first- and second-stage bootstrap, but it's unable to load /boot/zfsloader; correct? The first line of error text seems to indicate that the bootstrap thinks my pool isn't a raidz1; but the output of zpool says otherwise. Any thoughts? Chris