Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Customization of a Virtual Machine on a Linux Guest Might Fail (2301)

Details

Customization of a virtual machine on Linux might fail if the directory stream for /etc of the virtual machine's virtual disk Linux guest operating system is too full to hold new filenames.

The mechanism used by customization to write to the Linux file system does not automatically increase the size of the /etc directory stream when adding new files to the directory. As a result, if the /etc stream is very close to the currently allocated size, customization might cause it to overflow and fail as a result.

Solution

Boot the guest operating system, and then force an increase in the directory stream size by creating a file with a very long name in the/etc directory.

In the following example, the current /etc stream size is 4096 MB.

$ touch xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

If the stream is nearly full, Linux forces an increase in the stream size from 4096 MB to 8192 MB to hold the new filename. You can delete the file afterward.

Attempts to customize a clone of this Linux machine will now succeed.

Keywords

2301

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: