LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RAID-1 with one disk causes filesystem to be corrupt? (https://www.linuxquestions.org/questions/linux-newbie-8/raid-1-with-one-disk-causes-filesystem-to-be-corrupt-706651/)

alirezan1 02-22-2009 01:06 PM

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

FragInHell 02-22-2009 03:43 PM

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)

mostlyharmless 02-22-2009 04:59 PM

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

alirezan1 02-22-2009 09:41 PM

Quote:

Originally Posted by FragInHell (Post 3453619)
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?

mostlyharmless 02-23-2009 11:23 AM

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.


All times are GMT -5. The time now is 10:11 AM.