zoukankan      html  css  js  c++  java
  • initrd image比lvm.conf文件舊導致RHCS切換服務unmount failed,reboot

    在RHCS服務切換的時候,unmount盤的時候,發現會failed,並且直接導致reboot。

    在message里看到這樣一段

    [lvm] * initrd image needs to be newer than lvm.conf

    red hat對此的解釋是:
    Bug 728365 - any change to lvm.conf results in an invalid HA configuration
    For HA LVM to work properly, the initrd which the system uses during the boot process must be in-sync with lvm.conf. 
    A warning and an error are produced if the initrd is younger than lvm.conf. 
    This has been reduced to simply an error message due to possible issues it can cause once the HA setup is operating

    原來是我們生成了initrd image 后又修改了lvm.conf文件,導致initrd image 舊,從而HA失敗

    於是重新生成新的initrd image

    dracut -H -f /boot/initramfs-$(uname -r).img $(uname -r)

    再次測試的時候,沒有了上述信息,並且切換正常,不會導致reboot

  • 相关阅读:
    c# 中的线程和同步
    Javascript 观察者模式
    连接SQLite 创建ADO.net实体类
    给软件增加注册功能 c#
    log4net 使用步骤
    C# 操作 Excel
    PCL编译历程
    设计模式
    kinect
    eclipse配置servlet错误
  • 原文地址:https://www.cnblogs.com/guilingyang/p/6075109.html
Copyright © 2011-2022 走看看