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

[-- Attachment #1 --]

> On Aug 23, 2017, at 15:27, Chris Ross <cross+freebsd@distal.com> wrote:
> 
>> 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 “zpool import -N [-F] -T 7428 tank”.  With or without a -F argument, I get:
>>> 
>>> cannot import 'tank': one or more devices is currently unavailable
>>> 
>>> However, zpool import shows all of its devices ONLINE, and I only exported it a short while ago.  Is there something I’m missing that I can provide to proceed with effectively importing an earlier state of this pool?
>> 
>> Available transactions can be listed with:
>> 
>> zdb -ul <device>
> 
>  Using zdb -ul, I see no tag’s around where I was aiming (7428), but I do see three in the 7300’s.  But, trying “zpool import -N -T 7375 tank” produces the same error.  As with the other two txg’s (7378, 7381) I saw.
> 
>  Any other ideas, since it looks like “available transaction” isn’t my [only] problem?

  Okay.  Well, I tried dropping to single-user, rebooting off of a CD, and all attempts to “zpool import -T NNNN” give me that same error.  Without any other ideas, I’m going to punt back to “nuke it from orbit” and restore the full backup again.  Takes 40+ hours, so was hoping to avoid it with some trickery, but, a recoverable situation.

  Thanks.

                                       - Chris

[-- Attachment #2 --]
-----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-----

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