Koozali.org: home of the SME Server

question about hardware RAID and console message

Offline idyll

  • ****
  • 113
  • +0/-0
question about hardware RAID and console message
« on: March 09, 2007, 07:46:14 PM »
In building a new box, I ran through the console commands post build and am confused by the following . "only some of the RAID devices are unclean". The console seems to indicate a problem, whereas the result of an mdstat does not.

Can someone help me understand how to interpret this?

thanks

patrick

 x Current RAID status:                                                    
 x                                                                          
 x Personalities : [raid1]                                                  
 x md1 : active raid1 sdb1[1] sda1[0]                                      
 x       104320 blocks [2/2] [UU]                                          
 x md2 : active raid1 sda2[0]                                              
 x       143147072 blocks [2/1] [U_]                                        
 x unused devices: <none>                                                  
 x                                                                          
 x                                                                          
 x Only some of the RAID devices are unclean.                              
 x                                                                          
 x Manual intervention may be required.

------------------------------------------------------------
[root@galadriel ~]# cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb1[1] sda1[0]
      104320 blocks [2/2] [UU]
     
md2 : active raid1 sda2[0]
      143147072 blocks [2/1] [U_]
     
unused devices: <none>

---------------------------------------------------------------
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: question about hardware RAID and console message
« Reply #1 on: March 09, 2007, 08:04:10 PM »
Quote from: "idyll"
In building a new box, I ran through the console commands post build and am confused by the following . "only some of the RAID devices are unclean". The console seems to indicate a problem, whereas the result of an mdstat does not.


mdstat tells you that /dev/sdb2 has been kicked out of /dev/md2, which is now unmirrored. /dev/md2 contains your data - /dev/md1 is just the boot partition.