Recover ZFS pool after re-initialization
Steven Hartland
killing at multiplay.co.uk
Sun Jun 1 15:44:26 UTC 2014
----- Original Message -----
From: "Pavlo Greenberg" <dog at virtual.org.ua>
To: <freebsd-fs at freebsd.org>
Sent: Sunday, June 01, 2014 3:21 PM
Subject: Recover ZFS pool after re-initialization
> 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.
I would guess not if you did a full create, but I'm very suprised that
worked as without specifying the additional device parameters the create
should fail so its rather hard to confuse the two.
In addition I would also expect create to check for an already existing
pool on the devices before allowing you to proceed. If thats not the case
it would be a worth while check to add IMO.
Regards
Steve
More information about the freebsd-fs
mailing list