Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

RAID resync?

  • 01-03-2009 1:18am
    #1
    Closed Accounts Posts: 12,807 ✭✭✭✭


    PC was running a bit slow tonight so I did a top to see what the bottleneck was:
    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
     2401 root      15  -5     0    0    0 S   23  0.0   1:43.90 md2_raid1          
    22294 root      15  -5     0    0    0 D    3  0.0   0:10.18 md2_resync
    

    Haven't seen that one before so let's check mdstat:
    ~$ cat /proc/mdstat 
    md2 : active raid1 sda3[0] sdb3[1]
          720852544 blocks [2/2] [UU]
          [=>...................]  check =  5.3% (38769408/720852544) finish=175.0min speed=64920K/sec
          
    md1 : active raid1 sda2[0] sdb2[1]
          3903680 blocks [2/2] [UU]
          	resync=DELAYED
          
    md0 : active raid1 sda1[0] sdb1[1]
          7815488 blocks [2/2] [UU]
    

    So it's doing a resync - but why? Is this a normal thing or should I be concerned that a disk is failing?


Comments

  • Registered Users, Registered Users 2 Posts: 355 ✭✭francosp


    if possible run a dtrace


  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    It's nothing to worry about. It's a cronjob that's set to run a 'checkarray' on the arrays periodically. Have a look in /etc/cron.d/ and there should be an 'mdadm' script that runs it. If you're using Ubuntu it kicks off at 01:06 on Sunday (20 mins ago).


  • Registered Users, Registered Users 2 Posts: 1,606 ✭✭✭djmarkus


    francosp wrote: »
    if possible run a dtrace
    i assume you wer taking the piss here?

    If not you realise that he/she is running linux, and dtrace isnt in linux?


    Anyway RAID resync's arent a big deal. You will see a performance decrease for the duration though.


  • Closed Accounts Posts: 12,807 ✭✭✭✭Orion


    It's nothing to worry about. It's a cronjob that's set to run a 'checkarray' on the arrays periodically. Have a look in /etc/cron.d/ and there should be an 'mdadm' script that runs it. If you're using Ubuntu it kicks off at 01:06 on Sunday (20 mins ago).

    That exactly what it was - thanks. It's set to run at 00:57 on the first Sunday of the month.

    Panic averted :pac:


Advertisement