From owner-freebsd-current@FreeBSD.ORG Wed Oct 28 18:55:47 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 450C51065676; Wed, 28 Oct 2009 18:55:47 +0000 (UTC) (envelope-from nork@ninth-nine.com) Received: from sakura.ninth-nine.com (unknown [IPv6:2001:2f0:104:80a1::25]) by mx1.freebsd.org (Postfix) with ESMTP id E6CC08FC0A; Wed, 28 Oct 2009 18:55:46 +0000 (UTC) Received: from nadesico.ninth-nine.com (ns1.ninth-nine.com [219.127.74.121] (may be forged)) (authenticated bits=0) by sakura.ninth-nine.com (8.14.3/8.14.3/NinthNine) with ESMTP id n9SItesj057501; Thu, 29 Oct 2009 03:55:45 +0900 (JST) (envelope-from nork@ninth-nine.com) Date: Thu, 29 Oct 2009 03:55:39 +0900 From: Norikatsu Shigemura To: Robert Noland Message-Id: <20091029035539.945aa7fb.nork@ninth-nine.com> In-Reply-To: <1256685555.2315.9.camel@balrog.2hip.net> References: <1256517106.2502.205.camel@balrog.2hip.net> <1256571299.2502.219.camel@balrog.2hip.net> <20091028071734.e92e8e49.nork@ninth-nine.com> <1256685555.2315.9.camel@balrog.2hip.net> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: GPT boot with ZFS RAIDZ "ZFS: i/o error - all block copies unavailable" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 18:55:47 -0000 Hi rnoland. On Tue, 27 Oct 2009 18:19:15 -0500 Robert Noland wrote: > > 2. reduce AVAIL < 10% with creating dummy file like ... > > $ dd if=/dev/zero of=$HOME/DUMMY.FILE bs=1m count=5632 > > 5632+0 records in > > 5632+0 records out > > 5905580032 bytes transferred in 49.822200 secs (118533104 bytes/sec) > > $ zpool list > > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > > tank 59.5G 53.9G 5.61G 90% ONLINE - > > 3. cd /boot/; cp -pr kernel kernel.err > > In this time, if reboot, we can get boot time error. > > 4. rm $HOME/DUMMY.FILE, and reboot > > 5. boot kernel.err on new-loader. > > I can get "ZFS: gang block detected!" message and overrun:D. > Ok, so does it still boot? Or do you still get an error? After reboot: OK: boot kernel NG: boot kernel.err Sorry, kernel.err is ganged kernel. I should be called as kernel.gang.