LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-02-2004, 01:34 AM   #1
spiritwing
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian
Posts: 26

Rep: Reputation: 15
Raid Weirdness -- /dev/md0: Invalid argument


Hello all,

This was all working just fine and dandy...


Then this guy named murphy came by, and he told me that if something goes wrong you won't have a clue what happened or how it happened. And Damnit he was right. The bearings on my power supply fan went bad and the noise was driving me mad, so I halted my fileserver and put in a new power supply (I didn't have any spare fans laying around, but I did have a new power supply laying around). When I turned my fileserver back on the Raid didn't come up. When I turned my fileserver back on the Raid
didn't come up. Running:

raidstart /dev/md0

yeilded:

md: array md0 already exists!

So I:

raidstop /dev/md0
raidstart /dev/md0

and I got:

/dev/md0: Invalid argument

looking in dmesg it showed more detail:

[events: 00000000]
md: invalid raid superblock magic on ide/host2/bus0/target0/lun0/part1
md: ide/host2/bus0/target0/lun0/part1 has invalid sb, not importing!
md: could not import ide/host2/bus0/target0/lun0/part1!
md: autostart ide/host2/bus0/target0/lun0/part1 failed!

I did an lsmod to verify that the appropriate raid drivers were loaded, and they were. The disks are fine, both show up in the bios search and under /proc. cat'ing the drives produced copious amounts of binary gobbly gook which is nice. I know my /etc/raidtab is fine (I will include it anyway) because this has been working for the past month since I first built this raid array. Any suggestions/pointers on how to recover this raid array without loss of data?

here is the relevent parts of my /etc/raidtab and /etc/fstab

### RaidTab ###

raiddev /dev/md0
raid-level 0
nr-raid-disks 2
persistent-superblock 1
chunk-size 4
device /dev/hde1
raid-disk 0
device /dev/hdg1
raid-disk 1

### FSTab ###

/dev/md0 /Raid reiserfs rw,user,exec 0 0


Other Misc info:

Debian Sarge.
Home Grown 2.4.24 kernel.
Raid is on 2 160GB drives on a promise tx2 Ultra100 ide PCI controller card.


Cheers,
Silas Bennett

=0)
 
Old 04-02-2004, 01:59 AM   #2
spiritwing
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian
Posts: 26

Original Poster
Rep: Reputation: 15
Followup:

Hello again,

I stuck a Knoppix (3.3) disk in to see if I could get it to work. Well it didn't work... But I got a bit more usefull info out of dmesg using knoppix.

<Snip from Previous Post>

[events: 00000000]
md: invalid raid superblock magic on ide/host2/bus0/target0/lun0/part1
md: ide/host2/bus0/target0/lun0/part1 has invalid sb, not importing!
md: could not import ide/host2/bus0/target0/lun0/part1!
md: autostart ide/host2/bus0/target0/lun0/part1 failed!

</Snip from Previous Post>

really means:

[events: 00000000]
md: invalid raid superblock magic on hde1
md: hde1 has invalid sb, not importing!
md: could not import hde1!
md: autostart hde1 failed!


I still would like to get this raid back up without repartitioning/rebuilding-raid/reformating and loosing all of my data in the process. Any help, insight, or RTFMs follow by links to a helpfull manual would be greatly appreciated.


Cheers,
Silas Bennett

=0)
 
Old 04-02-2004, 09:20 PM   #3
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
I wouldnt doubt this is realtated to an improper/poor voltage output of your power supply.

I would buy a brand new power supply rated for your mobo and hook it up.
 
Old 04-02-2004, 09:52 PM   #4
spiritwing
LQ Newbie
 
Registered: Dec 2003
Distribution: Debian
Posts: 26

Original Poster
Rep: Reputation: 15
Hi,

Thanks for the reply.

Quote:
I wouldnt doubt this is realtated to an improper/poor voltage output of your power supply.

I would buy a brand new power supply rated for your mobo and hook it up.
I highly doubt it is a problem with the power supply, as the old power supply was a 230W power supply (the box is a P2-400 MHz), and the new power supply is a 420W. And I do mean it is new, as in brand new out of the box. I bought it a year ago to fix another computer and ended up not using it. If I don't figure it out soon I will replace the old power supply with a new fan and see if that works, but the odds are low.

Any other Suggestions/Insights/RTFMs?

Cheers,
Silas Bennett

=0)
 
  


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
can not mount RAID 0 /dev/md0 dysenteryduke Linux - Software 3 09-15-2005 03:19 PM
no sound in transfusion - /dev/dsp invalid argument LavaDevil94 Linux - Games 5 11-28-2004 09:02 PM
RAID 1 ... everyime I reboot, /dev/md0 is broken... rrohde Red Hat 1 10-26-2004 02:03 PM
swapon : /dev/hdc6 : invalid argument trutnev Red Hat 3 06-08-2004 09:57 PM
Raid Weirdness -- /dev/md0: Invalid argument spiritwing Linux - Hardware 0 04-02-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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