Im in the same boat, been setting up a raid1 today. Here's what I found out:
# cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[1] sda1[0] 199141632 blocks [2/2] [UU]
unused devices: <none>
The [UU] on the 3rd line means both devices are "up". If one of them is _ then it's down.
Hmm, I get:
Personalities : unused devices: <none>
…when I run that.
I tried mdadm --monitor /dev/md0 but it doesnt look like its outputting anything on mine. My question is, how do you make sure something you saved to one of the disks actually got copied to the other one? I don't want to setup my raid and hope its working then find out it wasn't when one of them dies.
Excellent question. I would like a way to check that too.
smime.p7s
Description: S/MIME cryptographic signature
.===================================. | This has been a P.L.U.G. mailing. | | Don't Fear the Penguin. | | IRC: #utah at irc.freenode.net | `==================================='