Search the VMware Knowledge Base (KB)
View by Article ID

Installation of patch using vihostupdate fails ESXi hosts without asociated LUN (1012640)

  • 15 Ratings


In some cases, if you attempt to use the vihostupdate command from the vSphere CLI to install a patch on an ESXi 4.0 host without an associated LUN, the scratch directory on the ESXi 4.0 host might not be configured and the installation will fail. When installation fails, the host reports the following error:
"Unable to create, write or read a file as expected.I/O Error (28) on file : [Errno 28] No space left on device"
Patch installation using VMware Update Manager is unaffected by this issue.


You can either install the patch using VMware Update Manager, or you can work around the issue and continue to use vihostupdate if you configure a scratch directory on a vmfs volume connected to the host (if one is available).
To configure a scratch directory on a vmfs volume using the vSphere Client
  1. Connect to the host with vSphere Client.
  2. Select the host in the inventory.
  3. Click on the Configuration tab.
  4. Select Advanced Settings from the Software settings list.
  5. Find ScratchConfig in the parameters list and set the value for ScratchConfig.ConfiguredScratchLocation to a directory on a vmfs volume connected to the host.
  6. Click OK to apply your changes to the host.

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.


  • 15 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)

Please enter the Captcha code before clicking Submit.
  • 15 Ratings