Re: linux software raid


Subject: Re: linux software raid
From: Mike Tibor (tibor@lib.uaa.alaska.edu)
Date: Mon Jan 12 2004 - 09:52:04 AKST


On Mon, 12 Jan 2004, Jamie Hushower wrote:

>
> 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.

FWIW you'll see:

md0 : active raid1 sdc1[1] sdb1[0]
       4160704 blocks [2/2] [U_]

That would indicate that /dev/sdb1 has been dropped out of the array.

Mike

---------
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:52:08 AKST