<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Louisiana VMware Users Group &#187; Swap</title>
	<atom:link href="http://www.lavmug.org/tag/swap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lavmug.org</link>
	<description>www.lavmug.org</description>
	<lastBuildDate>Wed, 10 Aug 2011 15:07:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Could not power on VM : No swap file. Failed to power on VM</title>
		<link>http://www.lavmug.org/2010/03/could-not-power-on-vm-no-swap-file-failed-to-power-on-vm/</link>
		<comments>http://www.lavmug.org/2010/03/could-not-power-on-vm-no-swap-file-failed-to-power-on-vm/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 02:07:03 +0000</pubDate>
		<dc:creator>wsellers</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[File]]></category>
		<category><![CDATA[No]]></category>
		<category><![CDATA[Power On]]></category>
		<category><![CDATA[Swap]]></category>

		<guid isPermaLink="false">http://www.lavmug.org/?p=66</guid>
		<description><![CDATA[&#8220;Could not power on VM : No swap file. Failed to power on VM&#8221; &#8211; This issue is caused when a VM guest tries to power on and some other ESX host has one or more guest files open. This is usually due to a crash or fault in the ESX Cluster that HA did [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">&#8220;Could not power on VM : No swap file. Failed to power on VM&#8221; &#8211; This issue is caused when a VM guest tries to power on and some other ESX host has one or more guest files open. This is usually due to a crash or fault in the ESX Cluster that HA did not complete successfully.</div>
<p><P>
<div id="_mcePaste">Here is how to fix:</div>
<p><P>
<div>#1) Login to each ESX&#8217;s service console and issue this command: is case sensitive.</div>
<div id="_mcePaste">For ESX2.x and 3.0.x type: ps -ef | grep vm_guest_name For ESX3.5.x type: ps -efwww | grep vm_guest_name</div>
<p><P>
<div>If the VM is not running on the ESX host you are on, you will get something like:</div>
<div id="_mcePaste">root 3483 3217 0 10:38 pts/2 00:00:00 grep vm_guest_name</div>
<p><P>
<div>If you get something like this: (This is the process that has your file open in ESX)</div>
<div id="_mcePaste">root 1092 1 0 10:33 ? 00:00:00 /usr/lib/vmware/bin/vmkload_app /usr/lib/vmware/bin/vmware-vmx -ssched.group=host/user -# name=VMware ESX Server;version=3.5.0;licensename=VMware ESX Server;licenseversion=2.0 build-82663; -@ pipe=/tmp/vmhsdaemon-0/vmx6a6188c22e804baf; /vmfs/volumes/48729e6e-7cf3b2df-6ca0-001ec9b1b30a/vm_guest_name/vm_guest_name.vmx</div>
<p><P>
<div id="_mcePaste">#2) You will want to kill the process that is still holding your VM guest files open. You can do this by typing:</div>
<div id="_mcePaste">kill -9 pid Example using above VM: kill -9 1092 ( you will notice the pid/process ID in bold)</div>
<p><P>
<div id="_mcePaste">#3) After doing this, you should be able to Power On your VM guest.</div>
<div id="_mcePaste">*** Please remember that some HA/DRS issue could have caused this error. Please take a close look at your guest/hosts logs OR call VMware support.</div>
<p><P>
<div id="_mcePaste">-Will</div>
<div id="tweetbutton66" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Fwww.lavmug.org%2F2010%2F03%2Fcould-not-power-on-vm-no-swap-file-failed-to-power-on-vm%2F&amp;via=lavmug&amp;text=Could%20not%20power%20on%20VM%20%3A%20No%20swap%20file.%20Failed%20to%20power%20on%20VM&amp;related=&amp;lang=en&amp;count=horizontal" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://www.lavmug.org/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div>		<div style="float:right;margin:10px 10px 0px 0px;">
			<a class="DiggThisButton DiggCompact" href="http://digg.com/submit?url=http%3A%2F%2Fwww.lavmug.org%2F2010%2F03%2Fcould-not-power-on-vm-no-swap-file-failed-to-power-on-vm%2F&title=Could+not+power+on+VM+%3A+No+swap+file.+Failed+to+power+on+VM" rel="news, tech_news"><span style="display:none">&#8220;Could not power on VM : No swap file. Failed to power on VM&#8221; &#8211; This issue is caused when a VM guest tries to power on and some other ESX host has one or more guest files open. This is usually due to a crash or fault in the ESX Cluster that HA did [...]</span></a>		
		</div>		
		]]></content:encoded>
			<wfw:commentRss>http://www.lavmug.org/2010/03/could-not-power-on-vm-no-swap-file-failed-to-power-on-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

