From owner-freebsd-questions@FreeBSD.ORG Thu Apr 4 15:49:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C243D8E3 for ; Thu, 4 Apr 2013 15:49:29 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 4B003B6C for ; Thu, 4 Apr 2013 15:49:29 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id er20so2645680lab.18 for ; Thu, 04 Apr 2013 08:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=1ovVQ+rIWDN2nhRDu8uXriHVPAkONm1s1Ot1kUYnldM=; b=oxc0CfylumxRjA3I2YkJyQu2HxlKsXBwTC2hyuX0USJgguqKgd+JNyp+x63dmWyylF 4t5o8DDN3+e/qWmM2tCcO7ODObpaAJPUXakD3g2HdmU9wcynzv3h9pPs6Q9YE4WPzD8D QEnLztWd3vJyJvVeh+vuD3LjpoYLofYfL7GcryWE70t8kPnaWXwKuJ9aZK52AYTI8MWS Dc/3kfOq81BGXUQDZgMbiUEVvF5kmMPL08Pkw0F611OoBf9pa1UonMNciE6Ina/F+OkG Cx2MQP/QXYr3GNU1TLpwYGEz/rZQQ0RE5cM+i5fAvftxovV7B8b9Y+vfOZpIUUas6sCK i/zQ== X-Received: by 10.112.9.10 with SMTP id v10mr3891395lba.47.1365090568049; Thu, 04 Apr 2013 08:49:28 -0700 (PDT) Received: from [192.168.1.128] ([91.196.229.122]) by mx.google.com with ESMTPS id f7sm173512lbj.13.2013.04.04.08.49.27 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Apr 2013 08:49:27 -0700 (PDT) Message-ID: <515DA106.7040101@gmail.com> Date: Thu, 04 Apr 2013 18:49:26 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17 MIME-Version: 1.0 To: Beeblebrox , freebsd-questions@freebsd.org Subject: Re: [ZFS] recover destroyed zpool - what are the available options? References: <1364711810171-5800299.post@n5.nabble.com> <1365002276096-5801335.post@n5.nabble.com> <515C4B14.80300@gmail.com> <1365004246715-5801356.post@n5.nabble.com> <1365052102377-5801470.post@n5.nabble.com> In-Reply-To: <1365052102377-5801470.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 15:49:29 -0000 04.04.2013 08:08, Beeblebrox пишет: > I had a second pool on another partition of the same HDD, which was in the > same degraded state as the bsdr pool. The data on that pool had been > backed-up previously. I decided to try the export & re-import method on that > pool (-Z gives message: invalid option 'Z'). Result: Sorry, that was -X aka extreme_rewind. > # zpool export oldpool > # zpool import -D -f -R /mnt -N -F -n oldpool > Now the pool just disappears. > # zpool list -> does not show oldpool > # zpool import -> no pools available to import > > So the export & re-import method is NOT the way to do this. Option -D was intended only for deleted pools, not exported ones. Try `zpool list -D` or `zpool import -D`. -- Sphinx of black quartz, judge my vow.