LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-05-2009, 11:05 AM   #1
traigo
Member
 
Registered: Nov 2008
Distribution: Ubuntu 9.10
Posts: 41

Rep: Reputation: 15
mdadm RAID1 won't mount on boot


I followed the instructions here to setup a RAID1 array of 2 1Tb drives. It mounted without error and I edited fstab and added:
Code:
/dev/md0      /rsync    ext3    defaults    1 2
df -h showed /dev/md0 mounted to /rsync with a size of 971g.
I rebooted to be sure it would mount on boot and received this error:

Code:
fsck.ext3: No such file or directory while trying to open /dev/md0
The superblock could not be read or does not describe a correct ext2 filesystem.  If the device is valid and it really contains an ext2 filesystem (and not swap or dfs or something else) then the superblock is corrupt and you might try running e2fsck with an alternate superblock
fsck died with exit status 8
I tried running the command it gave me but it gave the same error.
 
Old 10-05-2009, 11:35 AM   #2
Doculus
LQ Newbie
 
Registered: Oct 2009
Distribution: Gentoo
Posts: 29

Rep: Reputation: 17
Is your partition type 'fd'?
Is raid1 module loaded, or compiled into kernel?
What distro do you have?

Maybe you should add your drive into /etc/mdadm.conf, depending on distro, and it's initrd/initscripts.
 
Old 10-05-2009, 11:42 AM   #3
traigo
Member
 
Registered: Nov 2008
Distribution: Ubuntu 9.10
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Doculus View Post
Is your partition type 'fd'?
Is raid1 module loaded, or compiled into kernel?
What distro do you have?

Maybe you should add your drive into /etc/mdadm.conf, depending on distro, and it's initrd/initscripts.
The partition type 'fd' was not set. I must have missed that step.
The mdadm was installed in Ubuntu 9.04 server. I did add it to mdadm.conf.

Thanks, I'll retry that.

Traigo
 
Old 10-05-2009, 02:58 PM   #4
traigo
Member
 
Registered: Nov 2008
Distribution: Ubuntu 9.10
Posts: 41

Original Poster
Rep: Reputation: 15
Ok, that fixed it. Thanks
 
  


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
mdadm raid1 both bootable chiendarret Linux - Server 1 03-09-2009 07:53 AM
MDADM screws up the LVM partitions? Can't mount the LVMs after mdadm stopped alirezan1 Linux - Newbie 3 11-18-2008 04:42 PM
Migrate to a raid1 with mdadm Ossar Linux - Software 2 08-19-2008 11:55 AM
Software RAID1 with mdadm bujecas Debian 0 10-26-2006 09:56 AM
raid1 using mdadm? help plz akadidm Linux - Hardware 3 06-09-2005 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:08 AM.

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