Share your knowledge at the LQ Wiki.
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 12-28-2007, 03:28 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
mdadm Raid 5 hang in Fedora 8 / Ubuntu 7.10

Come across an intriguing problem, was hoping someone could shed light on the situation. I recently converted my desktop system into a server running Fedora 8 (I have another Ubuntu 7.10 install on another HD.)

AMD X2 4400+, 3GB ram, Nvidia 7800GT, 430W PSU, 8x320GB HDD, 1x150GB Raptor, 1x120GB IDE and 1xDVD drive.

The 8x320 drives are configured in a Raid 5 array I built/expanded from a Raid 0 4x320, since I wanted to add redundancy. It worked perfectly until tonight; after a system reboot, I attempted to reload the array with

`sudo mdadm --assemble /dev/md0`; md0 being the array configured in the /etc/mdadm.conf file using a UUID. System hangs around 5 seconds after this command executes, telling me that 7 of the drives are now active and 1 is running as a spare.

I systematically reboot and retry this operation, unplugging a different harddrive each time until I find the spare. Lo and behold, the array constructs, and I can mount it correctly. This leads me to believe the problem is in the HDD that I pulled.

I format the HDD using `sudo mkfs.ext3 /dev/sdj,` and it formats correctly, indicating that there is nothing wrong with the drive. I then try to re-add it to the array using `sudo mdadm /dev/md0 --add /dev/sdj`; the system adds the drive, and predicting the freeze I execute `sudo mdadm --detail /dev/md0,` which informs me that the spare was activated and is rebuilding. However, the system, as I predicted, hangs.

My question to the community is this: why would a healthy, new disk, that was running the night before, suddenly kill my RAID? At one point i even received a kernel panic, indicating a fault in the processor (which is false.) Do I need to reconstruct my entire machine just to add this last drive?

Old 12-28-2007, 08:58 PM   #2
Senior Member
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
That is a lot of load for a 430 watt PSU. The PSU may be getting old (they loose capacity as they age) and is just now starting to show problems.
Old 12-29-2007, 11:54 AM   #3
LQ Newbie
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Well, I considered that might be the problem; however, like I said, the configuration was working a few days ago, I can do read-write to the drive itself (wrote zeros w/ dd if=/dev/zero, formatted it xfs, mounted it, and put stuff on it with no problems), and it is powered up even when it isn't added to the array. I'm going to reload F8, then RMA the disk if that doesn't fix it. If all else fails, I'll upgrade the PSU; just getting a bit expensive.

Thanks for the input. If anyone else has any ideas, I'd be glad to hear them.


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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
RAID mdadm - Sending E-Mails on RAID Failure? rootking Linux - General 1 12-25-2007 03:59 AM
RAID through mdadm rosey Linux - Server 5 04-08-2007 11:57 AM
mdadm.conf and RAID 1 on Ubuntu jcorrea920 Linux - Software 11 07-06-2006 03:14 PM
Mdadm Raid question stefaandk Linux - General 12 08-16-2005 02:11 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:22 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
Open Source Consulting | Domain Registration