25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

How to fix ‘Unexpected inconsistency: Run fsck manually’ error in VMware?

by | Mar 8, 2019

File system errors are always a nightmare for server owners.

One such error is “Unexpected inconsistency: Run fsck manually” error in VMware servers.

At Bobcares, we help server owners resolve these critical errors as part of our Server Management Services.

Today, let’s discuss the top 2 reasons for this error and how we fix them.

 

‘Unexpected inconsistency: Run fsck manually’ error in VMware – What this means?

Customers usually face this error after powering on the virtual machine in VMware. This can be a newly deployed VM or an existing VM failing to boot.

This error means that the system fails to boot the operating system and has been stuck during file system check. Users see the complete error message as below.

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)

 

Here, the system prompts for the root password to repair the corrupted file system.

 

‘Unexpected inconsistency: Run fsck manually’ error in VMware – Causes & Fixes

Now, let’s see the main reasons for this error and how our Dedicated Engineers fix them.

1) Corrupted file system

One of the main reasons for this error is the corrupted file system on the VMware host. This prevents the server from booting automatically. File system may get corrupted due to improper shutdowns, power failures, hard disk errors, etc.

 

How we fix?

The solution is to run a file system check and recover the corrupted file system. Sometimes, the system itself prompts for the root password. Here, we enter the root password and continue with the file system check. Otherwise, our Support Experts access the VMware host in single user mode and do a file system check.

For example, we enter in single user mode on a VMware host using the below steps.

  • Reboot the VMware host.
  • Once the GRUB screen appears, press space bar to disable autoboot.
  • Select the Service Console only(troubleshooting mode).
  • Press a key to modify the boot options.
  • Then, type a space and add the word single. This will boot the server in single user mode.

 

Further, to do a complete file system check, we use the following command.

fsck -f -c -y

 

Similarly, we use e2fsck command to do file system check on a single partition. In other words, we follow the below steps to identify and recover the affected partition.

  • Verify the partition tables using fdisk command.
fdisk -l
  • Unmount the affected partition. For example, we use the below command to unmount the partition /dev/sda5.
umount /dev/sda5
  • Run e2fsck command to do a file system check.
e2fsck -p /dev/sda5

 

Finally, we reboot the system to update the changes. Most importantly, our Server Experts ensure to make a clone of the VMware host before running fsck.

2) Wrong data & time on VMware host

Similarly, another common reason for this error is that the date and time on the VMware Host is far off the current date and time.

This can mainly occur when the NTP server which provides clock synchronization isn’t installed/running on the VMware host. As a result, the system fetches the date and time from the local hardware which can be far off from the current date and time and throws this error.

/dev/sda5: Superblock last mount time (Tue Nov 30 13:15:25 2018, now = thu Nov 8 08:30:25 2012) is in the future.
/dev/sda5: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY. (i.e., without -a or -p options) [FAILED]

 

How we fix?

Firstly, our Support Experts verify the current date and time on the VMware host. We usually check it from the command line of VMware host or from the VMware VSphere client. If we find any mismatch in date and time, we’ll correct these settings in the VMware host.

Initially, we correct the date and time in the BIOS of the hardware where the VMware host is running. As the server start up, we edit the BIOS configuration and update the correct date and time.

Further, we update the correct date and time in VMware host configuration from the VSphere client. Here, we modify the date and time of the VMware host from Manage > Settings > Time Configuration. Also, we ensure that the NTP service is configured and started in the VMware host. Most importantly, we ensure that all the VMs on the VMware host are stopped before making these changes. Otherwise, it affects the working of all the running VMs.

Sometimes, we need to restart the VMware host to reflect these changes. In such cases, all the VMs on this host will undergo a graceful reboot. So, our Server Experts always plan this task with the customer and schedule it at off peak hours.

Finally, we verify the date and time from the VSphere client or after accessing the VMware host via SSH.

[Do you need an expert to resolve this error on your VMware server. Our Server Experts can help you here.]

 

Conclusion

In short, ‘unexpected inconsistency: run fsck manually’ error in VMware can occur mainly due to file system errors, wrong date and time on VMware host, etc. Today, we’ve discussed these reasons in detail and how our Dedicated Support Engineers fix them.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF