LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-22-2011, 11:19 AM   #1
uselesslogin
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Software RAID resync overruns other partitions


OK,

So I have set up my software RAID like this. There are only 2 disks here so I created three partitions.

/dev/md0 - raid1 - /boot
/dev/md1 - raid0 - lvm - root fs and swap
/dev/md2 - raid1 - lvm - /home

My problem is that I copied over many gigabytes of data to /dev/md2. However, after completing the copy the 'device' went idle. So md started syncing the drives at the fastest possible rate. When I started trying to compile a program the system was completely unresponsive. Why? Because all my compiling activities where isolated to /dev/md1 - and /dev/md2 was 'idle,' so md kept resyncing as fast as the disks would go.

I've already implented a reasonable solution by setting the following via sysctl:
dev.raid.speed_limit_max=25000

However, why wouldn't there be a way to tell md that /dev/md0,1, and 2 are the same physical disks and that access to any one of those devices should be considered activity on all of them? I can't find it in all my searching so I was hoping someone else might have run into this.

Last edited by uselesslogin; 02-23-2011 at 11:46 PM.
 
  


Reply


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
Linux Software Raid 5 Resync happens often. daveginorge Linux - Hardware 1 10-17-2010 06:03 AM
software RAID: very slow mdamd resync mattca Linux - Software 1 08-14-2009 12:50 PM
LXer: How To Resize RAID Partitions (Shrink & Grow) (Software RAID) LXer Syndicated Linux News 1 05-01-2009 12:02 PM
IDE Software RAID 0 - overruns error nnsg Linux - General 0 11-09-2004 09:16 AM
RAID resync thedeud Linux - General 6 03-14-2003 05:22 PM

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

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