Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: Mattj on July 21, 2015, 11:37:57 AM

Title: Raid Rebuilding Itself
Post by: Mattj 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.
Title: Re: Raid Rebuilding Itself
Post by: stephdl 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

Title: Re: Raid Rebuilding Itself
Post by: TerryF on July 21, 2015, 09:10:17 PM
See Bug 6160 (http://bugs.contribs.org/show_bug.cgi?id=6160) as suggested by Stephdl
Title: Re: Raid Rebuilding Itself
Post by: CharlieBrady 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.