From owner-freebsd-fs@FreeBSD.ORG Sun Jun 1 14:21:59 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 718D3CBF for ; Sun, 1 Jun 2014 14:21:59 +0000 (UTC) Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3278320D7 for ; Sun, 1 Jun 2014 14:21:58 +0000 (UTC) Received: by mail-qg0-f49.google.com with SMTP id a108so9045548qge.36 for ; Sun, 01 Jun 2014 07:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtual.org.ua; s=google; h=mime-version:from:date:message-id:subject:to:content-type; bh=tzudZ1NbBCIy1dfOIbhONBk4j6JVlJgRoHMsFdLIo4s=; b=jH4VqSJZBycQtcl+PecKDSAgOqltrCGxXTma2jfF2Vj9r/85Yux/0/vyy+gH5Qes8g ku6VKKWbamNkzontklbkg7hGtqLpfLNau5ZJTkVw3vKsX3L82NNrf448GmCVk8XGUh2f AWHSzhXlhzasttJK2uPf6BNKIzgHIkWsFfFWQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=tzudZ1NbBCIy1dfOIbhONBk4j6JVlJgRoHMsFdLIo4s=; b=ec24P1GGLBd64mLyuJf9SzheOQgN80pJ2XPhnN2cRxCau9WzBf4xiqupgVjBgbEJeu LNKrjx3u6ycMhPMhH4u48/sJNwHZK9mcnZu9K9CHxdK9k0zUSOViD3AbG8bl5UGAkYF9 V1gwFTTDmRzU1G9+tmKGAT5ZT8QXLEv0lbBGaqqxMOBe05mI0sPBFMIMsnVc8hURuEei HjGcuENn8ObYpE0rfdBH1YmLWENZHMTVkJaJ/btkxyYbFj2VN2IppCeOjojZVZLwiHNJ RnSx6MfIk92u088I30gHXCiDjC2OGER8Z07ojrIHLZ0hQFAH9Vu+Pc/K4xtF5gJo4bhV dHXQ== X-Gm-Message-State: ALoCoQmdRTlp1UrcQ48wLi26X1y+sEOcNrVrll3DZYcxC6+k7u+mfiilOiOTKycP7HpSwFMQZTbV X-Received: by 10.224.166.9 with SMTP id k9mr40404130qay.25.1401632517641; Sun, 01 Jun 2014 07:21:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.92.110 with HTTP; Sun, 1 Jun 2014 07:21:37 -0700 (PDT) From: Pavlo Greenberg Date: Sun, 1 Jun 2014 17:21:37 +0300 Message-ID: Subject: Recover ZFS pool after re-initialization To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 14:21:59 -0000 Hello. Is it possible to recover the data from a pool, that was accidentally destroyed? I erroneously ran the wrong command from my bash history and instead of "zpool import" did "zpool create". I didn't write anything on this pool after that. The history of the pool is empty now and I can't roll-back what I did. Is there any way to bring the previous pool back or even somehow restore the data it contained? Peculiar situation, I know, but sometimes the most foolish errors are the most fatal.