Date: Thu, 5 Jun 2014 09:35:03 +0100 From: krad <kraduk@gmail.com> To: Steven Hartland <killing@multiplay.co.uk> Cc: FreeBSD FS <freebsd-fs@freebsd.org> Subject: Re: Recover ZFS pool after re-initialization Message-ID: <CALfReyf6iBnqoswoDcUVKEbDqT_Ecct1hcR6APFz-kqg3uBMHg@mail.gmail.com> In-Reply-To: <4F8352CFDC8643D0AB6F999E4A87847D@multiplay.co.uk> References: <CAPGd3h09Kdp3=jhiz2FdDbH9_w8RN8FV-NY0sPDoe==pwC7nMQ@mail.gmail.com> <4F8352CFDC8643D0AB6F999E4A87847D@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
try and import -D before you do anything else, you might be lucky, very lucky On 1 June 2014 16:36, Steven Hartland <killing@multiplay.co.uk> wrote: > ----- Original Message ----- From: "Pavlo Greenberg" <dog@virtual.org.ua> > To: <freebsd-fs@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 > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyf6iBnqoswoDcUVKEbDqT_Ecct1hcR6APFz-kqg3uBMHg>