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
- In emergency mode, enter the root password of the virtual machine.
- Enter the command below to delete the original device file.
[root@localhost ~]# rm /etc/lvm/devices/system.devices - Enter the command below to create a new device file.
[root@localhost ~]# vgimportdevices -a - Enter the command below to reboot the virtual machine.
[root@localhost ~]# reboot
Prevent the virtual machine from entering emergency mode
- Open the configuration file /etc/lvm/lvm.conf.
- Locate the
use_devicesfileoption.# use_devicesfile = 0 - Uncomment the option and make sure it is set to 0.
use_devicesfile = 0
Comments
Post a Comment