Koozali.org: home of the SME Server

Raid System Info

Karl Ponsonby

Raid System Info
« on: May 21, 2001, 07:21:37 AM »
Hi,
I am thinking of setting up a raid 1 type machine. I have a question in relation to disk failure. If software mirroring is used, is there any alerts to the admin about a failed disk ? Or is it up to the admin to detect a failed disk ?
Any help greatly appreciated
Karl

Ronald Tanis

Re: Raid System Info
« Reply #1 on: May 21, 2001, 12:07:45 PM »
I think e-smith can't send you a message, I have the same problem. So if you have an answer i also really want to have itKarl Ponsonby wrote:
>
> Hi,
> I am thinking of setting up a raid 1 type machine. I have a
> question in relation to disk failure. If software mirroring
> is used, is there any alerts to the admin about a failed disk
> ? Or is it up to the admin to detect a failed disk ?
> Any help greatly appreciated
> Karl

Graeme Robinson

Re: Raid System Info
« Reply #2 on: May 21, 2001, 12:26:47 PM »
an email to admin triggered by change of RAID state would be a good idea I think - why don't you request it at the wishlist:
http://www.e-smith.org/bboard/list.php?f=4
you can alway monitor the status of your RAID setup by taking a peak at
/proc/mdstat with your favourite editor

It gives output like:
Personalities : [raid1]
read_ahead 1024 sectors
md2 : active raid1 hdc1[1] hda1[0] 264960 blocks [2/2] [UU]
md0 : active raid1 hdc5[1] hda5[0] 15936 blocks [2/2] [UU]
md1 : active raid1 hdc6[1] hda6[0] 19269824 blocks [2/2] [UU]
unused devices:

huw finney

Re: Raid System Info
« Reply #3 on: June 01, 2001, 10:41:07 PM »
....or just at a terminal (telnet) cat /proc/mdstat

it's quite interesting when you first start the array, it takes a couple of hours to sync itself.

Huw