LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   MDADM gives weird results (http://www.linuxquestions.org/questions/linux-software-2/mdadm-gives-weird-results-939810/)

andrew.durnez 04-14-2012 02:41 PM

MDADM gives weird results
 
If i type : mdadm --detail /dev/md0
Then i'll get:
----------------------------------------
/dev/md0:
Version : 1.2
Creation Time : Tue May 24 20:47:56 2011
Raid Level : raid1
Array Size : 96244 (94.00 MiB 98.55 MB)
Used Dev Size : 96244 (94.00 MiB 98.55 MB)
Raid Devices : 3
Total Devices : 2
Persistence : Superblock is persistent

Update Time : Sat Apr 14 17:29:49 2012
State : clean, degraded
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0

Name : zeus:0
UUID : d76edb30:3e9ff595:2a0a18dd:24931800
Events : 1744

Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 0 0 2 removed
----------------------------------------
/proc/mdstat file:

Personalities : [raid1]
md2 : active raid1 sda3[0] sdb3[1]
241169272 blocks super 1.2 [2/2] [UU]

md1 : active raid1 sda2[0] sdb2[1]
3905524 blocks super 1.2 [2/2] [UU]

md0 : active raid1 sda1[0] sdb1[1]
96244 blocks super 1.2 [3/2] [UU_]

----------------------------------------
How can I make the "degraded" status to become normal "clean"?

Thnx in advance!

technosapien 04-16-2012 03:51 PM

Hello,

It looks like your md0 is expecting 3 discs, and is degraded because one is missing. Weird since it's specified raid1. Might check your mdadm.conf file to see if the array is specified incorrectly. Otherwise might need to stop the array, recreate it, then reassemble it to see if that helps.

Just a few thoughts, good luck.


All times are GMT -5. The time now is 10:49 PM.