Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

started preclear on wrong device - help needed rescuing content

Featured Replies

I am quite new to Unraid. My current setup contains 3x4TB & 2x8TB HDDs plus a 500GB Cache SSD and a 1TB NVME SSD.

 

One of the 4TB HDDs and the 1TB SSD were not part of the array yet.

The 1TB was passed through to a Windows VM. On it there is an NTFS partition (after an EFI partition and some 100MB spare space) holding two vhdx files, both holding a Windows installation and being bootable into from the Windows bootloader (screenshot only shows one of the VHDXes being mounted in Windows, the "virgin" one at the time being booted from):

grafik.thumb.png.e323cdfdc0b2fee91a6e898d4627d250.png

The reason I did it like this and not, say, put the virtual disks in the domains share, is that I wanted to still be able to natively boot into these Windows systems. The 1TB SSD was precleared before using it for passthrough, so there shouldn't be any other data on it.

One of the VHDXes was a clone of my previous Windows installation I ran natively from the 500GB SSD. There is data on there that I didn't yet save elsewhere. The other was a relatively new Windows installation which would be no big deal if lost. I believe the fresh install was on the SSD first, so it might be in the front of the space if that's how it works.

 

grafik.thumb.png.1ed0a794fd04ee25482a55dfe989c6ce.png

 

What I wanted to do: start preclear for the last remaining 4TB HDD (that process is now running on the screenshot above).

 

What I did instead: started preclear (without pre-read of course, because who has time for that) on the 1TB SSD. While at the time even running Windows off of the virgin Windows VHDX on the 1TB SSD. While being with my mind elsewhere. That's not a good idea. Lesson learned. (Still, @gfjardim, if you read this, thanks for the preclear plugin but please disable preclearing start for certain "unassigned devices", like for instance those marked as "Pass Thru" or those currently passed through but not marked like that or even force users to format the device manually first and only start preclear if there is a single empty partition or so. And/or give the user a view of the partition table and let them confirm that they want to override these partitions. That would have saved me from my own stupidity). This is what I started:

 

grafik.thumb.png.93ba3556e63f24435a4cd9f223321ab6.png

 

So before I realized my mistake, and cancelled the process, the dd ran for like a few seconds.

 

Windows still ran for a bit but certain things stopped working and I had to "force stop" the VM. Afterwards, it wouldn't boot anymore.

 

This was the preclear log after I pressed the big red emergency button:
grafik.thumb.png.c8e1f7d88665b3745f04205aa57a55a5.png

 

This is approximately what I assume happened, and a sketch of the device situation:

grafik.thumb.png.4cc2c22c095adacd4e485bc0b90752fb.png

 

Of course, the first thing I did was create a backup of the drive with dd before testing my luck with testdisk.

 

But until now, I wasn't able to restore the partition with testdisk. The analysis finds some partitions, but none that have the label that I am expecting or where I am able to "list files". Again, I am looking for an NTFS partition with two huge VHDX files on it.

grafik.png.dd72f4ddf4bf9db3ecccb6fd8becc0e4.png

grafik.png.6d8739040c79e4355b49f81546bc3ccc.png

 

How do I get my disk images, especially the one with the non-virgin Windows installation, back?

 

Any help is much appreciated.

 

 

Edited by nastard

  • Author

No one have any ideas?

  • Author

RecuperaBit to the rescue...
grafik.thumb.png.ce1391a1186b629bd2d79dff35b2e7f6.png

 

grafik.png.c06acaff226338cc64a78514c3e96bd3.png

 

fingers crossed...

 

UPDATE:

This only got me the "virgin" Windows VHDX back so far 😕grafik.png.d3560517e3ac8c98cf816f40719d5a17.pnggrafik.thumb.png.608b32255dd9a52057fc36b8fc85160a.png
 

 

Edited by nastard

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.