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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-22-2009, 02:06 PM
|
#1
|
Member
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150
Rep:
|
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
|
|
|
02-22-2009, 04:43 PM
|
#2
|
Member
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282
Rep:
|
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)
|
|
|
02-22-2009, 05:59 PM
|
#3
|
Senior Member
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
|
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 06:00 PM.
|
|
|
02-22-2009, 10:41 PM
|
#4
|
Member
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150
Original Poster
Rep:
|
Quote:
Originally Posted by FragInHell
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?
|
|
|
02-23-2009, 12:23 PM
|
#5
|
Senior Member
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
|
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 09:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|