• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Recovering "unallocated" data

Joined
Oct 3, 2009
Messages
43 (0.01/day)
System Name Supersmartladan
Processor Core i5 4670K
Motherboard Asus Maximus VI HERO
Cooling Scythe Kotetsu
Memory Crucial 2*8GB 1600Mhz CL9 1.35V
Video Card(s) XFX RX480 RS 4GB
Storage 256GB Samsung 830 SSD and 3*4TB Seagate ST4000DM000 in RAID1+Backup
Display(s) AOC AG271QX 27" 1440p 144Hz TN AdaptiveSync + Dell Ultrasharp U2415 1920*1200 60Hz IPS
Case Fractal Design Define R4
Power Supply EVGA G2 650W
Mouse Zowie EC-1A
Keyboard Ozone Strike Battle Red
Software Winbloat 7
I had a RAID 1 set up and installed a few new components in the system. Then the BIOS changed SATA mode to AHCI for some f*****g reason, and my disks fell out of the array. So I tried simply setting it back to RAID and re-creating the array, but now they just show up as unallocated data in the disk manager.

I do have a backup, but it's a week old, and I'd prefer not to lose the new data. Is there any way of retrieving it?
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.94/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
There must be something else going on because just about every modern RAID implementation whether it's hardware, fake-raid, or software RAID, all store array information on the RAID disks which is how you can lose a controller and be able to replace it and still have your array remain intact. None of array information is actually stored in the BIOS. Switching back from AHCI back to RAID should still be able to detect the RAID without a problem if there was nothing wrong with the disks. If you re-initialized the RAID, all of that RAID configuration is gone and your data could be anywhere between intact to irretrievable. If you haven't written anything else to the disks yet or haven't done a full initialization, you may be able to use certain tools to retrieve it but, I suspect that re-creating the array could have blown it all away to a point that's non-recoverable. Or at the very least, the partition table has been destroyed and there could be questions as to if the file system itself is actually intact.

I think your best option would be to use Linux and DD (or ddrescue if a drive is failing,) on one or both of the drives so you can recover it later if it's even possible (if you have the disk space available at least,) then restore your backup so you can at least get going as quickly as possible.
 
Joined
Oct 3, 2009
Messages
43 (0.01/day)
System Name Supersmartladan
Processor Core i5 4670K
Motherboard Asus Maximus VI HERO
Cooling Scythe Kotetsu
Memory Crucial 2*8GB 1600Mhz CL9 1.35V
Video Card(s) XFX RX480 RS 4GB
Storage 256GB Samsung 830 SSD and 3*4TB Seagate ST4000DM000 in RAID1+Backup
Display(s) AOC AG271QX 27" 1440p 144Hz TN AdaptiveSync + Dell Ultrasharp U2415 1920*1200 60Hz IPS
Case Fractal Design Define R4
Power Supply EVGA G2 650W
Mouse Zowie EC-1A
Keyboard Ozone Strike Battle Red
Software Winbloat 7
There must be something else going on because just about every modern RAID implementation whether it's hardware, fake-raid, or software RAID, all store array information on the RAID disks which is how you can lose a controller and be able to replace it and still have your array remain intact.

I think your best option would be to use Linux and DD (or ddrescue if a drive is failing,) on one or both of the drives so you can recover it later if it's even possible (if you have the disk space available at least,) then restore your backup so you can at least get going as quickly as possible.
Well, I did update my BIOS a while back, which I've read is a common reason disks fall out of arrays, but mine didn't, so I assumed it was fine.

