LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Guidance for a Slow Raid 1 system (https://www.linuxquestions.org/questions/linux-newbie-8/guidance-for-a-slow-raid-1-system-912889/)

mande01 11-10-2011 03:47 PM

Guidance for a Slow Raid 1 system
 
Do i have a slow raid system?

I have a system and I don't know what to check on the raid log files.

cat /proc/version
Code:

Linux version 2.6.22.18-Netgear (mostafah@es5x86.axentra.com) (gcc version 4.2.1) #16 Sun Jun 13 19:54:46 EDT 2010
It is a Netgear Stora with two 1.5 tb hard drives.
Code:

/usr/sbin/smartctl -a /dev/sda
smartctl version 5.38 [armv5tel-redhat-linux-gnueabi] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: WDC      WD15EADS-00P8B0  Version: 01.0
Device type: disk
Local Time is: Thu Nov 10 21:40:55 2011 GMT
Device does not support SMART

Error Counter logging not supported
Device does not support Self Test logging

/usr/sbin/smartctl -a /dev/sdb
smartctl version 5.38 [armv5tel-redhat-linux-gnueabi] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: WDC      WD15EADS-00P8B0  Version: 01.0
Device type: disk
Local Time is: Thu Nov 10 21:41:21 2011 GMT
Device does not support SMART

Error Counter logging not supported
Device does not support Self Test logging


cat /proc/mdstat
Code:

Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4]
md0 : active raid1 sdb1[1] sda1[0]
      1464843648 blocks [2/2] [UU]

mdadm --detail /dev/md0 gives:
Code:

/dev/md0:
        Version : 00.90.03
  Creation Time : Fri Oct 21 20:50:48 2011
    Raid Level : raid1
    Array Size : 1464843648 (1396.98 GiB 1500.00 GB)
  Used Dev Size : 1464843648 (1396.98 GiB 1500.00 GB)
  Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Nov 10 05:04:10 2011
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

          UUID : cf297b8c:35bb5a35:6c25913b:c0261e4e
        Events : 0.12

    Number  Major  Minor  RaidDevice State
      0      8        1        0      active sync  /dev/sda1
      1      8      17        1      active sync  /dev/sdb1

hdparm -tT /dev/sda1

Code:

/dev/sda1:
 Timing cached reads:  332 MB in  2.01 seconds = 165.31 MB/sec
 Timing buffered disk reads:  98 MB in  3.08 seconds =  31.87 MB/sec

hdparm -tT /dev/sda1
Code:

/dev/sdb1:
 Timing cached reads:  346 MB in  2.01 seconds = 172.12 MB/sec
 Timing buffered disk reads:  128 MB in  3.03 seconds =  42.26 MB/sec


hdparm -tT /dev/md0
Code:

/dev/md0:
 Timing cached reads:  330 MB in  2.01 seconds = 164.51 MB/sec
 Timing buffered disk reads:  76 MB in  3.06 seconds =  24.84 MB/sec


Code:

/sbin/hdparm -t /dev/md0

/dev/md0:
 Timing buffered disk reads:  38 MB in  3.34 seconds =  11.39 MB/sec
/sbin/hdparm -t /dev/sda1

/dev/sda1:
 Timing buffered disk reads:  124 MB in  3.03 seconds =  40.99 MB/sec
/sbin/hdparm -t /dev/sdb1

/dev/sdb1:
 Timing buffered disk reads:  180 MB in  3.02 seconds =  59.61 MB/sec


Why is my raid so slow?

What should I check.

Thanks.
Derry

vickyk 11-11-2011 06:50 AM

Not a h/w expert
 
Hi,

You can try the link to know about more options with hdparm and how to tweak the HD settings.
http://technomancer.me.uk/howto-hdpa...ux-disk-tuning

I have previously worked with Adaptec and 3ware raids, both of them had softwares to determine if the Raid as gone bad or not. You can try the same with Netgear too. Check out there documentation for this.
Also there are Netgear forums to check out for.


All times are GMT -5. The time now is 05:35 PM.