[CentOS] Centos 5.5, not booting latest kernel but older one instead

Tue Aug 31 13:44:53 UTC 2010
fred smith <fredex at fcshome.stoneham.ma.us>

On Mon, Aug 30, 2010 at 09:13:07PM -0700, Gordon Messmer wrote:
> On 08/30/2010 07:24 PM, fred smith wrote:
> > Aug 30 22:09:08 fcshome kernel: md: created md1
> ...
> > Aug 30 22:09:08 fcshome kernel: md: kicking non-fresh sda2 from array!
> ...
> > Aug 30 22:09:08 fcshome kernel: md: created md0
> ...
> > Aug 30 22:09:08 fcshome kernel: md: kicking non-fresh sda1 from array!
> 
> Yep, your arrays are broken.  mdmonitor should have emailed you about 
> this.  Make sure that you receive and read mail to the root user.
> 
> /sbin/mdadm /dev/md1 --fail /dev/sda2 --remove /dev/sda2
> /sbin/mdadm /dev/md1 --add /dev/sda2
> 
> /sbin/mdadm /dev/md0 --fail /dev/sda1 --remove /dev/sda1
> /sbin/mdadm /dev/md0 --add /dev/sda1

there are only two drives in this mirrored array, sda and sdb. if I need
to re-add them both (which, if I understand mdadm correctly, is what your
suggestion above would do) how does it know which one is the correct one
to re-sync the array with?

thanks for the info!

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
               But God demonstrates his own love for us in this: 
                         While we were still sinners, 
                              Christ died for us.
------------------------------- Romans 5:8 (niv) ------------------------------