mount partition type 'fd' fails with " unknown filesystem type 'linux_raid_member'"
Hi,
I had an old NAS - single drive so no RAID that I configured. Built the disk into a system I installed ubunto onto in the hopes of getting my data back. The disk is giving a SMART error, so it cannot/will not boot anymore - but seems to be okay as 'just a disk'. (I am aware of the posts http://www.linuxquestions.org/questi...-drive-925485/ and http://www.linuxquestions.org/questi...1-disk-723225/ However, I have not understood them well enough to move forward - additional software (raid management) and different partition type (83 I believe). Thanks for your assistence! After powering up: # fdisk -> p output: Code:
Disk /dev/sdb: 750.2 GB, 750156374016 bytes Code:
root@ubuntu:~# mount -r /dev/sdb4 /data/x002 Code:
Command (m for help): l |
Without copying/pasting check out the thread on hardforums. This is caused by a software layer raid that was implemented on the drive. Probably automatically by your NAS. You will need to mount it with mdadm and try to rebuild it to access your data.
http://hardforum.com/showthread.php?t=1453689 |
Hopefully this is a linear - those partitions being different sizes. But don't go messing with anything (particularly partition type) till you know what you're dealing with.
The second thread you posted probably has all the doco you need. Let's see the output of Code:
cat /proc/mdadm |
Yes the /proc/mdadm file is going to be a great place to look. Depending upon the output and what info is actually missing an mdadm with a scan argument may fill in the missing info and get you there.
You could also try explicitly specifying the file system type on the mount command and see if that works, its kind of hit or miss in this situation. Try adding a "-t ext3" to your mount command and see if it takes. |
Guess I have some prep work to do...
Code:
michael@ubuntu:~$ cat /proc/mdadm |
OK. I installed mdadm, still no /proc/mdadm
Mounting with -t ext3 took longer for a reply, but still no success. Code:
root@ubuntu:~# mount -r -t ext3 /dev/sdb4 /data/x052 Before I try a mdadm command going to read the help and hop to understand that (a bit of explanation is missing in your 3-year post, but :smiley" when I saw type 'fd'! A "Thank you" will be coming soon - perhaps two! |
no reboot - yet. No help on -R option (rebuild?), so unsure about using it. Do not want to destroy data.
Code:
root@ubuntu:~# mdadm --help-options | grep R |
After a reboot - had to reattach a keyboard and monitor to see I needed to press F1.
reboot was needed because system no longer saw disk (after the -t ext3 mount command I expect) System (on console) said something about degraded state - I said yes, and mdadm starting doing "stuff" :) Code:
root@ubuntu:~# mdadm -Q /dev/sdb4 Code:
root@ubuntu:~# ls -l /dev/md? Code:
root@ubuntu:~# cat /proc/mdadm Code:
root@ubuntu:~# mdadm --help-options | grep examine Will wait for assistance now ... (note: I will probably not be able to look at this tomorrow, so my responses will be delayed). Code:
root@ubuntu:~# mdadm -E /dev/md4 Code:
root@ubuntu:~# mount -r /dev/sdb4 /data/x052 |
-R is "force run" it basically says to mdadm, mount this even if you don't want to.
Here is a good man page for it. http://linux.die.net/man/8/mdadm The error indicates that the superblock has this drive set to be one of the members of a two drive RAID1 software raid setup. This was more than likely implemented by the NAS automatically without your knowledge. Good news, its a RAID1 and you should be able to get your data back without much trouble. So you should be able to do the mdadm assemble with the run option to get it mounted. It will just be in a "degraded" state forever unless you get a second drive rebuilt into the array. |
This is the second time I run these steps, first time was on a console so I could not cut/paste the output.
stderr had many errors, so I suspect the disk is, for all effective purposes - dead. What I could see this time: Code:
root@ubuntu:~# fdisk -l /dev/sdb === update === found messages - presented courtesy of dmesg just the end, there are many many more. Quote:
|
This indeed looks like a hardware error, I would recommend to test the disk with the manufacturer's diagnosis tool.
|
No time for 24 hours, will let you know what the results are - IF i can find the right program.
Would you happen to have a link to a linux program for Western Digital disks - SATA? |
Western Digital seems to be Windows only nowadays, but you can use SeaTools for this job. Here a link to a bootable ISO: http://origin-www.seagate.com/suppor...ls-dos-master/
|
Hi Michael, have you finally solved the issue? I'm in a similar situation and have difficulties to mount the disks onto another computer.
|
No. I tried several times, but it seems the disk is too far damaged for any recovery using simple hardware.
Good luck! I do want to add that the suggestions provided (which I have now forgotten) seemed very promising and worth the effort. But sometimes a disk is just "gone". Now I have a real RAID6 NAS, and have a spare in the closet. |
All times are GMT -5. The time now is 09:17 AM. |