#3703 Clean / Active status

1.510
closed-works-for-me
Jamie Cameron
Linux RAID (18)
5
2010-06-30
2010-06-28
Anonymous
No

[Hardware] - [Linux RAID]. In the table, open one of the devices, like /dev/md0.
In the "RAID device options" , see "Status: Clean". Go back and click /dev/md0 again.
The status is now "Status: active". The status keeps alternating between the two.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2010-06-28

    What does the /proc/mdstat file contain on your system?

     

  • Anonymous
    2010-06-29

    Hi, thanks for your reply, here's my file:

    cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    md1 : active raid1 sdb2[1] sda2[0]
    10747392 blocks [2/2] [UU]

    md0 : active raid1 sdb1[1] sda1[0]
    477636416 blocks [2/2] [UU]

    unused devices: <none>

     
  • Jamie Cameron
    Jamie Cameron
    2010-06-30

    That looks clean to me. If you check that file a few times a few minutes apart, does it change?

     

  • Anonymous
    2010-06-30

    I have been checking it frequently over the last month or so. I have also tried your suggestion, and checked it every five seconds or so - over a couple of minutes. It stays the same. I must say that is quite a relief :) But it keeps being strangely changing in Webmin. Does webmin interpert the information or does it just display?

    It got noticed because it changes in such rapid succession.
    It's not bothering me, it isn't broken, but it is really noticeable.

    I'm using Ubuntu Linux, 9.04 x64

     
  • Jamie Cameron
    Jamie Cameron
    2010-06-30

    I looked at this some more, and was actually able to reproduce the issue you saw.

    Webmin gets the state from the command " mdadm --detail /dev/md0" , and I found that this does indeed iterate between "clean" and "active".

    So it looks like Webmin is doing the right thing. My guess is that "clean" means the RAID is fully in sync, and "active" means it is copying data to some disk.

     
  • Jamie Cameron
    Jamie Cameron
    2010-06-30

    • status: open --> closed-works-for-me
     

  • Anonymous
    2010-07-01

    Allright! Thanks for looking into it in such detail, it's much appreciated.