Background
So I have a hardware RAID controller that does a RAID 10 with 4 drives. Recently one of the drives failed so I got a new drive and replaced the failed one. I let the controller rebuild the array mostly with success. When plugged into linux it would not let me mount though. I tried to unmount, then remount but it would never allow me to mount. When running blkid it would show sda but not sda1 indicating the drive is seen but not the partition. One of the times of trying to mount, it told me that the drive was previously mounted.
OK, so since the partition was created from Windows 10, and NTFS, I decided to try and look at the data on my Windows machine. I was able to see all of my data, folders, files, etc. Since this led me to believe that the RAID cluster had a mount stuck on it, I did some research and most recommendations were to run CHKDSK from windows.
I ran CHKDSK from a CMD session with Windows running at first and it told me that the disk had to be force unmounted so I said yes to that however nothing happened after that was done. For this reason I booted into a CMD session without Windows running and ran:
CHKDSK F: /R
After it finished (after around 10-15 minutes) it told me that CHKDSK would not work on a RAW disk format. This made me realize that I just lost my partition tables....
Recovery?
So my searching led me to this article:
https://html5.litten.com/updated-how-to-fix-external-disk-drive-suddenly-became-raw/
which may allow me to repair the partition tables without ruining my data and that is currently what I am trying as we speak, although it can take a long time. So as it runs, I want to know if anyone else has had this problem before and if there are any suggestions of things to try.
Better solution in the future?
So of course my main concern right now is to recover my data.. but if I do recover it I want to make sure I don't make the same mistake again. I thought that I had a good recovery plan for my data but never thought about the partition being ruined. What is a good solution for this to never happen again in the future?
No comments:
Post a Comment