LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-22-2008, 04:42 AM   #1
ddonoghue
LQ Newbie
 
Registered: Jul 2008
Location: UK
Distribution: fedora core
Posts: 4

Rep: Reputation: 0
Post changing software raid configuration


I have been experiencing some disk performance issues with one of the linux servers I've inherited. Having done some simple analysis, I believe this to be because the disks are incorrectly recognised as ide instead of sata. I.E., they are /dev/hd* and not /dev/sd*.

using hdparm i get the following timings..

/dev/hda:
Timing cached reads: 5212 MB in 2.00 seconds = 2607.91 MB/sec
Timing buffered disk reads: 12 MB in 3.49 seconds = 3.44 MB/sec

/dev/hdc:
Timing cached reads: 5192 MB in 2.00 seconds = 2596.55 MB/sec
Timing buffered disk reads: 12 MB in 3.36 seconds = 3.57 MB/sec


im fairly sure i can improve this by instructing fedora to use a different drivers which would then have my disks detected as sda and sdc respectively.

my problem here is that the disks in question are part of a software raid configuration...

Personalities : [raid1] [raid6] [raid5] [raid4]
md0 : active raid1 hdc2[0] hda2[1]
4192896 blocks [2/2] [UU]

md1 : active raid1 hdc1[0] hda1[1]
239994880 blocks [2/2] [UU]


If i were to change the drivers, how do i reconfigure the raid to use sd* instead of hd*?
 
Old 07-23-2008, 05:30 AM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hey!
Yep, 4 MB/s makes no sense.
I think it might be that the system would see the drives and automagically understand from the header on the HDDs that they belong to a raid and automatically start the raid
or
it might be that somewhere under /etc/ the mdadm configuration file lists their names (or their UUID) and the raid-device (e.g. md0) they belong to
or
you have somewhere a custom script which builds the raid.

ABSOLUTELY TAKE A BACKUP OF THE DATA STORED ON THE RAID BEFORE FIDDLING AROUND WITH IT!!!
This because I'm not sure if changing the devices from HD* to SD* will screw up their UUID which might be used to recognize the components of the raid.

And prepare youself to use mdadm or whichever raid-tool you're using to fix all problems that might arise.
 
  


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
Adding an old software-RAID array to a software-RAID installation.. Boot problems GarethM Linux - Hardware 2 05-05-2008 03:16 PM
removing software raid configuration sbabcock23 Linux - Software 4 03-07-2007 09:32 AM
Software RAID 5 configuration in Redhat arunabh_biswas Linux - Software 2 07-29-2006 04:51 AM
Software RAID Configuration during Linux Installation manjinder Linux - Enterprise 1 11-15-2004 12:57 PM
Software RAID-1 Configuration on SuSE 8.2 merc3065 Linux - General 0 08-28-2003 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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