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

A virtual machine fails to power on with the error: Failed to extend swap file from 0 KB to xxxx KB: Invalid metadata (1030719)

Last Updated: 9/4/2016Categories: TroubleshootingTotal Views: 120918Language:
Chinese (Simplified)JapaneseEnglish

9 like this article

Subscribe to get an email
newsletter with new updates

9 people found this helpful Please provide article feedback:

Symptoms

Powering on a virtual machine fails

You cannot power on a virtual machine

You see one of these error:

Error message: Failed to extend swap file (fileHandle xxxxx) from 0 KB to yyyyy KB: Invalid metadata.

Could not power on VM : Invalid metadata. Failed to power on VM.

Could not power on VM : No space left on device
Failed to power on VM.
Failed to extend swap file from 0 KB to yyyyy KB.

You can power on the virtual machine if setting a memory reservation to the same size as the RAM assigned to the virtual machine

The VMkernel logs show messages similar to:

Nov 15 11:46:18 esx02 vmkernel: 112:02:17:36.504 cpu0:108855)WARNING: VSCSI: 4129: Can't translate bad0099/Invalid metadata to SCSI: using MEDIUM ERROR
Nov 15 11:46:45 esx02 vmkernel: 112:02:18:03.763 cpu2:108883)WARNING: FS3: 7552: Volume 4b0432c8-f4d6dae8-b086-002655826b48 ("Volume1") may be damaged on disk. Corrupt lock detected at offset c08b2d9e00050000: [type 12538 offset 13874233233673355264 v 13874233233703141290, hb o
Nov 15 11:46:45 esx02 vmkernel: 112:02:18:03.763 cpu2:108883)WARNING: Swap: 2214: Failed to extend swap file: Invalid metadata, fileHandle 656212749, from 0KB to 4194304KB.

Resolution

This issue occurs if the ESX/ESXi host is unable to create the swap file required to power on the virtual machine. This is most likely due to a storage problem on the datastore where the swap file is located.

To workaround this issue when you see the Invalid metadata error, perform one of these options:

Note: This workaround allows you to power on the virtual machine. You still need to investigate the underlying storage issue.

Configure the ESX/ESXi host to create the swap file on another datastore.

For more information, see Storing a virtual machine swap file in a location other than the default in ESX/ESXi (1004082).

Create a memory reservation with the same size as the memory assigned to the virtual machine. This prevents the creation of a swap file.

For more information, see the Resource Management Guide.

To workaround this issue when you see the error No space left on device, grow or add extents to the volume in question.

Related Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box
Storing a virtual machine swap file in a location other than the default in ESX/ESXi
仮想マシンが次のエラーでパワーオンに失敗する：スワップ ファイルを 0 KB から xxxx KB に拡張できませんでした：無効なメタデータ
虚拟机无法打开电源，并显示错误：无法将交换文件从 0 KB 扩展到 xxxx KB: 元数据无效

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
具有 Smart Array P212、P400、P400i、P410、P410i、P411 或 P712m 控制器的 Hewlett Packard 系统变得无响应 (1014611)

KB
•
iSCSI または NFS データストアでジャンボ フレームを使用するときのディスク待ち時間のトラブルシューティング (2002197)

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 vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.1

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESX 4.1.x

VMware ESX 4.0.x

Take Our Survey

Support Assistant