2012年5月29日 星期二

Centos 6.2 軟體 Raid 1 Bug 解決方法(錯誤訊息:Kernel Panic -- not syncing- attempted to kill init)

經Google查是 drauct造成的Bug 
官方:http://bugs.centos.org/view.php?id=5400
文中最後提到解決方法
latest dracut fixes the issue:
don't forget to rebuild your initramfs once you have installed the latest dracut version! 

造成的問題現象:
2顆硬碟做Raid 1,當硬碟壞掉一顆後, 重開機會出現如下訊息,
Kernel Panic -- not syncing- attempted to kill init


解決方法步驟
1.更新dracut
#yum -y install dracut

2.更新完 dracut 後一定要做,重建initramfs 
#cd /boot
#mv initramfs-`uname -r`.img initramfs-`uname -r`.img.bak      
#dracut -v initramfs-`uname -r`.img `uname -r`                        
參考資料:http://hi.baidu.com/edelweisszf/blog/item/c63cb30852de628b0b7b8251.html


沒有留言: