Symptoms:
Failed to start File System-xxxxDependency failed for /storage/seatDependency failed for Local File SystemsYou are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "system reboot" to reboot, "systemctl default" or "exit" to boot into default mode.vCenter Server 8.x
vCenter Server 9.x
Before proceeding, take a snapshot or backup of the affected virtual appliance.
systemd.unit=emergency.target"mount -o remount,rw /lvscanlvremove <LVM Volume>In some scenarios, vCenter continues to boot into emergency mode even after modifying the GRUB boot parameters
The following steps were attempted as per KB: Manually running a filesystem check
Rebooted the appliance and accessed the GRUB menu.
Appended systemd.unit=emergency.target to the kernel line.
Pressed F10 to initiate boot
Despite these changes, the appliance repeatedly enters emergency mode. Upon each boot, root access is required to investigate further.
Once in emergency mode:
Ran journalctl from root of vCenter , to identify the failing partition.
Found /dev/vg_root_0/lv_root_0 as the affected volume.
Executed filesystem repair using below commands as described in resolution section.fsck -fy /dev/vg_root_0/lv_root_0
ore2fsck -y /dev/vg_root_0/lv_root_0
Rebooted the appliance after repair to resolve the issue.
The appliance may reboot multiple times during this process as it resolves underlying filesystem issues.
Reference:
Failed to start file system check on /dev/vg_root_0/lv_root0
If none of the steps works, revert to a known good snapshot to recover or restore from a backup.