Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Root partition on an ESX host becomes read only (1022155)

Last Updated: 3/20/2024Categories: TroubleshootingTotal Views: 26756Language:
English

1 like this article

Subscribe to get an email
newsletter with new updates

1 people found this helpful Please provide article feedback:

Symptoms

Root partition on an ESX host becomes read only.

You are unable to manage your ESX host.

The ESX host has a status of Not Responding or Disconnected in VMware vCenter Server.

You cannot power up virtual machines or work with their consoles.

The virtual machines appear to still be responsive and operational. You can access them via ping or RDP.

You cannot start the management agents from the terminal.

You are unable to perform touch <file> on any file in the root partition.

If you try to perform touch <file>, you see this error:

touch: cannot touch <file>: "Read-only file system"

Resolution

This issue can occur due to:

Damaged or corrupted file system.

Hard drive or controller failure.

The file system is indeed full.

The root partition is remounted in Read-Only access mode to prevent further problems from being committed to the file system or disk. To correct this issue, review the /var/log/vmkernel and /var/log/messages files, and examine if there any ext3 file system journal errors in the log. If journal errors exist, it suggests file system corruption that needs to be repaired.

Note: Resolving this issue requires a downtime of the ESX host. Ensure that you plan for a proper maintenance window including a possible ESX host rebuild.

To check for and repair file system corruption, run the filesystem check utility.

To run a filesystem check:

Log in to the Service Console of your ESX host as the root user.

Reboot the ESX host by typing reboot.

When the GRUB screen appears, press the Space bar to stop the server from automatically booting into VMware ESX .

Use the arrow keys to select Service Console only (troubleshooting mode).

Press the a key to modify the kernel arguments (boot options) and press the Space bar and type the word single.

Press Enter. The server continues to boot into single-user mode.

When presented with a bash prompt such as sh-2.05b#, type fdisk -l and make a note of the affected partition.

Run fsck -a /dev/xxx

Where xxx is the affected partition name (For example sdb5).

After the disk check completes, reboot the server into the normal run-level.

Related Information

If the disk check operation fails or if the EXT3 journal becomes corrupt on the root file system, contact your hardware vendor for assistance as the corruption may be caused by hardware failures.

If the issue persists, you may have to rebuild the ESX host.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware ESX Server

Related Versions:

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

VMware ESX 4.1.x

VMware ESX 4.0.x

Take Our Survey

Support Assistant