[SOLVED] mount: unknown filesystem type 'linux_raid_member'
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mount: unknown filesystem type 'linux_raid_member'
Hello,
I have the following problem:
I have a 4-scsi-disk software raid5, which had one failed disk. My replacement disk did not work and then, according to Murphy's law, another disk started to fail from time to time under load.
Since I could not run a backup, I mirrored the raid5 to another disk to be able to access it.
In the meantime I had replaced the failing disk and could rebuild the raid5, but I can no longer mount it. IÄm getting the following error:
Quote:
mount: unknown filesystem type 'linux_raid_member'
To get this mounted again, I tried to use losetup with various offsets, but I only got the error message:
Quote:
mount: unknown filesystem type '(null)'
How can I get my files back, at least to make a backup?
I've only seen that message if I tried to mount a RAID member, as opposed to building the array, then mounting the appropriate array. Could you post the exact commands that you run?
Did you run any diagnostics on the array? It rebuilt ok with no problems I take it?
What diagnostics can I run on the array? It rebuilds OK, except for the missing 4th disk.
I don't know, why mdadm chose /dev/md127, but it worked with that name, when the array had no problems and it works now, at least according to
Code:
mdadm --detail /dv/md127
Can I change the name somehow?
Quote:
Originally Posted by mostlyharmless
Usually my raid arrays look like /dev/md0, btw.
I have other raid1 devices, which look like /dev/mdx.
hoping that the disk would survive the mirror action, but it undfortunately did not. And now I am stuck with an unusable raid5 telling me that it cannot be mounted, because it is of type linux_raid_member.
Where is this information stored and what value should be used to set it back to normal?
Well I'm guessing that last command creating the mirror damaged the raid meta-data of the original raid5. Perhaps you can try re-assembling the pieces in to a new raid 5 array with a new mdadm --assemble, that might work. In case someone smarter than me is reading this thread (very likely), there might be some value in posting the output of mdadm --detail /dev/md127 and/or cat /proc/mdstat and perhaps the result of the above mirror creation command, if there was one or if you still remember it.
I finally managed to get my raid5 back.
To get a copy of my data I copied the raw data to a logical volume using dd and worked on that first. I had run fsck on the raid and the logical volume before without and with specifying the standard superblock backup of 8193, but it did not work. Then I read somewhere about dumpe2fs and found the real locattion of the backup superblock. The command
Code:
fsck.ext4 -b <backup_superblock> <logicalValue>
corrected quite a lot of free block and bitmap errors. Afterwards I could mount the logical volume without error message and all my important files were still there.
I then repeated the fsck on my real raid with the same command and then immediately ran a full backup on it.
So I am glad, I finally have my files back.
Regards, didiw
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.