Loading

Entering emergency mode. Exit the shell to continue

## Resolving Safe Mode on CentOS 7 Servers

This issue, often encountered on CentOS 7 servers, is typically a protective measure triggered by disk exhaustion and resource depletion, often as a result of attacks.

Before exiting safe mode, first increase your disk limit by around 30-40 GB from your ESXi server. (This step may not always be necessary.)

Next, enter the following command:

xfs_repair -v -L /dev/dm-0

Enter the command above and wait until you see "done."

Once you receive the "done" message, you can restart your server with the `reboot` command. Your server should then exit safe mode without any issues.
 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 28