VMware vCenter Server
This issue is primarily caused by unexpected reboots or the temporary unavailability of storage. This disruption results in file system inconsistencies on the VMware Photon OS hosting the vCenter Server, which prevents the automated fsck process from completing successfully during startup.
To resolve this issue, the file system inconsistencies must be fixed by manually executing fsck.
Perform the following steps:
Take a snapshot of the vCenter Server Virtual Machine (VM) by referring to Snapshot Best practices for vCenter Server Virtual Machines.
Restart the Virtual Machine running VMware Photon OS. When the splash screen appears, quickly press the letter e to enter the Grand Unified Bootloader (GNU GRUB) edit menu.
Note: The letter
emust be pressed quickly as the operating system reboots rapidly. In VMware vSphere or VMware Workstation Pro, the console might require focus by clicking within the window before keyboard input is registered.
In the GNU GRUB edit menu, navigate to the end of the line that begins with linux, add a space, and append the following code exactly: systemd.unit=emergency.target
Press F10.
In the bash shell, execute one of the following commands to fix the file system errors, depending on whether sda1 or sda2 represents the root file system: e2fsck -y /dev/sda1
or e2fsck -y /dev/sda2
Restart the Virtual Machine.