So guys I got panicked since my data gone, I tried the solution to use backup Superblock from this askubuntu page but still no luck. but when I tried sudo fsck.ext4 -vy /dev/md0 I got this message /dev/md0/ clean, 11/244178944 files, blablablah.
this is the screenshot I get from sudo fsck.ext4
Do I still have a chance to recover that 244000++ files? the guy from the link said when suitable superblock has been found, I can recover the data, Did I use the wrong superblock?
edit So I did the sudo blkid and what I get is this one
dev/sda1, sdb, sdd1, and sdc is the Raid HDD that contains the whole file that I meant. So what can I do next?
/dev/md0is not mounted. You will need to look at UUIDs. I would recommend that you edit your question and add the following output.sudo blkid. There you will probably see something like/dev/md0p1: UUID="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" BLOCK...The UUID is what can be added to your/etc/fstabfile to mount the device of/dev/md0so that you should be able to hopefully browse your files again. – Terrance Jan 12 '24 at 05:43blkidreads only the UUID regardless of if the drive is mounted or not. But, without mounting the/dev/md0you cannot browse into it to see all your files. – Terrance Jan 12 '24 at 14:15sudo mkdir /media/storageor something like that. Then add a line to the bottom of your/etc/fstabfile likeUUID=6e5c07a5-d751-490a-92a6-2d1dee2237e9 /media/storage ext4 defaults 0 0. Then after it is added then you can mount it by typing insudo mount -awhich should mount it at/media/storage. It is just odd though that all of your other drives that are mounted have partitions on them, but this RAID does not. – Terrance Jan 13 '24 at 03:43