<?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>Bahramov's Personal Blog &#187; VMWare</title>
	<atom:link href="http://www.bahramov.com/category/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bahramov.com</link>
	<description>Computers, databases, networks and virtualization</description>
	<lastBuildDate>Fri, 24 Jun 2011 12:05:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to replace BusLogic with LSI Logic SCSI controller on Virtual Machine</title>
		<link>http://www.bahramov.com/2009/07/10/how-to-replace-buslogic-with-lsi-logic-scsi-controller-on-virtual-machine/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.bahramov.com/2009/07/10/how-to-replace-buslogic-with-lsi-logic-scsi-controller-on-virtual-machine/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 15:23:38 +0000</pubDate>
		<dc:creator>Zaur Bahramov</dc:creator>
				<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.bahramov.com/2009/07/10/how-to-replace-buslogic-with-lsi-logic-scsi-controller-on-virtual-machine/</guid>
		<description><![CDATA[We have upgraded our servers from Windows 2000 to Windows 2003 and decided to upgrade the virtual SCSI controller from BusLogic to LSI Logic since it guarantees the significant performance boost. So, this is the way Iâ€™ve replaced the BusLogic SCSI controller with LSI Logic.
So, hereâ€™s how my virtual machine did look like before an [...]]]></description>
			<content:encoded><![CDATA[<p>We have upgraded our servers from Windows 2000 to Windows 2003 and decided to upgrade the virtual SCSI controller from BusLogic to LSI Logic since it guarantees the significant performance boost. So, this is the way Iâ€™ve replaced the BusLogic SCSI controller with LSI Logic.</p>
<p>So, hereâ€™s how my virtual machine did look like before an upgrade:</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb.png" width="244" height="194" /></a> <a href="http://www.bahramov.com/wp-content/uploads/2009/07/image1.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb1.png" width="244" height="173" /></a> </p>
<p> <span id="more-380"></span>
<p>Here are the steps Iâ€™ve followed:</p>
<p>1) Shutdown virtual machine, open properties window and click Addâ€¦ to open â€œAdd Hardware Wizardâ€ that will help you to add a new disk. Why do we need a new disk? Because you canâ€™t add a new SCSI controller without adding a new disk or assigning any other available disk to a new controller.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image2.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb2.png" width="244" height="190" /></a></p>
<p>2) Click Next and select â€œCreate a new virtual diskâ€.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image3.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb3.png" width="244" height="190" /></a> </p>
<p>3) Click Next again. Select the size of the disk. In my case I made it 1 Gb because I will delete it later after I replace a SCSI controller.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image4.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb4.png" width="244" height="191" /></a> </p>
<p>4) Again click Next button to go to advanced options. What I did here, I selected a second SCSI controller, which is <strong>SCSI (1:0)</strong>. This is the way I actually mount it on another SCSI controller which VMWare will add for me as soon as I will complete this wizard. </p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image5.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb5.png" width="244" height="190" /></a> </p>
<p>5) Click Next. Review what is to be done and then click Finish.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image6.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb6.png" width="244" height="191" /></a> </p>
<p>6) At this point you will see that the new BusLogic SCSI controller is added to virtual machine hardware list. Click OK.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image7.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb7.png" width="244" height="195" /></a> </p>
<p>7) Right click on a virtual machine and click Edit Settingsâ€¦ Click on SCSI Controller 1 and then Change Type button under SCSI controller type.</p>
<p> <img src='http://www.bahramov.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Select LSI Logic in the Change SCSI Controller Type dialog box and click OK.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image8.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb8.png" width="244" height="144" /></a> </p>
<p>9) You will see the following window where the controller type is LSI Logic:</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image9.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb9.png" width="244" height="196" /></a> </p>
<p>10) Click OK button and start your virtual machine. When Windows boots open Device manager ( Start â€“&gt; Run â€“&gt; devmgmt.msc ) and click â€œ+â€ in front of SCSI and RAID controllers node. You will see both controllers that youâ€™ve added:</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image10.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb10.png" width="244" height="172" /></a> </p>
<p>11) Now you need yet to replace the first BusLogic SCSI Controller with the LSI Logic controller. To do that shutdown virtual machine and open Properties window. </p>
<p>12) Now itâ€™s time to change the type of SCSI Controller 0 from BusLogic to LSI Logic. You can also delete the Hard Disk 2, which you added in the beginning for temporary purposes. This is what you should see after changing the controller type to LSI Logic. Click OK.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image11.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb11.png" width="244" height="194" /></a> </p>
<p>13) Again open the properties of the Virtual Machine to see that all changes where successfully committed. Click OK to close this window and start the VM.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image12.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb12.png" width="244" height="195" /></a> </p>
<p>14) Notice, that when you will start it there will be a small yellow balloon on a VM icon.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image13.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb13.png" width="137" height="39" /></a> </p>
<p>15) Right click on a VM and select Answer Questionâ€¦</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image14.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb14.png" width="147" height="244" /></a> </p>
<p>16) Virtual Machine Question dialog window appears asking you whether you want to allow ESX Server to change the adapter diskâ€™s type for you. </p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image15.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb15.png" width="244" height="99" /></a>&#160;</p>
<blockquote><p><font size="1">Virtual Machine Message      <br />msg.disk.adapterMismatch:The disk connected to the scsi0:0 node has been created for a BusLogic SCSI adapter, but the virtual machine&#8217;s scsi0 device is a LSI Logic SCSI adapter. VMWare ESX Server can change the disk&#8217;s adapter type to LSI Logic. use caution; if a guest operating system is installed on this disk, it may not be able to boot.       <br />Do you want VMWare ESX Server to change the adapter type for scsi0:0 disk?</font></p></blockquote>
<p>17) Click Yes, then OK.</p>
<p>18) At this point, when you will start your VM and boot into Windows, open the device manager you will see only 1 SCSI controller:</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image16.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb16.png" width="244" height="174" /></a> </p>
<p>19) However, we have not finished yet. By default, Windows doesnâ€™t show devices which are currently disconnected and driverâ€™s of such devices are still installed. If we know that weâ€™ll never again need these devices we can uninstall them. First, you will have to turn on visualization of disconnected devices. Check <a href="http://www.computerperformance.co.uk/vista/vista_tips.htm#Environment_Variable:__To_Troubleshoot_Phantom_Devices" target="_blank">here</a> to learn how to do that.</p>
<p>20) Then open device manager, click View and select â€˜Show hidden devicesâ€™.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image17.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb17.png" width="244" height="162" /></a> </p>
<p>21) Open SCSI and RAID Controllers node and check for dimmed (phantom) devices.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image18.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb18.png" width="244" height="174" /></a> </p>
<p>22) Right-click each dimmed device and uninstall it.</p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image19.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb19.png" width="244" height="116" /></a></p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image20.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb20.png" width="244" height="159" /></a> </p>
<p><a href="http://www.bahramov.com/wp-content/uploads/2009/07/image21.png#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" title="image"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.bahramov.com/wp-content/uploads/2009/07/image_thumb21.png" width="244" height="173" /></a>&#160; </p>
<p>23) Reboot Windows.</p>
<p>&#160;</p>
<p>Some useful links:</p>
<ul>
<li><a href="http://www.petri.co.il/virtual_vmware_files_explained.htm" target="_blank">VMware Files Explained: VMDK, VMEM, VMSN, VMSD, VMX &amp; More</a></li>
<li><a href="http://support.microsoft.com/kb/315539" target="_blank">Device Manager does not display devices that are not connected to the Windows XP-based computer</a></li>
<li><a href="http://download3.vmware.com/software/vmscsi-1.2.0.4.flp" target="_blank">BusLogic SCSI Disk Driver</a> [<a title="http://www.vmware.com/download/ws/drivers_tools.html" href="http://www.vmware.com/download/ws/drivers_tools.html">http://www.vmware.com/download/ws/drivers_tools.html</a>]</li>
<li><a href="http://www.vmware.com/support/esx21/doc/esx21admin_lsilogic_vms.html" target="_blank">Configuring a Virtual Machine to Use the LSI Logic SCSI Adapter</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bahramov.com/2009/07/10/how-to-replace-buslogic-with-lsi-logic-scsi-controller-on-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>VMWare Workstation: Set BIOS POST delay</title>
		<link>http://www.bahramov.com/2009/03/18/vmware-workstation-set-bios-post-delay/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.bahramov.com/2009/03/18/vmware-workstation-set-bios-post-delay/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 21:25:54 +0000</pubDate>
		<dc:creator>Zaur Bahramov</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[VMWare Workstation]]></category>

		<guid isPermaLink="false">http://www.bahramov.com/?p=59</guid>
		<description><![CDATA[In VMWare Workstation if you need to configure the BIOS POST delay you have to edit the .vmx file as follows:
bios.bootDelay = &#34;5000&#34;
 &#8211; adds an additional 5 second boot delay
OR:
bios.forceSetupOnce = &#34;TRUE&#34;
 &#8211; forces the VM to enter the BIOS on the next start (this parameter will be automatically reset to FALSE).
]]></description>
			<content:encoded><![CDATA[<p>In VMWare Workstation if you need to configure the BIOS POST delay you have to edit the .vmx file as follows:</p>
<pre class="brush: plain">bios.bootDelay = &quot;5000&quot;</pre>
<p> &#8211; adds an additional 5 second boot delay<br />
OR:</p>
<pre class="brush: plain">bios.forceSetupOnce = &quot;TRUE&quot;</pre>
<p> &#8211; forces the VM to enter the BIOS on the next start (this parameter will be automatically reset to FALSE).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bahramov.com/2009/03/18/vmware-workstation-set-bios-post-delay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Examples Using the VMware Virtual Disk Manager</title>
		<link>http://www.bahramov.com/2009/03/18/examples-using-the-vmware-virtual-disk-manager/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.bahramov.com/2009/03/18/examples-using-the-vmware-virtual-disk-manager/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 10:52:59 +0000</pubDate>
		<dc:creator>Zaur Bahramov</dc:creator>
				<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Virtual Disk Manager]]></category>

		<guid isPermaLink="false">http://www.bahramov.com/?p=12</guid>
		<description><![CDATA[From: VMWare KB
The following examples illustrate how to use the virtual disk manager. You run the virtual disk manager from a command prompt.
Creating a Virtual Disk
To create a new virtual disk, use a command like the following:
vmware-vdiskmanager -c -t 0 -s 40GB -a ide myDisk.vmdk
This creates a 40GB IDE virtual disk named myDisk.vmdk. The virtual [...]]]></description>
			<content:encoded><![CDATA[<p>From: <a title="VMWare Knowledgebase Article" href="http://www.vmware.com/support/ws45/doc/disks_vdiskmanager_eg_ws.html#1057652" target="_blank">VMWare KB</a></p>
<p>The following examples illustrate how to use the virtual disk manager. You run the virtual disk manager from a command prompt.</p>
<p><strong>Creating a Virtual Disk</strong><br />
To create a new virtual disk, use a command like the following:</p>
<pre class="brush: plain">vmware-vdiskmanager -c -t 0 -s 40GB -a ide myDisk.vmdk</pre>
<p>This creates a 40GB IDE virtual disk named myDisk.vmdk. The virtual disk is contained in a single .vmdk file. The disk space is not preallocated.</p>
<p><strong>Converting a Virtual Disk</strong></p>
<p>To convert a virtual disk from preallocated to growable, use a command like the following:</p>
<pre class="brush: plain">vmware-vdiskmanager -r sourceDisk.vmdk -t 0 targetDisk.vmdk</pre>
<p>This converts the disk from its original preallocated type to a growable virtual disk consisting of a single virtual disk file. The virtual disk space is no longer preallocated, and the virtual disk manager reclaims some disk space in the virtual disk so it is only as large as the data contained within it.</p>
<p><strong><span id="more-12"></span>Expand the Size of an Existing Virtual Disk</strong></p>
<p>To expand the size of a virtual disk, use a command like the following:</p>
<pre class="brush: plain">vmware-vdiskmanager -x 40GB myDisk.vmdk</pre>
<p>This increases the maximum capacity of the virtual disk to 40GB.</p>
<p><strong>Renaming a Virtual Disk</strong></p>
<p>To rename a virtual disk, first remove it from any virtual machine that contains the disk (choose <strong>VM </strong>&gt; <strong>Settings </strong>&gt; , then click <strong>Remove</strong>).</p>
<p>Then use the following:</p>
<pre class="brush: plain">vmware-vdiskmanager -n myDisk.vmdk myNewDisk.vmdk</pre>
<p>To rename the disk and locate it in a different directory, use:</p>
<pre class="brush: plain">vmware-vdiskmanager -n myDisk.vmdk ..\&lt;new&gt;\&lt;path&gt;\myNewDisk.vmdk
</pre>
<blockquote><p>Note: The paths used in these examples assume a Windows host.</p></blockquote>
<p>To locate the disk in a different directory but keep the same name, use:</p>
<pre class="brush: plain">vmware-vdiskmanager -n myDisk.vmdk ..\&lt;new&gt;\&lt;path&gt;\myDisk.vmdk
</pre>
<p>After you rename or relocate the virtual disk, add it back to any virtual machines that use it. Choose <strong>VM </strong>&gt; <strong>Settings</strong>, click <strong>Add</strong>, then follow the wizard to add this existing virtual disk.</p>
<p><strong>Defragmenting a Virtual Disk</strong></p>
<p>To defragment a virtual disk, use a command like the following:</p>
<pre class="brush: plain">vmware-vdiskmanager -d myDisk.vmdk</pre>
<blockquote><p>Remember, you cannot defragment a virtual disk if you allocated all the disk space when you created the virtual disk. You cannot defragment a physical disk.</p></blockquote>
<p><strong>Preparing a Virtual Disk for Shrinking</strong></p>
<p>Before you can shrink a virtual disk, you must prepare each volume on the disk (C: or D:, for example) for shrinking. To prepare a volume, it must be located on a Windows host. First you must mount the volume. To mount the volume, use the VMware DiskMount Utility, available as a free download from the VMware Web site. For information about downloading and using VMware DiskMount, see <a href="http://www.vmware.com/support/ws45/doc/disks_vdiskmanager_shrink_ws.html#1057614" target="_blank">Shrinking Virtual Disks with VMware Virtual Disk Manager</a>.</p>
<p>VMware DiskMount mounts individual volumes of a virtual disk. For the best results when you shrink a virtual disk, you should mount all the volumes and shrink them.</p>
<p>After you mount a virtual disk volume, use the virtual disk manager to prepare the disk for shrinking. To prepare the volume mounted as the M: drive for shrinking, use the following command:</p>
<pre class="brush: plain">vmware-vdiskmanager -p M:</pre>
<p>Once the preparations are complete, unmount the volume. Repeat this process for each volume of the virtual disk. After you prepare all the volumes for shrinking, you can shrink the virtual disk.</p>
<p><strong>Shrinking a Virtual Disk</strong></p>
<p>To shrink a virtual disk, it must be located on a Windows host. Before you can shrink the virtual disk, make sure you prepare all the volumes of the virtual disk for shrinking. Then use a command like the following:</p>
<pre class="brush: plain">vmware-vdiskmanager -k myDisk.vmdk</pre>
<p>Remember, you cannot shrink a virtual disk if you allocated all the disk space when you created the virtual disk. You cannot shrink a physical (raw) disk.</p>
<p>If the virtual disk has a snapshot, you cannot shrink the virtual disk. You must remove the snapshot before you shrink the virtual disk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bahramov.com/2009/03/18/examples-using-the-vmware-virtual-disk-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

