Koozali.org: home of the SME Server

RAID questions

stocky

RAID questions
« on: April 05, 2005, 05:32:10 AM »
I am using SME6, and have a couple of questions regarding the built in RAID capabilities.
1) How do you tell that the RAID array is ok from within SME? Can it send an email? Does it only tell you in the logs? Does it tell you at all???

2)How do you force a rebuild of the raid when you do have a failure? Say one disk dies and you replace it, how do you tell SME to rebuild?

The reason for the above is my server crashed after the primary disk failed....then to leave me to find out the RAID had not been working for some time.....LUCKILY my data was ok, it was only the OS part that was stuffed!

I'd like to not have to go through that again!

Quail_Linux

RAID questions
« Reply #1 on: April 05, 2005, 07:04:20 AM »
Hi,

Raid Commands
# cat /proc/mdstat
...will give you an idea of what it does now
and how long it may still take...

# hdparm -t /dev/mdx
...with x 0,2,3 will give you the maximum speed it can read/write

And you can look for a raid monitor contrib called:
dmc-mitel-raidmonitor-0.0.1-5.noarch.rpm

HTH

johann

Monitoring the raid
« Reply #2 on: April 08, 2005, 12:25:45 AM »
Using SME 6.0.1
Here below you can find a link to great tool that monitor you raid and you get an e-mail when failure occures.

http://mirror.contribs.org/smeserver/contribs/dmay/smeserver/5.x/contrib/raidmonitor/raid-monitor-howto.html

Regards
    Johann

Offline tariqf

  • *****
  • 179
  • +0/-0
email out
« Reply #3 on: August 16, 2005, 11:54:24 AM »
Hi I've just installed raidmonitor via the guide and it appears to be working nicely. However, how do I change this to email an external address when there is an error rather than root?

Offline MSmith

  • *
  • 675
  • +0/-0
RAID questions
« Reply #4 on: August 16, 2005, 01:39:55 PM »
Look for the "forwarding address for administrative notices" in the Server Manager ... that gets you every alert that would otherwise be emailed to "admin".
...