LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-17-2014, 05:46 AM   #1
didiw
Member
 
Registered: Oct 2009
Posts: 31

Rep: Reputation: 0
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?

Thanks in advance

Regards

didiw
 
Old 01-17-2014, 06:58 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
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?
 
Old 01-17-2014, 04:43 PM   #3
didiw
Member
 
Registered: Oct 2009
Posts: 31

Original Poster
Rep: Reputation: 0
Hi,
Quote:
Originally Posted by mostlyharmless View Post
I've only seen that message if I tried to mount a RAID member,
I too get that message,when trying to mount my raid.
Quote:
Originally Posted by mostlyharmless View Post
as opposed to building the array, then mounting the appropriate array. Could you post the exact commands that you run?
I just tried to mount te array as usual:
Code:
mount /dev/md127 /mnt
The result of running this commnd is the error message:
Quote:
mount: unknown filesystem type 'linux_raid_member'
Regards
didiw
 
Old 01-17-2014, 05:01 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Did you run any diagnostics on the array? It rebuilt ok with no problems I take it? Usually my raid arrays look like /dev/md0, btw.
 
Old 01-18-2014, 03:43 AM   #5
didiw
Member
 
Registered: Oct 2009
Posts: 31

Original Poster
Rep: Reputation: 0
hi,
Quote:
Originally Posted by mostlyharmless View Post
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 View Post
Usually my raid arrays look like /dev/md0, btw.
I have other raid1 devices, which look like /dev/mdx.

Regards,

didiw
 
Old 01-19-2014, 08:48 AM   #6
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Yeah, I was thinking of mdadm --detail /dev/md127....
OK, I'm stumped. What exactly did you do with
Quote:
Since I could not run a backup, I mirrored the raid5 to another disk to be able to access it.
 
Old 01-19-2014, 05:33 PM   #7
didiw
Member
 
Registered: Oct 2009
Posts: 31

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
Yeah, I was thinking of mdadm --detail /dev/md127....
OK, I'm stumped. What exactly did you do with
Quote:
Since I could not run a backup, I mirrored the raid5 to another disk to be able to access it.
I created a mirror on top of the raid5 with a logical volume as the second disk, using the followng command:
Code:
mdadm --create -l 1 -n 2 --force /dev/md11 /dev/md127 /dev/vgTest/lvTest127
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?

Regard, didiw
 
Old 01-20-2014, 08:13 AM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
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.
 
Old 01-21-2014, 08:00 AM   #9
didiw
Member
 
Registered: Oct 2009
Posts: 31

Original Poster
Rep: Reputation: 0
Hi,

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
 
  


Reply

Tags
mount, raid



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount partition type 'fd' fails with " unknown filesystem type 'linux_raid_member'" Michael AM Linux - Software 15 06-19-2013 03:51 PM
[SOLVED] mount: unknown filesystem type 'vfat' zorro_kwh SUSE / openSUSE 1 04-27-2011 04:20 AM
mount: unknown filesystem type 'ntfs' johellywho Linux - Newbie 2 07-07-2010 10:42 PM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
mount: unknown filesystem type 'NTFS' jnorcal Slackware 8 09-07-2005 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration