Emergency Mode

https://kb.synology.com/en-sg/DSM/tutorial/My_virtual_machine_running_RHEL_9_enters_emergency_mode

Recover the virtual machine from the emergency mode

  1. In emergency mode, enter the root password of the virtual machine.
  2. Enter the command below to delete the original device file.
    [root@localhost ~]# rm /etc/lvm/devices/system.devices
  3. Enter the command below to create a new device file.
    [root@localhost ~]# vgimportdevices -a
  4. Enter the command below to reboot the virtual machine.
    [root@localhost ~]# reboot

Prevent the virtual machine from entering emergency mode

  1. Open the configuration file /etc/lvm/lvm.conf.
  2. Locate the use_devicesfile option.
    # use_devicesfile = 0
  3. Uncomment the option and make sure it is set to 0.
    use_devicesfile = 0




Comments

Popular posts from this blog

Static IP In Linux

Bash Script