From owner-freebsd-fs@FreeBSD.ORG Fri Apr 1 07:53:59 2011 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 C58DC106566B for ; Fri, 1 Apr 2011 07:53:59 +0000 (UTC) (envelope-from numisemis@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 524F88FC16 for ; Fri, 1 Apr 2011 07:53:58 +0000 (UTC) Received: by wyf23 with SMTP id 23so3231427wyf.13 for ; Fri, 01 Apr 2011 00:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=KIEY3LjT4CBQkT+liyMSo9gEhmyRfP9qnuQlkHKYaio=; b=UC3oujjAOyefh6zMxTfXq/NkBqk28N6oozeOyoQFKObdmdQfCeWY7NyV0DaopmQKpC x3kenzrzu+HwLTkKo0bz+ZkEKgUiuHa5P1SiYI5VLkmaYiPPoAAcZNzo2AVt1qsNPXMm Oyw6AcHr3zpEq3A8ZqvFo35KLE0Gj5Io11Lyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=EHuB/FmZdede6kvSkRL5FypBrIvGKS+jpXgWpCDUx0CpNU4Y54Km680Z56saAinQgc WkoG+vWmGAuvwrWj58JG7qD2oB+BKLKdDiolv9Wv6o1LrhPoUYvnZPixvAfmvm1fTuOR TLn9Jh7XGYxKibYYouFeRCQdhXWA/GrgQWuSA= Received: by 10.227.58.72 with SMTP id f8mr3848173wbh.181.1301644437377; Fri, 01 Apr 2011 00:53:57 -0700 (PDT) Received: from sime-imac.logos.hr ([213.147.110.159]) by mx.google.com with ESMTPS id o23sm1104341wbc.27.2011.04.01.00.53.56 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 00:53:56 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: =?iso-8859-2?Q?=A9imun_Mikecin?= In-Reply-To: <20110401013603.GA31034@icarus.home.lan> Date: Fri, 1 Apr 2011 09:53:52 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <84DF4838-CE43-430E-8C3A-4CC7881E44BD@gmail.com> References: <20110401013603.GA31034@icarus.home.lan> To: Jeremy Chadwick X-Mailer: Apple Mail (2.1084) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS failed after hard power off 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: Fri, 01 Apr 2011 07:53:59 -0000 On 1. tra. 2011., at 03:36, Jeremy Chadwick wrote: > On Fri, Apr 01, 2011 at 12:36:47AM +0000, Piotr Paczynski wrote: >>> v28 was committed to -current on Feb 27th, so your snapshot is too >>> old. You should be able to fix the pool with OpenIndiana liveDVD or >>> liveUSB >>> http://openindiana.org/download/ >>=20 >> OK, after fiddling for like 4 hours I managed to run OpenIndiana >> LiveDVD (wouldnt boot up which eventually turned out to by my KVM >> fault) and then get it to see my 3ware 9650 arrays (needed to install >> drivers from 3ware). The problem is my corrupted pool is not visible >> by zpool command. Now, I have two pools on the server: zroot and >> backup. The backup is visible (and not faulted) but zroot is not >> visible under Solaris - this is the one I have problems with, and = also >> use as boot disk in FreeBSD: >>=20 >> root@openindiana:~# zpool import >> pool: backup >> id: 8416389847782759507 >> state: ONLINE >> status: The pool is formatted using an older on-disk version. >> action: The pool can be imported using its name or numeric = identifier, though >> some features will not be available without an explicit 'zpool = upgrade'. >> config: >>=20 >> backup ONLINE >> mirror-0 ONLINE >> c4t1d0p0 ONLINE >> c4t2d0s2 ONLINE >> root@openindiana:~# zpool import zroot >> cannot import 'zroot': no such pool available >> root@openindiana:~# zpool import -fFn zroot >> cannot import 'zroot': no such pool available >=20 > I believe the command here is wrong, and that you should be using = "zpool > import 8416389847782759507" or "zpool import 8416389847782759507 = zroot". > I've seen many cases where using the pool name doesn't work. He has two pools: backup and zroot. Only backup is visible. So he shouldn't do as you suggested, because it will rename his backup = pool to zroot, which will bring the confusion, because it is not the = original zroot pool. To be able to import his original zroot pool, it needs to be visible to = "zpool import" as a first step.