From owner-freebsd-fs@FreeBSD.ORG Thu Jan 19 16:02:29 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 E719E1065672 for ; Thu, 19 Jan 2012 16:02:29 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7870C8FC22 for ; Thu, 19 Jan 2012 16:02:29 +0000 (UTC) Received: by werg1 with SMTP id g1so97899wer.13 for ; Thu, 19 Jan 2012 08:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=t/WcqguswRSWk8D9VCtUjdT45BG3HtnxRR/gi+MD57g=; b=oz2L1osPbq2Jw6ixd8DhuAK1aSE5yEOxOazW1llJQXAPq38GQZz8VHj2DemxqWy+7m reOyvEEkXvRJVUSUQ1M7NqC3cFwoNy8/3iCxBTcdgidRtCOpHfXQerZxZCU7momFgIrg Gv/ln774K+GMjX6EHOTrO4QW6L7tCa57/2k2g= Received: by 10.216.138.219 with SMTP id a69mr836132wej.6.1326988948422; Thu, 19 Jan 2012 08:02:28 -0800 (PST) Received: from green.tandem.local (236-146-201-46.pool.ukrtel.net. [46.201.146.236]) by mx.google.com with ESMTPS id bu13sm31936824wib.6.2012.01.19.08.02.27 (version=SSLv3 cipher=OTHER); Thu, 19 Jan 2012 08:02:27 -0800 (PST) Message-ID: <4F183E92.9060300@gmail.com> Date: Thu, 19 Jan 2012 18:02:26 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0.1) Gecko/20120110 Firefox/9.0.1 SeaMonkey/2.6.1 MIME-Version: 1.0 To: Martin Ranne References: <39C592E81AEC0B418EAD826FC1BBB09B25031D@mailgate> In-Reply-To: <39C592E81AEC0B418EAD826FC1BBB09B25031D@mailgate> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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:02:30 -0000 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 -- Sphinx of black quartz judge my vow.