From owner-freebsd-current@FreeBSD.ORG Tue Jul 14 23:07:06 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 A7786106564A for ; Tue, 14 Jul 2009 23:07:06 +0000 (UTC) (envelope-from spambox@haruhiism.net) Received: from fujibayashi.jp (karas.fujibayashi.jp [77.221.159.4]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2D18FC0C for ; Tue, 14 Jul 2009 23:07:05 +0000 (UTC) (envelope-from spambox@haruhiism.net) Received: from [192.168.0.10] (datacenter.telecombusinessconsulting.net [77.221.137.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by fujibayashi.jp (Postfix) with ESMTPSA id DB03078F81; Wed, 15 Jul 2009 03:07:03 +0400 (MSD) Message-ID: <4A5D0F9B.1010900@haruhiism.net> Date: Wed, 15 Jul 2009 03:07:07 +0400 From: Kamigishi Rei User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Chris Hedley References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Freddie Cash Subject: Re: ZFS pool corrupted on upgrade of -current (probably sata renaming) 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: Tue, 14 Jul 2009 23:07:06 -0000 Chris Hedley wrote: > Thanks - that was just what I was looking for! That'll save me an > awful lot of hassle in future, especially as I'm eyeing up the CAM > integration patch. In the meantime I'm successfully but slowly > retrieving my data, I'll just have to be patient, but it's reassuring > that I can build a new ZFS array with confidence. There was another step you could take to recover your array safely. Right after that upgrade after witnessing the problem, boot back into kernel.old in single user mode and doing /etc/rc.d/zfs start zpool export poolname and then rebooting into normal kernel in single user mode again and doing /etc/rc.d/zfs start zpool import poolname That's how I solved it when I moved from adXX to adaXX device names. Actually, just to be sure, I export pools for every update that touches ata/ahci modules. -- Kamigishi Rei KREI-RIPE