Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2017 13:39:53 -0400
From:      Chris Ross <cross+freebsd@distal.com>
To:        Volodymyr Kostyrko <arcade@b1t.name>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: zfs import from old TXG
Message-ID:  <A09DCE6B-715D-4752-A618-B4071AE8F684@distal.com>
In-Reply-To: <EDD12C6C-21B8-4FFA-933D-4DF410ACAF25@distal.com>
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> <FAE448FC-9A3F-43EE-8DED-963D51E6E158@distal.com> <bdece15b-d203-79df-2d10-4fb81154dd4f@b1t.name> <EDD12C6C-21B8-4FFA-933D-4DF410ACAF25@distal.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <cross+freebsd@distal.com> =
wrote:
>=20
>> On Aug 23, 2017, at 14:31, Volodymyr Kostyrko <arcade@b1t.name> =
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 <device>
>=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A09DCE6B-715D-4752-A618-B4071AE8F684>