LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2009, 01:06 PM   #1
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Rep: Reputation: 15
RAID-1 with one disk causes filesystem to be corrupt?


Hello,

I created one formatted disk (/dev/sda3) and I started RAID-1 with one disk on it. Everything went alright and raid was started fine and all.

I stopped the raid and tried to mount /dev/sda3 but I got the following error message now:

"unknown filesystem type 'mdraid'

Can someone please tell me why am I seeing this error message and why the filesystem is corrupt after stopping the raid?

Thank you
 
Old 02-22-2009, 03:43 PM   #2
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Rep: Reputation: 45
Hi There,

If you have a Signal RAID-1 Device it should be under /dev/md? since access to the raid device is via the raid sub system. So /dev/sd would be the part of the raid device ( in your case the only device)
 
Old 02-22-2009, 04:59 PM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
In other words, you don't mount /dev/sda3, you mount /dev/md1 (or /dev/md2 or whatever), like
Code:
mount /dev/md1 /mnt/tmp
after you activate the RAID set with mdadm

Last edited by mostlyharmless; 02-22-2009 at 05:00 PM.
 
Old 02-22-2009, 09:41 PM   #4
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by FragInHell View Post
Hi There,

If you have a Signal RAID-1 Device it should be under /dev/md? since access to the raid device is via the raid sub system. So /dev/sd would be the part of the raid device ( in your case the only device)

Thanks for the reply. Well, okay, I understand that...I mounted /dev/md# when the raid was running, BUT I *stopped* the raid (mdadm --stop --scan) and then tried to mount the lower level device (/dev/sda#) which failed.

Any ideas?
 
Old 02-23-2009, 11:23 AM   #5
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
Any ideas?
Yes, you can't do that. See above, and BTW your filesystem isn't corrupted, it is "mdraid", meant to be mounted as a raid device by mdadm, not mount.
 
  


Reply



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
Raid disk problem : Attempt to read block from filesystem resulted in short read ElmPie Linux - General 5 08-26-2008 05:21 AM
Crypto filesystem : corrupt or wrong password? iainr Linux - Software 1 10-23-2006 08:15 AM
where has my disk space gone? corrupt filesystem? matticus SUSE / openSUSE 3 09-19-2006 10:06 PM
Couple of problems, gcc, corrupt filesystem, and RAM slackwarefan Slackware 4 02-14-2005 09:13 PM
Unknown or corrupt filesystem Synergetek Linux - Newbie 1 02-03-2003 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:10 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