ESX host reboot displays the error: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
search cancel

ESX host reboot displays the error: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

book

Article ID: 305992

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
When an ESX host reboots, you see the error:
UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type CTRL-D to continue)


Environment

VMware ESX 4.0.x
VMware ESX 4.1.x

Cause

This issue is caused by a corrupted ESX file system.

Resolution

Use one of these two options to resolve this issue:
  • Use fsck
  • Use fdisk and e2fsck–p
Both of these options require that you use single user mode on the ESX host. To enter single user mode:
  1. Reboot the ESX host.
  2. When the GRUB screen appears, press the space bar to stop the server from automatically booting into VMware ESX.
  3. Use the arrow keys to select Service Console only (troubleshooting mode).
  4. Press the a key to modify the kernel arguments (boot options).
  5. On the line presented, type a space followed by the word single, and press Enter. The server boots into single-user mode.

Using fsck to resolve this issue:
  1. Enter single user mode on the ESX host.

  2. Run the fsck command with these parameters:

    # fsck -f -c -y

Using fdisk and e2fsck–p to resolve this issue:
  1. Enter single user mode on the ESX host.

  2. Verify the partition tables using this command:

    # fdisk –lu

  3. Make note of the partition information.

  4. Unmount the partition:

    # umount /dev/partition_name

  5. Run the e2fsck–p command on the affected partition. For example:

    # e2fsck–p /dev/sda1

  6. Once the file system check is complete, reboot the host:

    # init 6





Additional Information

ESX ホストを再起動すると、「予期しない不整合です; 手動で fsck を実行してください」というエラーが表示される
ESX 主机重新引导显示错误:意外不一致;手动运行 fsck