LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-30-2009, 03:35 PM   #1
movax222
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
Linux Software Raid hangs after months of operation


Hi, I have a bunch of machines running Linux 2.6.29.1 on x86_64 which are running Linux software raid consisting of two disk partitions merged into a single raid0 in /dev/md0. This setup is for performance reasons.
The OS is not run from the raid, it is only used to hold a set of data files.

This seems to work great for weeks to months at a time, but then all of a sudden access to the raid filesystem completely locks up. A process trying to access any file in there hangs to the point where it cannot be killed even with -9, so I suppose it's locked up in a syscall.
I can't attach a debugger to the process, for then the terminal locks up too. But the system is operational as long as I don't read anything from the raid mount.

Th only thing that helps is a reboot. Then the raid will function correctly again.

The version of mdadm is v2.6.7.1 - 15th October 2008.

Here is my /etc/mdadm.conf:
DEVICE /dev/sda5
DEVICE /dev/sdb3
ARRAY /dev/md0 devices=/dev/sda5,/dev/sdb3

/proc/mdstat from a locked machine:
Personalities : [raid0]
md0 : active raid0 sda5[0] sdb3[1]
898362368 blocks 256k chunks

unused devices: <none>

The raid has an ext4 filesystem on it.

I can find no other logs or status files for the software raid system. There's nothing in /var/log/messages or any other standard log.

Does anybody know what is going on? Is this a known bug in md or the kernel?

Thank you for any help!
 
  


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
LXer: Benchmarking hardware RAID vs. Linux kernel software RAID LXer Syndicated Linux News 0 07-15-2008 03:50 PM
Adding an old software-RAID array to a software-RAID installation.. Boot problems GarethM Linux - Hardware 2 05-05-2008 03:16 PM
RAID 5 Disk Loss every 6-8 months normal? patniemeyer Linux - Hardware 16 09-07-2006 06:29 AM
Raid 5 Operation Questions boozer_2 Linux - Newbie 9 04-04-2005 06:10 AM
Can fake raid be converted to linux software raid? jmacdonald801 Linux - General 3 01-30-2005 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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