[CentOS] slow system
Craig White
craigwhite at azapple.com
Sat Jan 13 04:40:31 UTC 2007
On Fri, 2007-01-12 at 22:31 -0600, Les Mikesell wrote:
> Craig White wrote:
> > I have a server that is running slowly and I think it's because of my
> > stupidity - it's running CentOS 3.8
> >
> > I have software RAID level 1 and the mirrored drives are the master &
> > slave on the primary controller and I'm thinking that is my mistake.
> >
> > Is there a simple method for changing the configuration of md before I
> > switch the slave drive to be the slave on the secondary controller?
> >
>
> I think they will pair up automatically if you shut down cleanly
> and move the connector. If not, just 'mdadm --add' it back after
> it comes up with a missing member. If you have to add it back,
> the drives will have to resync so there is a small risk of
> failure during the process.
----
great thanks - am I right in thinking that having both mirrored drives
on the same controller master/slave is likely a cause of slowness?
i.e.
# mdadm --query --detail /dev/md1
/dev/md1:
Version : 00.90.00
Creation Time : Tue Feb 1 04:10:32 2005
Raid Level : raid1
Array Size : 2096384 (2047.25 MiB 2146.70 MB)
Device Size : 2096384 (2047.25 MiB 2146.70 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Sat Jan 13 13:53:23 2007
State : dirty, no-errors
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Number Major Minor RaidDevice State
0 3 6 0 active sync /dev/hda6
1 3 70 1 active sync /dev/hdb6
UUID : ff9049f4:29e82010:e70acb45:690a1ad5
Events : 0.46
Craig
More information about the CentOS
mailing list