Help - Restoring zpool

morty

Cadet
Joined
Jun 9, 2012
Messages
7
Long story short, I deleted all of my zvols (datasets?) and then destroyed the zpool but I didn't have the checkbox enabled to wipe the disks. I'm hoping there is some way to recover this? I didn't have snapshots or backups.

Any help would be appreciated. Thanks.
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
start with zpool import at the CLI... do you see something there to import?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
And if zpool import does not show anything, (it probably won't), try zpool import -D

Please note you don't want to import the pool yet. Their is a way to roll back some of the last transactions, but it's one way. Whence the transactions are rolled back, if their were other options, they are gone.

If it is critical to restore the data, then make a complete copy of the disk(s) in raw copy. Then you can retry the recovery as many times as needed.
 
Top