From owner-freebsd-fs@freebsd.org Sun May 29 14:31:30 2016 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62761B51C73 for ; Sun, 29 May 2016 14:31:30 +0000 (UTC) (envelope-from esamorokov@gmail.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D98E14C3 for ; Sun, 29 May 2016 14:31:30 +0000 (UTC) (envelope-from esamorokov@gmail.com) Received: by mail-it0-x231.google.com with SMTP id e62so22141391ita.1 for ; Sun, 29 May 2016 07:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=rdga9jo8O2ohGrmI/+49dDJVcMjm1Dt0S7cEbMgwMAY=; b=c/QxXkhq/F8fEF48fkGpUWJozGTGGPZ+IVlFKAyrturY+oreC98QcyM1CTUYEMKHIT TyvUaIZYBHZO0rjssm2Bq/UpUs89QRxoNjS7yrBkdzWFWOp+9YY6h4OD6WayZm9IdIdr 2NTrHE7WSqILV3u1XpmXL5KjyF1vMPxPTFEfPpc/RFsslfRnxlJHT0VWHyoB+zE5Ji7u vxAXPLyK6mMaCWu+ymhnv6A/X8d9unqVxTn6oy6LTmPVsWKJEw0C0AU286/mysZ4aZdt UaUlaiq7G+kEsBJ85Xn0yXPFHpQzh4mHLntN4FDzlacxTiGFazihMSE32FW56q88TPVG s+7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=rdga9jo8O2ohGrmI/+49dDJVcMjm1Dt0S7cEbMgwMAY=; b=JufDeEp6wok5vjwFjr1k+YMbK9nPiZAHFX4fLNl2PWaPDCGxtZY566W55HUq+QmAkz ekz8RzO/TWmUDLmjwafIcs2wxhPemM1mMIKlR0vhXq9Tf97+xVApoyheNU0XdBeiPD/K pg1rUokxX+E92e09zNVZiJVzP50NubNKs956seDWkl9skmoTGHR9i8Xeq0kuPGx2e+cQ 84IJ6z5kcrVhpUeNmoI79vNI7rVWi/hJb5UaDUc+yAmEKM7HnAufSld/79FY7TTFei/d KTyHVLHMYLT7raO6aZMvQkpd3ChjFQMppJ6n0ty7RlpdWV1X2Qx6PDNFcXjb1A+C79DK mQxw== X-Gm-Message-State: ALyK8tJh98R9BczLEHWow8Td3JnIz2R8c0T63A2AqCqlEA+zFVz4dQ4pcV5haywmGTzmopMmmVBIHXQp03Glfw== MIME-Version: 1.0 X-Received: by 10.36.108.76 with SMTP id w73mr5106908itb.63.1464532289394; Sun, 29 May 2016 07:31:29 -0700 (PDT) Received: by 10.107.154.16 with HTTP; Sun, 29 May 2016 07:31:29 -0700 (PDT) In-Reply-To: References: Date: Sun, 29 May 2016 07:31:29 -0700 Message-ID: Subject: Re: ZFS - RAIDZ1 Recovery (Evgeny Sam) From: Evgeny Sam To: BlackCat Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 14:31:30 -0000 I clonned the drives as follows: 1. Created bit-to-bit images with R-Studio (I was hoping to use it to restore the data) 2. Restored the images to the new drives On Sun, May 29, 2016 at 6:31 AM, BlackCat wrote: > 2016-05-29 2:07 GMT+03:00 Evgeny Sam : > > I ran the command "zpool import -fFn 2918670121059000644 zh_vol_old" > > amd it did not work. > > > > [root@juicy] ~# zpool import -fFn 2918670121059000644 zh_vol_old > > [root@juicy] ~# zpool status > > no pools available > > > > I think it did not work, because I am running it on the clonned drives, > > which have different GPID's, please correct me if I am wrong. > > How do you clone your drives? Do you copy whole drive content from > first sector to last including GPT label and swap partition or do you > manually create partitions and then copy only zfs partition content to > the corresponding partition on fresh drive? > > -- > BR BC >