Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 03-24-2006, 09:13 AM   #1
Registered: Jan 2006
Distribution: red hat enterprise 3.0
Posts: 47

Rep: Reputation: 15
RAID PROBLEM Invalid argument, bad superblock magic in messages.log ***SOLVED***

Hi all,
i'm writing this post simply to help those guys who are having problem starting raid because i have spent a day of my life understanding why the hell my raid doesn't work after system rebooting.

following this procedure can delete all your data

you are creating a raid (for example raid1).
after modified RAIDTAB you launch mkraid command and
then verify the file /proc/mdstat.
All is ok but the next time you boot.....INVALID ARGUMENT!!! and if you look in the log file messages you see BAD SUPERBLOCK MAGIC.

Is some posts i have seen that some guys have solved the problem by starting raid using raidstart --all because they have discovered that the problem was that linux didn't start automatically raid.

But this is not the case. I receive this error even with raidstart --all, and, however, this error occurs with every disk I use to create a raid, scsi, ide, etc....

I have seen that you can work around this problem by setting to 1 the option in RAIDTAB called
"persistent superblock"

Doing this the error doesn't appear anymore.

For 2 or 3 times i have tried to reset the option again to 0 and to remake the raid. I have always received the same error after linux reboot. Resetting again the option to 1 and remaking the raid,cause it corretly works even after reboot (REMEMBER however to launch the command "raidstart --all" because it is not sure that linux will do it for you).

NOTE: if i have correctly understood, this option "persistent superblock" makes raid disks visible to the kernel even if you change their SCSI position. I know that this is strange and that can be not directly related to the problem, but it works very well, so, let's do it!!

I hope this will be useful for you

Bye bye!!

Last edited by Berkut83; 03-24-2006 at 09:16 AM.
Old 03-25-2006, 06:17 PM   #2
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 30
might want to add this to the how to section or something. If you put it in a forum it will get lost in a day or 2.
Old 03-26-2006, 05:01 PM   #3
Registered: Jan 2006
Distribution: red hat enterprise 3.0
Posts: 47

Original Poster
Rep: Reputation: 15
sorry but....i'm try to searching for an hypothetical "how to section" in all forums but i'm not able to find it

can you tell me where is it?

Old 03-29-2006, 05:22 AM   #4
Registered: Jan 2006
Distribution: red hat enterprise 3.0
Posts: 47

Original Poster
Rep: Reputation: 15
found it


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Invalid argument passed to ext2 library while setting up superblock msross Linux - General 10 09-03-2009 03:05 PM
harddrive won't mount: bad magic number in superblock sohmc Linux - Software 2 01-18-2006 08:35 AM
ext2, ext3 bad magic number in superblock shuuhen Linux - General 1 12-13-2005 02:29 AM
bad magic number in superblock crazynachos Linux - Games 1 04-15-2004 02:43 PM
bad magic number in superblock crazynachos Linux - Newbie 1 04-14-2004 03:09 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:30 AM.

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