RAID 5 cannot be mounted, no partition information
Posted: 11 Dec 2020, 02:40
Hello,
I recently had a hard drive crash (really the SATA cable went bad). In the process of debugging I replaced the drive with a new solid state M2 drive. The RAID 5 is on three separate hard drives that hold data (not the OS or anything related to it) I was just mounted as /media/raid. After installing the OS the RAID did not appear. The RAID did not contain any partitions. I went in to webmin under mdadm and created the array and assigned the 3 partitions as I did in the past. It took some time, but sync'd back up as /dev/md0. Mdadm shows everything looks OK, but when I went to then mount the device but it is saying that it does not know the file system type, invalid superblock, etc.
The OS drive and its partitions (/, /boot, /home, /swap) used to be under /dev/sda and the raid was /dev/sdb, sdc, and sdd. However, when I put the m2 drive in to replace it, the raid moved to /dev/sda, b, and c. I'm not sure if that did anything or not. I would like to be able 1) Repair the RAID so that i can get to the data again, and worst case, back up a few key folders that are within it as the rest of the data I can recover, but this one folder I hadn't had a chance to fully back up.
I'm somewhat experienced in Linux (but would still be considered a novice), but I will admit this a new area for me. Are there any tests or checks that I can do that would not cause damage to the drive in an attempt to fix this? Is there a way I can back up what is on the drive (even if I cannot access it) in case something happens to the data? Any suggestions would be great appreciated.
Thanks
-Kevin
I recently had a hard drive crash (really the SATA cable went bad). In the process of debugging I replaced the drive with a new solid state M2 drive. The RAID 5 is on three separate hard drives that hold data (not the OS or anything related to it) I was just mounted as /media/raid. After installing the OS the RAID did not appear. The RAID did not contain any partitions. I went in to webmin under mdadm and created the array and assigned the 3 partitions as I did in the past. It took some time, but sync'd back up as /dev/md0. Mdadm shows everything looks OK, but when I went to then mount the device but it is saying that it does not know the file system type, invalid superblock, etc.
The OS drive and its partitions (/, /boot, /home, /swap) used to be under /dev/sda and the raid was /dev/sdb, sdc, and sdd. However, when I put the m2 drive in to replace it, the raid moved to /dev/sda, b, and c. I'm not sure if that did anything or not. I would like to be able 1) Repair the RAID so that i can get to the data again, and worst case, back up a few key folders that are within it as the rest of the data I can recover, but this one folder I hadn't had a chance to fully back up.
I'm somewhat experienced in Linux (but would still be considered a novice), but I will admit this a new area for me. Are there any tests or checks that I can do that would not cause damage to the drive in an attempt to fix this? Is there a way I can back up what is on the drive (even if I cannot access it) in case something happens to the data? Any suggestions would be great appreciated.
Thanks
-Kevin