Koozali.org: home of the SME Server

Raid Rebuilding Itself

Offline Mattj

  • 16
  • +0/-0
Raid Rebuilding Itself
« on: July 21, 2015, 11:37:57 AM »
Hi All,

I'm currently running sme 8.1, and finding that about once a month, the raid rebuilds itself and can take up to 6-7days to complete, the drive is 1TB.

is there a way to prevent the rebuilding (resyncing), or is there a reason it is resyncing such as alerting me the drive is on its way out.

also, are there any silent HDD checks that can be performed while the system is running so that i can check my drive integrity and determine if the root of all this is due to a defective drive.

your help and advice is greatly appreciated,

Thank you.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: Raid Rebuilding Itself
« Reply #1 on: July 21, 2015, 08:38:43 PM »
When it is rebuilding can you catch the status of your raid.

watch 'cat /proc/mdstat'

And

mdadm /dev/md0 --details
mdadm /dev/md1 --details

Without this it can be hard to help.

From what i recall we have had a bug concerning a weekly (fake) rebuild but never a monthly rebuild

See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Online TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Raid Rebuilding Itself
« Reply #2 on: July 21, 2015, 09:10:17 PM »
See Bug 6160 as suggested by Stephdl
--
qui scribit bis legit

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Raid Rebuilding Itself
« Reply #3 on: July 22, 2015, 03:56:50 AM »
I'm currently running sme 8.1, and finding that about once a month, the raid rebuilds itself and can take up to 6-7days to complete, the drive is 1TB.

There is a raidcheck process which does a full media scan every week, which can trigger raid rebuild notification emails. That's probably what you are seeing.