Leen de Braal wrote:
> When checking /proc/mdstat I see this:
>
> linux:~ # cat /proc/mdstat
> Personalities : [raid1]
> md0 : active raid1 hdb3[1]
>       155219904 blocks [2/1] [_U]
>
> unused devices: <none>
> linux:~ #
>   
I would suggest using mdadm --detail /dev/md0 I think the output is a
bit clearer.
> Could someone help me interpret what is shown here?
>   
from looking at mine, it reads it is an active raid1 array running only
on hdb3, which is the second device in the array (first is 0).  Summary
it is a 2 disk raid running on 1 disk, first disk is missing.
> As I see it, one drive is missing from the raid-array, but then it says:
> unused devices: none.
> It is /dev/hda3 and /dev/hdb3 that were initially setup as raid1.
>   
mdadm --detail /dev/md0 will tell you more.
> And if hda3 is missing, can I add it back to a live and running system?
>   
Yes.  mdadm /dev/md0 -a /dev/hda3
> What happens when I add it and the drive is broken?
>   
It will tell you.  again, use mdadm --detail /dev/md0 for info on what
is happening to your array.

-- 
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to