Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Please Help - Deleted VMDK accidentially

Joined
Sep 9, 2018
Messages
2
Thanks
0
#1
I'm a dead man walking. I had 2 similar vmdks of 3tb, deleted the wrong one. Family Photos, ect. of course.
No back up but i was sure i had snapshots turned on in the freenas. Nope of course not. (corrected that since).

Fortunately? that vm was the only vm on a mirrored set of 4TB hard drives.
Discovered mistake within 30 seconds. and pulled drives from freenasNAS. (shut it down first)

so i have 2 drives that were/are a zfs volume. iSCSI target to my vmware 6.7 server. VMDK in question was possibly thin provisioned.

Can someone suggest a data recovery company that would be able to deal with this mess? I'm in way over my head. (obviously)


Mike
 

Chris Moore

Super Moderator
Moderator
Joined
May 2, 2015
Messages
9,350
Thanks
2,984
#2
I'm a dead man walking.
You have heard the saying that goes, 'if you can't say anything nice, don't say anything at all"?
I would still like to say I am sorry you have had this misfortune.

For next time, I would suggest storing your important documents directly on ZFS instead of inside a VMDK.
 

danb35

FreeNAS Wizard
Joined
Aug 16, 2011
Messages
10,339
Thanks
3,644
#3
I believe it's possible to roll a pool back to an earlier state, but I have no familiarity with how. However, I'd recommend exporting the pool immediately in order to preserve its state.
 

Redcoat

FreeNAS Expert
Joined
Feb 18, 2014
Messages
1,224
Thanks
314
#5

HoneyBadger

Mushroom! Mushroom!
Joined
Feb 6, 2014
Messages
1,899
Thanks
621
#6
I think this is where the kids say "oof."

The first step here is to acquire two more 4TB HDDs, because you will want to boot onto a system with your current two drives unmounted, and clone the entirety of the disks at the bit-level using something like dd that will just blindly grab every bit and plop it on the new targets.

Your best bet without spending exorbitant amounts of money is to look at this from the VMFS level rather than ZFS. Are you 100% sure you deleted the entire VMDK flat file and not just the pointer? If you have only removed the pointer and the vmdk-flat file is still there, there is a VM KB that can assist with recreating the missing pointer. Failing that, you can contact a data recovery service like OnTrack (no affiliation, just pulling results from a quick search) and exploring if they will quote/assess for free. Remember; you haven't destroyed a ZFS object, but rather a VMFS object on top of ZFS.

But step zero should be "clone the drives at the bit level and only ever work on a copy"
 
Top