<?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>blog.petecheslock.com &#187; vmdk</title>
	<atom:link href="http://blog.petecheslock.com/tag/vmdk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.petecheslock.com</link>
	<description>Demystifying and discussing cloud computing and storage solutions</description>
	<lastBuildDate>Fri, 21 May 2010 14:52:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Add VMware Paravirtual SCSI (PVSCSI) adapters.</title>
		<link>http://blog.petecheslock.com/2009/06/03/how-to-add-vmware-paravirtual-scsi-pvscsi-adapters/</link>
		<comments>http://blog.petecheslock.com/2009/06/03/how-to-add-vmware-paravirtual-scsi-pvscsi-adapters/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 20:51:13 +0000</pubDate>
		<dc:creator>petecheslock</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[vmdk]]></category>

		<guid isPermaLink="false">http://blog.petecheslock.com/?p=310</guid>
		<description><![CDATA[How to setup PVSCSI paravirtual scsi hard drive on vmware vsphere]]></description>
			<content:encoded><![CDATA[<p>A few months before the vSphere release VMware showed some amazing stats in regards to the increased level of I/O that can be attained in a virtual infrastructure.    They posted this info on <a href="http://blogs.vmware.com/performance/2009/05/350000-io-operations-per-second-one-vsphere-host-with-30-efds.html" target="_blank">their blog</a> and the outcome of the testing was impressive.   They were able to achieve 350,000 I/O operations per second on a single vSphere host (ESX 4.0) and with just 3 virtual machines.  Their testing utilized the EMC Enterprise Flash Drives, which have an incredibly high throughput.  They talked about how the VMware Paravirtual SCSI (PVSCSI) adapter was able to achieve 12% more throughput with 18% less CPU cost compared to the LSI virtual adapter.</p>
<p>Those stats are equally impressive, since being able to achieve an almost 20% CPU decrease while increasing performance means more density per virtual host.  This further allows companies to squeeze more resources from their virtual infrastructure without needing to purchase more hardware.  And in this economy, everyone is trying to get their money&#8217;s worth when it comes to their infrastructure capital spending.</p>
<p><span id="more-310"></span></p>
<p>Since PVSCSI adapters are not supported for boot devices (they work, just not <em>supported </em>by VMware), you will need to add a 2nd hard drive to use the PVSCSI adapter.   When setting up a new virtual environment on vSphere for a client, it wasn&#8217;t clear where exactly that option is located.  It seemed when adding a 2nd hard drive, it just used the existing SCSI adapter.  On the VMware KB site, I found KB article <a href="http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&amp;externalId=1010398" target="_blank"><strong>1010398</strong></a> which talks about the steps to set that up.  Below are the details from the VMware KB site.  The most important step is <strong>#12</strong>, you NEED to select a SCSI adapter that starts from SCSI (1:0) through SCSI (3:15).  Selecting the next available SCSI interface, eg.  SCSI (0:1), uses the boot volume SCSI adapter.<br />
<a href="http://blog.petecheslock.com/wp-content/uploads/2009/06/pvscsi1.jpg" rel="lightbox[310]"><img class="alignnone size-thumbnail wp-image-311" title="pvscsi1" src="http://blog.petecheslock.com/wp-content/uploads/2009/06/pvscsi1-150x150.jpg" alt="pvscsi1" width="150" height="150" /></a><br />
When you select SCSI (1:0) or higher, you&#8217;ll see the new SCSI controller added.<br />
<a href="http://blog.petecheslock.com/wp-content/uploads/2009/06/pvscsi2.jpg" rel="lightbox[310]"><img class="alignnone size-thumbnail wp-image-312" title="pvscsi2" src="http://blog.petecheslock.com/wp-content/uploads/2009/06/pvscsi2-150x150.jpg" alt="pvscsi2" width="150" height="150" /></a></p>
<blockquote>
<ol>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Launch a vSphere Client and log in to an ESX host system.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Select a virtual machine, or create a new one.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Ensure a guest operating system that supports PVSCSI is installed on the virtual machine.  Currently:</span><br />
<em><span style="font-size: 10pt; font-family: Arial;">Windows Server 2008</span><br />
<span style="font-size: 10pt; font-family: Arial;">Windows Server 2003</span><br />
<span style="font-size: 10pt; font-family: Arial;">Red Hat Enterprise Linux (RHEL) 5</p>
<p></span></em><span style="font-size: 10pt; font-family: Arial;"><strong>Note</strong>: Booting from a disk attached to a PVSCSI adapter is not supported. The system software must be installed on a disk attached to an adapter that does support bootable disk.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">In the vSphere Client, right-click on the virtual machine and click <strong>Edit Settings</strong>.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Click the <strong>Hardware</strong> tab.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Click <strong>Add</strong>.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Select <strong>Hard Disk</strong>.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Click <strong>Next</strong>.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Choose any one of the available options.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Click <strong>Next</strong>. </span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Specify the options your require. Options vary depending on which type of disk you chose.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Choose a <strong>Virtual Device</strong> N<strong>ode </strong>between SCSI (1:0) to SCSI (3:15) and specify whether you want to use <strong>Independent</strong> mode.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Click <strong>Next</strong>.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Click <strong>Finish</strong> to finish the process and exit the Add Hardware wizard. A new disk and controller are created.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Select the newly created controller and click <strong>Change Type</strong>.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Click <strong>VMware Paravirtual</strong> and click <strong>OK</strong>.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Click <strong>OK</strong> to exit the Virtual Machine Properties dialog.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Power on the virtual machine.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Install VMware Tools. VMware Tools includes the PVSCSI driver.</span></div>
</li>
<li>
<div><span style="font-size: 10pt; font-family: Arial;">Scan and format the hard disk.</span></div>
</li>
</ol>
</blockquote>
<p>I hope this helps anyone who wants to use the PVSCSI adapter, but is having trouble locating how exactly you add it to your virtual machine.  This vSphere update and the <a href="http://blogs.vmware.com/performance/2009/05/350000-io-operations-per-second-one-vsphere-host-with-30-efds.html" target="_blank">blog article</a> referenced above from the VMware website is just another example that shows if you size your virtual environment correctly, you can virtualize even your highest demanding I/O enterprise applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petecheslock.com/2009/06/03/how-to-add-vmware-paravirtual-scsi-pvscsi-adapters/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Invalid arguments: Virtual machine has no snapshots</title>
		<link>http://blog.petecheslock.com/2009/05/14/invalid-arguments-virtual-machine-has-no-snapshots-hidden-snapshots/</link>
		<comments>http://blog.petecheslock.com/2009/05/14/invalid-arguments-virtual-machine-has-no-snapshots-hidden-snapshots/#comments</comments>
		<pubDate>Thu, 14 May 2009 18:05:57 +0000</pubDate>
		<dc:creator>petecheslock</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Veeam]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[vmdk]]></category>

		<guid isPermaLink="false">http://blog.petecheslock.com/?p=250</guid>
		<description><![CDATA[I ran into an very interesting issue today with a client who is using Veeam Backup and Replication to keep their virtual machines replicated to a remote ESX server for disaster recovery.  Veeam starts a replication job and will take a snapshot of the virtual machine and then replicate the main VMDK disk file to [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into an very interesting issue today with a client who is using Veeam Backup and Replication to keep their virtual machines replicated to a remote ESX server for disaster recovery.  Veeam starts a replication job and will take a snapshot of the virtual machine and then replicate the main VMDK disk file to the remote site.  When the backup job finishes Veeam will tell VMware to remove the snapshot until the next replication schedule runs.  Since we are replicating our VM&#8217;s across a slow WAN connection (600Kbps optimized with Citrix WANScalers) the replication can often timeout, or hang.  Today I noticed that the replication had not updated since last night.  So I needed to stop the replication and re-start it.  Since the Citrix WANScalers can cache as well as compress, restarting a failed replication job is usually pretty quick, as most of the data was previously cached on the Citrix boxes.<br />
Here are the details of what I found, and how I fixed it&#8230;</p>
<p><span id="more-250"></span>To make the snapshot management easier, I store the VM configuration files on a separate LUN, and where you store the VM configuration files is where the snapshot deltas are created.  This lets us keep the main VMDK&#8217;s LUN&#8217;s fairly static, without worry of snapshots filling up our available space.   When looking at a specific VM today, I noticed that the data stores listed only showed the Snapshot LUN.  This had meant that there was a snapshot taken which had not been removed.  This particular VM was not currently replicating, so I knew that snapshot should not have existed.  Normal operation should show both the snapshot LUN and the VMDK LUN.</p>
<p><strong>This VM:<br />
</strong><a href="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot1.jpg" rel="lightbox[250]"><img class="size-thumbnail wp-image-264" title="snapshot1" src="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot1-150x150.jpg" alt="snapshot1" width="150" height="150" /></a><strong><br />
Working VM:<br />
</strong><a href="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot2.jpg" rel="lightbox[250]"><img class="size-thumbnail wp-image-258" title="snapshot2" src="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot2-150x150.jpg" alt="snapshot2" width="150" height="150" /></a><br />
When going to the Snapshot Manager, I was not able to see any snapshots on that virtual machine.<br />
<a href="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot5.jpg" rel="lightbox[250]"><img class="size-thumbnail wp-image-275" title="snapshot5" src="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot5-150x150.jpg" alt="snapshot5" width="150" height="150" /></a></p>
<p>I accessed the Datastore Browser to see if there were any delta VMDK&#8217;s on the disk; there ended up being 2 delta&#8217;s on my datastore.<br />
<a href="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot3.jpg" rel="lightbox[250]"><img class="size-thumbnail wp-image-273" title="snapshot3" src="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot3-150x150.jpg" alt="snapshot3" width="150" height="150" /></a></p>
<p>I wanted to confirm that the virtual machine was indeed running off the delta disk.  To check that, I simply went to edit the settings of this virtual machine, and looked at the virtual disk object.  In this instance it was accessing the disk &#8220;exch-000002-delta.vmdk&#8221;, which was one of my delta disks.<br />
<a href="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot4.jpg" rel="lightbox[250]"><img class="size-thumbnail wp-image-274" title="snapshot4" src="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot4-150x150.jpg" alt="snapshot4" width="150" height="150" /></a><br />
There is a command you can run on the service console to try to remove snapshots if you are unable to with the VI Client.</p>
<blockquote><p>/usr/bin/vmware-cmd &lt;path to VM cfg&gt; removesnapshots</p></blockquote>
<p>When I ran this command, I received the following error:</p>
<blockquote><p>VMControl error -3: Invalid arguments: Virtual machine has no snapshots</p></blockquote>
<p>Doing some research on the <a href="http://communities.vmware.com" target="_blank">VMware communities website</a>, I found a recomendation to create a new snapshot excluding the VM memory, and then removing the snapshot.  When I created a new snapshot on my virtual machine, I saw something very interesting.   I saw an additional snapshot called &#8220;Consolidate-Helper-0&#8243;<br />
<a href="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot7.jpg" rel="lightbox[250]"><img class="alignnone size-thumbnail wp-image-286" title="snapshot7" src="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot7-150x150.jpg" alt="snapshot7" width="150" height="150" /></a><br />
At this point I deleted all the snapshots from the VM, and waited for the process to finish.  A couple of my snapshots were pretty large, so vCenter timed out before they finished.  I waited an hour, and then confirmed they were gone by checking the virtual disk resource in the VM settings.<br />
<a href="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot8.jpg" rel="lightbox[250]"><img class="alignnone size-thumbnail wp-image-287" title="snapshot8" src="http://blog.petecheslock.com/wp-content/uploads/2009/05/snapshot8-150x150.jpg" alt="snapshot8" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petecheslock.com/2009/05/14/invalid-arguments-virtual-machine-has-no-snapshots-hidden-snapshots/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Extend Windows Boot Volumes in VMware</title>
		<link>http://blog.petecheslock.com/2009/04/07/how-to-extend-windows-boot-volumes-in-vmware/</link>
		<comments>http://blog.petecheslock.com/2009/04/07/how-to-extend-windows-boot-volumes-in-vmware/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 17:58:11 +0000</pubDate>
		<dc:creator>petecheslock</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[diskpart]]></category>
		<category><![CDATA[Extend]]></category>
		<category><![CDATA[Grow]]></category>
		<category><![CDATA[vmdk]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.petecheslock.com/?p=184</guid>
		<description><![CDATA[I am frequently asked the question about how to grow a VMware virtual disk (VMDK) and have it be recognized by the operating system.   If you are trying to simply extend a non-system volume within Windows (ie, anything other than the C:\ drive), then the process is pretty simple (refer to MS KB 325590).   But [...]]]></description>
			<content:encoded><![CDATA[<p>I am frequently asked the question about how to grow a VMware virtual disk (VMDK) and have it be recognized by the operating system.   If you are trying to simply extend a non-system volume within Windows (ie, anything other than the C:\ drive), then the process is pretty simple (refer to MS <a href="http://support.microsoft.com/kb/325590" target="_blank">KB 325590</a>).   But when you are trying to grow a C:\ with windows, you need to get around the limitation of extending the system partition.  This is just one more instance where VMware shows how powerful and flexible it truly is.</p>
<p><span style="color: #c0c0c0;"><strong>Disclaimer &#8211; Before doing anything like this, make sure you have adequate backups and understand that this is probably not supported by Microsoft or VMware &#8211; I take no responsibility for any damage to your systems</strong></span></p>
<p>If you would like to grow a virtual disk the &#8220;safe&#8221; way (read: much, much slower), you can use VMware&#8217;s Converter tool, which will grow the volume for you on conversion, the downside is that it will require the VM to be shutdown during the conversion.   The steps below can significantly speed up the process, especially if you have a very large VMDK which needs to be extended.</p>
<p><span id="more-184"></span></p>
<p>To grow a system volume, you are going to need a 2nd virtual machine that will act as the helper VM to mount the virtual disk you would like to extend.  I will be using 2 virtual machines, both are Windows 2003 standard.</p>
<p>The disk on the VM that I need to extend is currently 20GB, I would like to make this 80GB.  I have already made sure that I have enough space on my VMFS formatted storage partition to support this larger VMDK.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk1.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-192" title="extenddisk1" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk1-150x150.jpg" alt="extenddisk1" width="150" height="150" /></a></p>
<p>Next, I need to shutdown the VM to extend the disk.  There are 2 different ways to extend a VMDK.  The easiest way to grow the VMDK disk is to right-click the virtual machine in the VI Client, and select &#8220;Edit Settings&#8221;</p>
<p><img class="alignnone size-full wp-image-193" title="extenddisk2" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk2.jpg" alt="extenddisk2" width="226" height="142" /></p>
<p>Then Click on the virtual disk object, and enter in the new size of the VMDK (in my case I would like to extend this to 80GB), then click OK.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk3.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-194" title="extenddisk3" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk3-150x150.jpg" alt="extenddisk3" width="150" height="150" /></a></p>
<p>Power on the VM to make sure the OS can see the additional space; right-click &#8220;My Computer&#8221; &gt;&gt; &#8220;Manage&#8221; &gt;&gt; &#8220;Disk Management&#8221;.  It will not be able to use the space until we tell the OS to extend the partition to fill the remaining space.  You should see something similar to the image below.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk4.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-195" title="extenddisk4" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk4-150x150.jpg" alt="extenddisk4" width="150" height="150" /></a></p>
<p>Now, shut the VM down again, and also shutdown the helper VMh, the virtual machine that you are going to use to mount and extend the disk.   Once both virtual machines are shutdown, we are going to remove the virtual disk we are growing from our VM, and attach it to our helper VM.  To do this, right click the VM we are growing and select &#8220;Edit Settings&#8221;, click the virtual disk resource, and click &#8220;Remove&#8221;.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk5.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-198" title="extenddisk5" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk5-150x150.jpg" alt="extenddisk5" width="150" height="150" /></a></p>
<p>Click the option to &#8220;Remove from Virtual Machine&#8221;, do NOT click the other option, this WILL delete your virtual disk.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk6.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-199" title="extenddisk6" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk6-150x150.jpg" alt="extenddisk6" width="150" height="150" /></a></p>
<p>Now right click our helper VM, select &#8220;Edit Settings&#8221;, then select &#8220;Add&#8221; toward the bottom of the screen.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk7.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-200" title="extenddisk7" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk7-150x150.jpg" alt="extenddisk7" width="150" height="150" /></a></p>
<p>Select &#8220;Hard Disk&#8221;, next, and select the option to use an existing virtual disk.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk8.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-201" title="extenddisk8" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk8-150x150.jpg" alt="extenddisk8" width="150" height="150" /></a></p>
<p>Next, you will need to browse for the VMDK file that we are extending.  Since we have already grown the virtual disk to 80GB you will notice that in the size column for this VMDK.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk9.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-202" title="extenddisk9" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk9-150x150.jpg" alt="extenddisk9" width="150" height="150" /></a></p>
<p>After selecting the full path to your virtual disk, click thru the last couple pages, and you will see the virtual disk added to the VM&#8217;s hardware list.  After clicking OK, power-on the virtual machine, logon, and you will see the other VM&#8217;s disk connected at D:\ (or the next available drive letter).</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk10.jpg" rel="lightbox[184]"><img class="size-thumbnail wp-image-203 alignleft" title="extenddisk10" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk10-150x150.jpg" alt="extenddisk10" width="150" height="150" /></a></p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk11.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-204" title="extenddisk11" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk11-150x150.jpg" alt="extenddisk11" width="150" height="150" /></a></p>
<p>Now, we can finally run <a href="http://support.microsoft.com/kb/325590" target="_blank">diskpart</a> to extend our volume.  Click &#8220;Start&#8221; &gt;&gt; &#8220;Run&#8221; &gt;&gt; type &#8220;cmd&#8221; &gt;&gt; type &#8220;diskpart&#8221;.  You should see the diskpart command prompt.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk12.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-206" title="extenddisk12" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk12-150x150.jpg" alt="extenddisk12" width="150" height="150" /></a></p>
<p>Type &#8220;list volume&#8221; to display a list of all the attached volumes:</p>
<blockquote><p>DISKPART&gt; <strong>list volume</strong></p>
<p>Volume ###  Ltr  Label        Fs     Type        Size     Status     Info<br />
&#8212;&#8212;&#8212;-  &#8212;  &#8212;&#8212;&#8212;&#8211;  &#8212;&#8211;  &#8212;&#8212;&#8212;-  &#8212;&#8212;-  &#8212;&#8212;&#8212;  &#8212;&#8212;&#8211;<br />
Volume 0     C                NTFS   Partition     20 GB  Healthy    System<br />
Volume 1     D                       CD-ROM          0 B  Healthy<br />
Volume 2     E                NTFS   Partition     20 GB  Healthy</p></blockquote>
<p>We want to select the system volume 2, the boot volume is the disk for our helper VM.</p>
<blockquote><p>DISKPART&gt; <strong>select volume 2</strong></p>
<p>Volume 1 is the selected volume.</p></blockquote>
<p>Then we extend:</p>
<blockquote><p>DISKPART&gt; <strong>extend</strong></p>
<p>DiskPart successfully extended the volume.</p></blockquote>
<p>If you launch disk management, you will see the volume is now a single 80GB partition.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk13.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-208" title="extenddisk13" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk13-150x150.jpg" alt="extenddisk13" width="150" height="150" /></a></p>
<p>Finally, we shutdown our helper machine, detach the disk, and reattach it to our original VM.  When you power on the original with our extended disk, you will immediately see the additional space.  You may be prompted to reboot one time, so that the operating system will be able to work with the larger re-added disk.</p>
<p><a href="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk14.jpg" rel="lightbox[184]"><img class="alignnone size-thumbnail wp-image-209" title="extenddisk14" src="http://blog.petecheslock.com/wp-content/uploads/2009/04/extenddisk14-150x150.jpg" alt="extenddisk14" width="150" height="150" /></a></p>
<p>Enjoy your additional space!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.petecheslock.com/2009/04/07/how-to-extend-windows-boot-volumes-in-vmware/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
