From owner-freebsd-fs@freebsd.org Thu Aug 24 17:40:27 2017 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 9C170DE4CB9 for ; Thu, 24 Aug 2017 17:40:27 +0000 (UTC) (envelope-from cross+freebsd@distal.com) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.pix.net", Issuer "Pix.Com Technologies LLC CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46C419B1 for ; Thu, 24 Aug 2017 17:40:26 +0000 (UTC) (envelope-from cross+freebsd@distal.com) Received: from mail.distal.com (mail.distal.com [IPv6:2001:470:e24c:200:0:0:0:ae25]) (authenticated bits=0) by hydra.pix.net (8.16.0.19/8.15.2) with ESMTPSA id v7OHe15v041088 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 24 Aug 2017 13:40:09 -0400 (EDT) (envelope-from cross+freebsd@distal.com) Received: from [IPv6:2001:420:2710:1330:4019:4cd8:dbbd:e2e3] ([IPv6:2001:420:2710:1330:4019:4cd8:dbbd:e2e3]) (authenticated bits=0) by mail.distal.com (8.15.2/8.15.2) with ESMTPSA id v7OHdxwi075873 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 24 Aug 2017 13:40:00 -0400 (EDT) (envelope-from cross+freebsd@distal.com) From: Chris Ross Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_D0E70563-5EA7-45A5-BEBE-06AB66BC8CD5"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: zfs import from old TXG Date: Thu, 24 Aug 2017 13:39:53 -0400 In-Reply-To: Cc: freebsd-fs@freebsd.org To: Volodymyr Kostyrko References: <3408A832-BF2E-4525-9EAC-40979BA3555B@distal.com> <20170813000323.GC95431@server.rulingia.com> <5B508AED-4DAC-42E4-8C56-4619C0D1A1C6@distal.com> <035BFBCB-BA43-4568-89E9-8E8DCDFAA8CA@kraus-haus.org> <928F1F16-0777-4D66-BD27-8224DF80363C@distal.com> <06EEEF86-E466-44EA-86F1-866DA32DD92D@kraus-haus.org> <1d3771a3-9c3a-1af9-9c48-032a01629630@b1t.name> X-Mailer: Apple Mail (2.3273) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.distal.com [IPv6:2001:470:e24c:200:0:0:0:ae25]); Thu, 24 Aug 2017 13:40:00 -0400 (EDT) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2017 17:40:27 -0000 --Apple-Mail=_D0E70563-5EA7-45A5-BEBE-06AB66BC8CD5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 23, 2017, at 15:27, Chris Ross = wrote: >=20 >> On Aug 23, 2017, at 14:31, Volodymyr Kostyrko = wrote: >>> Looking back at this, and trying to recover some data without = multi-day clean/restore cycles. I want to import my pool to an earlier = txg. I used zfs history to log the actions, and am trying to use = =E2=80=9Czpool import -N [-F] -T 7428 tank=E2=80=9D. With or without a = -F argument, I get: >>>=20 >>> cannot import 'tank': one or more devices is currently unavailable >>>=20 >>> However, zpool import shows all of its devices ONLINE, and I only = exported it a short while ago. Is there something I=E2=80=99m missing = that I can provide to proceed with effectively importing an earlier = state of this pool? >>=20 >> Available transactions can be listed with: >>=20 >> zdb -ul >=20 > Using zdb -ul, I see no tag=E2=80=99s around where I was aiming = (7428), but I do see three in the 7300=E2=80=99s. But, trying =E2=80=9Czp= ool import -N -T 7375 tank=E2=80=9D produces the same error. As with = the other two txg=E2=80=99s (7378, 7381) I saw. >=20 > Any other ideas, since it looks like =E2=80=9Cavailable = transaction=E2=80=9D isn=E2=80=99t my [only] problem? Okay. Well, I tried dropping to single-user, rebooting off of a CD, = and all attempts to =E2=80=9Czpool import -T NNNN=E2=80=9D give me that = same error. Without any other ideas, I=E2=80=99m going to punt back to = =E2=80=9Cnuke it from orbit=E2=80=9D and restore the full backup again. = Takes 40+ hours, so was hoping to avoid it with some trickery, but, a = recoverable situation. Thanks. - Chris --Apple-Mail=_D0E70563-5EA7-45A5-BEBE-06AB66BC8CD5 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJZnw9sAAoJEPFBDnXvoNg01TAQAJxIrSqhwGHReikkBR4BHurv WqyYoJOoPeqAPZNLk4EqDk84JMfXYP/Ga44WB4QN0ll+g2MxxKNYpc06uUodspZf J4OxmyTZt3AEcKHAD22IhTxvDndv4l5A+fILzXsyA3DU5u+4aFlYoqkbt+0Zguzu CifuWjwJQDec0xB0vCsP1bs6w9tUNxx1nmQU3l2WCqqCeTGfBJQ3nPPbodbT/WSs kksgnqCpAY2D1SnoZUvms+5OR0oI/AU6xrjcd7bL0HAg24Pa+taGcm8EEzRrKIO9 k0/klTUEVy3u0IebOsg8XnM+aQfPoL3V7webfPRf8rDARM9gDOwx6Ybj1Nr6dNo2 KtF18WAxD2l3gIGtFg5HUJyIbpXX+A8PeedtMY2TzkbeaLIZCvz9ub6JlpKhn13I p//O3mtNmLTftqJwk3mV7t/n9NyIAIAC0RqvWOWaEuzgXYMlxvZpmIEy2fpx8tFu NOAuum+cwn8vOuvuZFy6j5vOJyxUOyBVkWiR6uGhs2HIi5/A6weWA4T1gCHieU1C DY2G9bUSlkmAx8bo+S115xUHTw7v5h965UdGr/3Nq6ldVCLehknYfeIlkrBb1Q1b OWbQQQlktjL4dQ0ptFL9DEvbqIVk5QUDbXZJrGqV0274XIt3eePb7r9rGEgw3L/n vQjbx5HAEdDDR+/aNirO =CMJx -----END PGP SIGNATURE----- --Apple-Mail=_D0E70563-5EA7-45A5-BEBE-06AB66BC8CD5--