From owner-freebsd-fs@FreeBSD.ORG Thu Jan 19 16:19:39 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 843BD1065672 for ; Thu, 19 Jan 2012 16:19:39 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 349F98FC17 for ; Thu, 19 Jan 2012 16:19:38 +0000 (UTC) Received: by vbbey12 with SMTP id ey12so91277vbb.13 for ; Thu, 19 Jan 2012 08:19:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Md9sdePuSRUgqRKSn61JFqlDbpQZ6+Xu/WL20w5j2g8=; b=aC71QzlS2YMeLPpv0YjmuZO/NPJ+l++jJ1JDTjIdwW/M+d+fTwX3s3xiwHdSrBRs1j EAMY/AFA+0IoSR5DlzlIXwahSneRKcXYbeAZTWwveij4sUjF2WhbSclbje4oH+AW+OVO bK7V+qh1pnAVSmiNnWaE2hNUkZz+xG35f3jfY= MIME-Version: 1.0 Received: by 10.52.89.78 with SMTP id bm14mr13056663vdb.22.1326989978336; Thu, 19 Jan 2012 08:19:38 -0800 (PST) Received: by 10.220.191.130 with HTTP; Thu, 19 Jan 2012 08:19:38 -0800 (PST) In-Reply-To: <4F183E92.9060300@gmail.com> References: <39C592E81AEC0B418EAD826FC1BBB09B25031D@mailgate> <4F183E92.9060300@gmail.com> Date: Thu, 19 Jan 2012 08:19:38 -0800 Message-ID: From: Freddie Cash To: Volodymyr Kostyrko Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-fs@freebsd.org" Subject: Re: zpool import reboots computer X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 16:19:39 -0000 On Thu, Jan 19, 2012 at 8:02 AM, Volodymyr Kostyrko wrote: > Martin Ranne wrote: >> >> I had a failure in one server where i try to determine if it is memory or >> cpu. It shows up as memory failure in memtest86. The result is that it >> managed to damage the zpool which is a raidz2 with 6 disks. >> >> If I boot from a FreeBSD 9.0-RELEASE usb stick and import it with zpool -f >> -R /mnt/zroot zroot it will reboot the computer. I have also tried to import >> it in another computer which is running 9-STABLE with the same result. On >> the second computer I used zpool -f -R /mnt/zroot "zpool-id" serv06zroot >> >> Can I get some help on how to be able to debug this and in the end be able >> to import it to repair it. >> >> Data for the second computer can be found attached. The disks in question >> are da0 to da5 in this. > > > Try importing pool in read-only mode. AFAIR: > > zpool import -f -o readonly=on -R /mnt/zroot zroot And consider -F instead of -f. You don't want to force the import, and possibly cause more damage. -- Freddie Cash fjwcash@gmail.com