[CentOS] Software RAID resync
Rajagopal Swaminathan
raju.rajsand at gmail.com
Fri May 8 06:48:30 UTC 2009
John R Pierce <pierce at ...> writes:
>
> Les Mikesell wrote:
> > It should only take a couple of hours anyway unless there is a lot of
> > other activity on the partition. Something must be wrong with the
> > controller or drive.
> >
> >
>
> The IOSTAT output earlier showing the drives 100% busy at 1.8MB/sec
> tells me they are running in ISA PIO mode. there's a issue with the
> disk controller support and how its configured.
>
[SOLVED]
Thanks all
I powered down the box and changed the SATA mode in BIOS f4rom Auto to
Serial ATA. That did the trick
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
104320 blocks [2/2] [UU]
resync=DELAYED
md1 : active raid1 sdb2[1] sda2[0]
4096448 blocks [2/2] [UU]
resync=DELAYED
md2 : active raid1 sdb3[1] sda3[0]
484182912 blocks [2/2] [UU]
[=>...................] resync = 5.6% (27346752/484182912)
finish=68.6min speed=110970K/sec
unused devices: <none>
======= iostat -x 5 outpur (4th or 5th one)
avg-cpu: %user %nice %system %iowait %steal %idle
0.00 0.00 2.60 0.00 0.00 97.40
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz
await svctm %util
sda 1752.89 0.00 259.68 0.00 257584.03 0.00 991.93
2.47 9.52 3.85 99.86
sda1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00
sda2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00
sda3 1752.89 0.00 259.68 0.00 257584.03 0.00 991.93
2.47 9.52 3.85 99.86
sdb 0.00 1752.69 0.00 259.68 0.00 257609.58 992.02
1.51 5.80 3.85 99.86
sdb1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00
sdb2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00
sdb3 0.00 1752.69 0.00 259.68 0.00 257609.58 992.02
1.51 5.80 3.85 99.86
md2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00
md1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00
md0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00
dm-0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00
=========== hdparm -tT output
hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 27444 MB in 1.99 seconds = 13802.85 MB/sec
Timing buffered disk reads: 378 MB in 3.01 seconds = 125.67 MB/sec
[root at localhost ~]# hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 27116 MB in 1.99 seconds = 13636.74 MB/sec
Timing buffered disk reads: 398 MB in 3.01 seconds = 132.35 MB/sec
[root at localhost ~]#
Thanks again
Regards
Rajagopal
More information about the CentOS
mailing list