Re: linux software raid


Subject: Re: linux software raid
From: Jamie Hushower (hushower@alaska-geeks.com)
Date: Mon Jan 12 2004 - 09:41:29 AKST


I don't know about any interactive alert programs, but I do a manual
"cat /proc/mdstat" periodically to check my software RAID. Results look
like this:
---------------------
[root@Printman root]# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md0 : active raid1 sdc1[1] sdb1[0]
       4160704 blocks [2/2] [UU]

unused devices: <none>
---------------------
You can see by the [UU] that both drives are up.You'll see something
else if a drive has failed or is not running optimally.

-Jamie

Scott Johnson wrote:

> I have two drives, /dev/hdc & /dev/hdd (hdc1 & hdd1 respectively) that
> I turned into a RAID 1 array, now /dev/md0, mounted at /home. My
> question is, how do I know if one of the drives has failed? I did this
> so that my mail users will have redundancy for their stored emails, but
> how does the system actually notify me if either HD has problems/gone
> bad? This is on a Fedora Core 1 box.....
>
> Thanks.
>
> Scott
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>
>

-- 
Jamie Hushower
Computer Consultant
Rent-A-Geek
223-9136
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Mon Jan 12 2004 - 09:39:41 AKST