All data gone. Accidential zfs destroy

Status
Not open for further replies.

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
2Gb is the default size for the swap partititon.
 

lancee

Dabbler
Joined
Feb 6, 2014
Messages
15
so FreeNAS creates a SWAP Partition for every zpool on every disk in a RAID1. I mean not the root disk where I boot FreeNAS from.
 

lancee

Dabbler
Joined
Feb 6, 2014
Messages
15
update: cloned both disks and inserted in FreeNAS box. tried "zdb -u -l /dev/ada0" and got some uberblocks listed.
I could get back to a state with the -T option of zpool import but only to states in the past and AFTER the destroyed dataset :-(
Next thing - try to find uberblocks on the disk which are not listed via zdb and try to get back to this state.
 

lancee

Dabbler
Joined
Feb 6, 2014
Messages
15
Does anybody know what this error means? All drives are there - just try to rollback to a TXG state.
/mnt# zpool import -N -o readonly=on -f -R /mnt -F -T 3778735 datastore2
cannot import 'datastore2': one or more devices is currently unavailable
 
Joined
Jun 25, 2013
Messages
41
Exactly what i am seeing as well - looking for something to solve this.

Maybe DD'ing the disks and hope for a future ZFS recovery tools is the way to go? Kicking myself!
 
Status
Not open for further replies.
Top