Using DD seems time-consuming. It seems like there might be programs that could do this for me. I found EaseUS Partition Master and Partition Wizard. Is there a good reason for not using these programs?
 

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,472 (4.23/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
There must be something else going on because just about every modern RAID implementation whether it's hardware, fake-raid, or software RAID, all store array information on the RAID disks which is how you can lose a controller and be able to replace it and still have your array remain intact. None of array information is actually stored in the BIOS.
I suspect that re-creating the array could have blown it all away to a point that's non-recoverable

Very much this. Every time I've done something and switched the SATA mode back to AHCI from RAID, simply changing back to RAID mode automatically picked the array back up OR I've had to go into the RAID interface and use the recover option, not recreate the array. When you create an array with disks, it doesn't read the old RAID information and restore the old array. It deletes the old array information, it deletes all the data from the disks actually but doesn't do a scrub, and writes new RAID information to the disks and creates a new blank array. Saddly, I think the data is gone. Best to just restore from the backup and drive on, and learn from the mistakes.
 
Joined
Oct 3, 2009
Messages
43 (0.01/day)
System Name Supersmartladan
Processor Core i5 4670K
Motherboard Asus Maximus VI HERO
Cooling Scythe Kotetsu
Memory Crucial 2*8GB 1600Mhz CL9 1.35V
Video Card(s) XFX RX480 RS 4GB
Storage 256GB Samsung 830 SSD and 3*4TB Seagate ST4000DM000 in RAID1+Backup
Display(s) AOC AG271QX 27" 1440p 144Hz TN AdaptiveSync + Dell Ultrasharp U2415 1920*1200 60Hz IPS
Case Fractal Design Define R4
Power Supply EVGA G2 650W
Mouse Zowie EC-1A
Keyboard Ozone Strike Battle Red
Software Winbloat 7
Well, creating a new array was instant and didn't involve any disk activity, so I assume it only created a the basic things required for it to work and that it didn't actually overwrite or delete any of the data on the disk.

Update: I've ventured into Testdisk and it looks like my partitions and data are intact. The problem is just, how do I get them back now?
 
Last edited by a moderator:

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,865 (2.98/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
Well, creating a new array was instant and didn't involve any disk activity, so I assume it only created a the basic things required for it to work and that it didn't actually overwrite or delete any of the data on the disk.
You'll need disc recovery software or a specialist service to get your data back now as what you did is similar to a quick format. Be prepared for it to be completely unrecoverable though.

EDIT: Just seen your post 6. What makes you think the data is intact?
 
Joined
Oct 3, 2009
Messages
43 (0.01/day)
System Name Supersmartladan
Processor Core i5 4670K
Motherboard Asus Maximus VI HERO
Cooling Scythe Kotetsu
Memory Crucial 2*8GB 1600Mhz CL9 1.35V
Video Card(s) XFX RX480 RS 4GB
Storage 256GB Samsung 830 SSD and 3*4TB Seagate ST4000DM000 in RAID1+Backup
Display(s) AOC AG271QX 27" 1440p 144Hz TN AdaptiveSync + Dell Ultrasharp U2415 1920*1200 60Hz IPS
Case Fractal Design Define R4
Power Supply EVGA G2 650W
Mouse Zowie EC-1A
Keyboard Ozone Strike Battle Red
Software Winbloat 7
EDIT: Just seen your post 6. What makes you think the data is intact?
Using Testdisk I can navigate through my old partitions and the data. I could go through and back up the important files, but I'd prefer just to restore the entire thing if that's possible.
Problem is just that I'm completely new to Testdisk and have little idea of how this program works.
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,865 (2.98/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
Using Testdisk I can navigate through my old partitions and the data. I could go through and back up the important files, but I'd prefer just to restore the entire thing if that's possible.
Problem is just that I'm completely new to Testdisk and have little idea of how this program works.
If you can see that data, then copy it ASAP! to another HDD, recreate the RAID array and copy it back to it. Then make sure to do daily backups or more frequently if necessary so you're not in this situation again.

You can try repairing that array if you like, but it's critical to copy that data first, as I think you're more likely to wipe everything.
 
Joined
Oct 18, 2007
Messages
1,288 (0.21/day)
System Name Firebird
Processor Intel i7 2600K @5.0'ish 24/7 stock core Voltage {5.2 w/102 bCLK}
Motherboard Intel Extreme DZ68BC SkullTrail Z68 Cougerpoint, Excellent MCH !
Cooling Scythe NINJA PLUS Rev.B[skt478] Modded to 1155 Scythe SH12 fan
Memory Samsung 32nm 16Gb 4x4 (@19xxmhz} low profile[ better than 2133 banwidth]
Video Card(s) Gigabyte Aurosus 1080Ti
Storage Intel 512 SSD,Samsung 9701Tb, Toshiba 3Tbx2,Hitachi 320,1TBx2,'Cuda 400 7200.10, WD1TBUSB,to SATA
Display(s) Acer K272HUL 1440 27" WQHD, Samsung 226W, Vizio M60C3 4K 60",Vizio XVT3D554SV
Case CoolerMaster HAF 932
Audio Device(s) Intel 10ch[9+1] HD Audio X540> Pioneer VSX39TX[copper chasis,Rosewood sides 5x6LCD remote
Power Supply Seasonic X750 @ 24/7
Mouse Logictech G300s
Keyboard Saitek Cyborg v7
Software Windows 7 ROG E3 X64 by Neuropass/tweakscene
Benchmark Scores 4642@665/1600 220/GAT F1 4544 220/667strap 2.5/3/2/6 Bliss 650/1500 6490 Q6700 Bliss 690/1500
Try using GetDataBack NTFS and FAT, if all else fails. I have found it to be the best save my ass recovery for many times.
Even on twice formatted disk, reloaded window drives ect... it will retrieve files sector by sector.
Most was on 1Tb and smaller units, but it even got files where the first string is missing and kind of rebuilt them from different clusters or whatever they are written .
 
Joined
Oct 3, 2009
Messages
43 (0.01/day)
System Name Supersmartladan
Processor Core i5 4670K
Motherboard Asus Maximus VI HERO
Cooling Scythe Kotetsu
Memory Crucial 2*8GB 1600Mhz CL9 1.35V
Video Card(s) XFX RX480 RS 4GB
Storage 256GB Samsung 830 SSD and 3*4TB Seagate ST4000DM000 in RAID1+Backup
Display(s) AOC AG271QX 27" 1440p 144Hz TN AdaptiveSync + Dell Ultrasharp U2415 1920*1200 60Hz IPS
Case Fractal Design Define R4
Power Supply EVGA G2 650W
Mouse Zowie EC-1A
Keyboard Ozone Strike Battle Red
Software Winbloat 7
If you can see that data, then copy it ASAP! to another HDD, recreate the RAID array and copy it back to it. Then make sure to do daily backups or more frequently if necessary so you're not in this situation again.
Tried to, didn't work :(
All copies fail.
I'm considering just trying to restore one of the disks through testdisk since the same data should be on both of them.
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,865 (2.98/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
Ok good luck.if one drive won't read, try the other.
 
Joined
Oct 3, 2009
Messages
43 (0.01/day)
System Name Supersmartladan
Processor Core i5 4670K
Motherboard Asus Maximus VI HERO
Cooling Scythe Kotetsu
Memory Crucial 2*8GB 1600Mhz CL9 1.35V
Video Card(s) XFX RX480 RS 4GB
Storage 256GB Samsung 830 SSD and 3*4TB Seagate ST4000DM000 in RAID1+Backup
Display(s) AOC AG271QX 27" 1440p 144Hz TN AdaptiveSync + Dell Ultrasharp U2415 1920*1200 60Hz IPS
Case Fractal Design Define R4
Power Supply EVGA G2 650W
Mouse Zowie EC-1A
Keyboard Ozone Strike Battle Red
Software Winbloat 7
Found a nice little guide for Testdisk: http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

I've now gone through the process of re-writing the partition table on one of my disks and it seems to have worked perfectly. All the files are here and I haven't noticed any corruption.
I'm still gonna blow the drive after I back up the new stuff tho, just to make sure. Wouldn't want any lingering errors.
 
Top