<?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>Professional VMware &#187; vmdk</title> <atom:link href="http://professionalvmware.com/category/vmdk/feed/" rel="self" type="application/rss+xml" /><link>http://professionalvmware.com</link> <description>How Many Turtles Can You Fit On A Rock?</description> <lastBuildDate>Thu, 24 May 2012 13:39:29 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Shared VMDKs on vSphere ESX and ESXi</title><link>http://professionalvmware.com/2010/04/shared-vmdks-on-vsphere-esx-and-esxi/</link> <comments>http://professionalvmware.com/2010/04/shared-vmdks-on-vsphere-esx-and-esxi/#comments</comments> <pubDate>Mon, 12 Apr 2010 19:23:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[vmdk]]></category> <category><![CDATA[vSphere]]></category> <category><![CDATA[VMware]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2010/04/shared-vmdks-on-vsphere-esx-and-esxi/</guid> <description><![CDATA[Got a comment on my share and share alike post that covered setting up shared VMDK files on VI3 / ESX 3.x. Seemingly it didn’t work any longer. Work or not, I figure it’s time to revisit this in a new way, using vCLI(rCLI)! This will require the following steps: Download &#38; install the vCLI [...]]]></description> <content:encoded><![CDATA[<p></p><p>Got a comment on my share and share alike post that covered setting up shared VMDK files on VI3 / ESX 3.x. Seemingly it didn’t work any longer. Work or not, I figure it’s time to revisit this in a new way, using vCLI(rCLI)! This will require the following steps:</p><ol><li>Download &amp; install the vCLI <br
/>First <a
href="http://www.vmware.com/support/developer/vcli/">download &amp; install vCLI</a>. I’ll wait… Ready? Fire it up and CD into the bin folder: <br
/>&#160;<a
href="http://professionalvmware.com/wp-content/uploads/2010/04/image2.png"><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://professionalvmware.com/wp-content/uploads/2010/04/image_thumb2.png" width="454" height="240" /></a></li><li>Next we use vmkfstools.pl to create the disk: <br
/><font
color="#808000" size="2" face="Courier New">vmkfstools.pl &#8211;server 192.168.15.8 -c 10G -d eagerzeroedthick /vmfs/volumes/lab/shared.vmdk -a lsilogic</font></li><li><p>For each VM, walk through the add hardware wizard, selecting the following:</p></li><ol><li><p>Hard Disk</p></li><li><p>Use Existing Hard Disk</p></li><li><p>Browse to the location of the disk you created</p></li><li><p>Under “Advanced Options” Change the “virtual device node” select a device that is on an unused adaptor (generally something in the 1: or 2: range) here’s a picture to help: <br
/><a
href="http://professionalvmware.com/wp-content/uploads/2010/04/image3.png"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2010/04/image_thumb3.png" width="454" height="156" /></a> <br
/><strong>Note</strong>: Use the same on both VMs. Consistency is good. mmmkay?</p></li><li>Back under edit settings for the new VM, change the new disk controller’s “SCSI Bus Sharing” to “Physical”: <br
/>&#160;<a
href="http://professionalvmware.com/wp-content/uploads/2010/04/image4.png"><img
style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://professionalvmware.com/wp-content/uploads/2010/04/image_thumb4.png" width="454" height="222" /></a></li></ol><li>Repeat for both VMs</li><li>At this point you can power on the VMs &amp; follow your OS vendors setup guideline for shared disks.</li></ol><p>Hope you found this informative. Questions, comments, corrections, or requests? Drop a line in the comments!</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2010/04/shared-vmdks-on-vsphere-esx-and-esxi/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>vSphere Storage: Features and Enhancements</title><link>http://professionalvmware.com/2009/10/vsphere-storage-features-and-enhancements/</link> <comments>http://professionalvmware.com/2009/10/vsphere-storage-features-and-enhancements/#comments</comments> <pubDate>Mon, 26 Oct 2009 11:13:18 +0000</pubDate> <dc:creator>darky</dc:creator> <category><![CDATA[storage]]></category> <category><![CDATA[vmdk]]></category> <category><![CDATA[vmfs]]></category> <category><![CDATA[vmkfstools]]></category> <category><![CDATA[vSphere]]></category> <guid
isPermaLink="false">http://professionalvmware.com/?p=869</guid> <description><![CDATA[If you are looking for a detailed explanation of the features and enhancements to the storage stacks in ESX 4 as well as the differences between storage in ESX 3.5 and 4.0, the following presentation has what you are looking for: Vmug V Sphere Storage (Rev E) View more presentations from guesta849bc8b. vSphere Storage: Features [...]]]></description> <content:encoded><![CDATA[<p></p><p>If you are looking for a detailed explanation of the features and enhancements to the storage stacks in ESX 4 as well as the differences between storage in ESX 3.5 and 4.0, the following presentation has what you are looking for:</p><div
style="text-align: left; width: 425px" id="__ss_2019691"><a
style="margin: 12px 0px 3px; display: block; font: 14px helvetica,arial,sans-serif; text-decoration: underline" title="Vmug V Sphere Storage (Rev E)" href="http://www.slideshare.net/guesta849bc8b/vmug-v-sphere-storage-rev-e">Vmug V Sphere Storage (Rev E)</a> <object
style="margin:0px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param
name="allowFullScreen" value="true" /><param
name="allowScriptAccess" value="always" /><param
name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=vmugvspherestoragereve-090918154619-phpapp02&amp;stripped_title=vmug-v-sphere-storage-rev-e" /><param
name="allowfullscreen" value="true" /><embed
style="margin:0px" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=vmugvspherestoragereve-090918154619-phpapp02&amp;stripped_title=vmug-v-sphere-storage-rev-e" allowscriptaccess="always" allowfullscreen="true"></embed></object><div
style="font-family: tahoma,arial; height: 26px; font-size: 11px; padding-top: 2px">View more <a
style="text-decoration: underline" href="http://www.slideshare.net/">presentations</a> from <a
style="text-decoration: underline" href="http://www.slideshare.net/guesta849bc8b">guesta849bc8b</a>.</div></p></div><p><a
href=" http://www.slideshare.net/guesta849bc8b/vmug-v-sphere-storage-rev-e">vSphere Storage: Features and Enhancements</a></p><p>This presentation was written and delivered by Nathan Small, a staff engineer working in VMware support, at the Mid-Missouri VMUG in August 2009.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2009/10/vsphere-storage-features-and-enhancements/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>How to Shrink a VMDK file in ESX</title><link>http://professionalvmware.com/2009/09/how-to-shrink-a-vmdk-file-in-esx/</link> <comments>http://professionalvmware.com/2009/09/how-to-shrink-a-vmdk-file-in-esx/#comments</comments> <pubDate>Fri, 18 Sep 2009 19:29:06 +0000</pubDate> <dc:creator>darky</dc:creator> <category><![CDATA[Disk resize]]></category> <category><![CDATA[vmdk]]></category> <guid
isPermaLink="false">http://professionalvmware.com/?p=861</guid> <description><![CDATA[While it is a somewhat known fact that you used to be able to shrink disks using vmkfstools -X in ESX 2.x, the option was removed as of ESX 3.0. The reason for this probably stems from those few customers that were not familiar with using the command properly and ended up cutting off too [...]]]></description> <content:encoded><![CDATA[<p></p><p>While it is a somewhat known fact that you used to be able to shrink disks using vmkfstools -X in ESX 2.x, the option was removed as of ESX 3.0. The reason for this probably stems from those few customers that were not familiar with using the command properly and ended up cutting off too much of the disk and corrupted their Guest OS file system as a result.</p><p>Ever since the option was removed there have been more experienced users wanting the option to be added back to vmkfstools as they are aware of the risks and want that ability again. For those people I just mentioned, I have a treat for you:</p><p>** Use this technique at your own risk. I do not and will not take responsibility for your corrupted vmdk&#8217;s as a result of following this process, whether correctly or incorrectly **</p><p>If you have ever taken a look at the descriptor file for a vmdk file, you will the &#8220;Extent description&#8221; section:</p><p># Extent description<br
/> RW 52428800 VMFS &#8220;foo-flat.vmdk&#8221;</p><p>The value between &#8216;RW&#8217; and &#8216;VMFS&#8217; is the size of disk when divided by 512:</p><p>52428800 * 512 = 26843545600 (25G)</p><p>-rw&#8212;&#8212;-    1 root     root     26843545600 Sep 18 19:10 foo-flat.vmdk<br
/> -rw&#8212;&#8212;-    1 root     root          370 Sep 18 19:11 foo.vmdk</p><p>If you want to shrink (or increase) the size of your vmdk file, alter this value in the descriptor file to reflect your new desired size*. You can do with this &#8216;vi&#8217; or &#8216;nano&#8217;:</p><p>* For this example I will to shrink the disk to 12.5G</p><p># Extent description<br
/> RW 26214400 VMFS &#8220;foo-flat.vmdk&#8221;</p><p>After making this change you can use &#8216;vmkfstools -i&#8217; to clone this disk:</p><p># vmkfstools -i foo.vmdk foo_1.vmdk<br
/> Destination disk format: VMFS thick<br
/> Cloning disk &#8216;foo.vmdk&#8217;&#8230;<br
/> Clone: 100% done.</p><p>You will discover that the cloned disk now reflects the new size of 12.5G:</p><p>-rw&#8212;&#8212;-    1 root     root     13421772800 Sep 18 19:13 foo_1-flat.vmdk<br
/> -rw&#8212;&#8212;-    1 root     root          372 Sep 18 19:13 foo_1.vmdk<br
/> -rw&#8212;&#8212;-    1 root     root     26843545600 Sep 18 19:10 foo-flat.vmdk<br
/> -rw&#8212;&#8212;-    1 root     root          370 Sep 18 19:11 foo.vmdk</p><p>This technique will also work if you try to cold migrate the VM or Storage VMotion it. This would be less cumbersome than trying to play around with another disk at the command line during a simple shrink process. Change your values and then migrate the disks via VI Client/VC to a different datastore. This will reduce disk space required for this operation and it will be a whole lot cleaner than a manual clone with vmkfstools and then a remove of the original.</p><p>SVMotion would be the a favourable option for those that do not want to incur downtime for their VM.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2009/09/how-to-shrink-a-vmdk-file-in-esx/feed/</wfw:commentRss> <slash:comments>22</slash:comments> </item> <item><title>Sharing and Snapshots &#8211; Another Look at Sharing VMDK Files</title><link>http://professionalvmware.com/2009/04/sharing-and-snapshots-another-look-at-sharing-vmdk-files/</link> <comments>http://professionalvmware.com/2009/04/sharing-and-snapshots-another-look-at-sharing-vmdk-files/#comments</comments> <pubDate>Thu, 09 Apr 2009 00:44:50 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[snapshots]]></category> <category><![CDATA[Troubleshooting]]></category> <category><![CDATA[vmdk]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2009/04/08/sharing-and-snapshots-another-look-at-sharing-vmdk-files/</guid> <description><![CDATA[Late Tuesday evening I was troubleshooting an issue with a Mr. Smith from #vmware on Freenode. Yes, really, his name was smith. The issue we were troubleshooting was related to sharing VMDK files, between two VMs running on separate hosts. After pointing Mr. Smith to my “Share and Share Alike” and feverently insisting that it [...]]]></description> <content:encoded><![CDATA[<p></p><p>Late Tuesday evening I was troubleshooting an issue with a Mr. Smith from #vmware on Freenode. Yes, really, his name was smith. The issue we were troubleshooting was related to sharing VMDK files, between two VMs running on separate hosts.</p><p>After pointing Mr. Smith to my <a
href="http://professionalvmware.com/2008/12/16/share-and-share-alike-sharing-vmdks-between-virtual-machines/">“Share and Share Alike”</a> and feverently insisting that it would work. “Really”, I promised, “I use it all the time.” He provided me some screenshots of the error he was getting in return:</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2009/04/broken.png"><img
title="Error Message &quot;Invalid Config for device&quot;" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="122" alt="Error Message &quot;Invalid Config for device&quot;" src="http://professionalvmware.com/wp-content/uploads/2009/04/broken-thumb.png" width="244" border="0" /></a>Descriptive isn’t it? So we chased it down this morning. What happened here was that one of the two VMs in the config had snapshots running. After deleting the snaps, and before the song with Leprechauns and Unicorns, the disk added on the second VM and powered on. As a result, the world was made a much happier place.</p><p>If you have any questions on this post or any others, please feel free to hit me up on <a
href="http://twitter.com/cody_bunch">twitter</a>, or drop a line in the comments section.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2009/04/sharing-and-snapshots-another-look-at-sharing-vmdk-files/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>A Practical Guide to Virtual Disks as Used by VMware &#8211; Part 1 Intro</title><link>http://professionalvmware.com/2009/01/a-practical-guide-to-virtual-disks-as-used-by-vmware-part-1-intro/</link> <comments>http://professionalvmware.com/2009/01/a-practical-guide-to-virtual-disks-as-used-by-vmware-part-1-intro/#comments</comments> <pubDate>Tue, 13 Jan 2009 19:39:23 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[storage]]></category> <category><![CDATA[vmdk]]></category> <category><![CDATA[vmfs]]></category> <category><![CDATA[vmkfstools]]></category> <category><![CDATA[VMware]]></category> <guid
isPermaLink="false">http://professionalvmware.com/?p=270</guid> <description><![CDATA[Time for a new series! Are you as excited and motivated as I am? In this series we’ll cover the Tops and Bottoms of VMware disk types. What are they, how do you make them, what are the benefits and drawbacks, and when would you use them. A lot to cover? Sure IS, but that [...]]]></description> <content:encoded><![CDATA[<p></p><p>Time for a new series! Are you as excited and motivated as I am? In this series we’ll cover the Tops and Bottoms of VMware disk types. What are they, how do you make them, what are the benefits and drawbacks, and when would you use them. A lot to cover? Sure IS, but that is why it’s a series. I’ll try to get these out once a week as time permits. Seems simple enough right? It is really. There are five basic food groups when it comes to VMware ESX 3.5.x and disk types:</p><ul><li>Zeroed Thick</li><li>Eager Zeroed Thick</li><li>Thick</li><li>Thin</li><li>Raw</li></ul><p>Thats it really. We&#8217;ll get into the specifics of each one of these in their own post in the series. The other 6 parts of this series will explain each of these in detail.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2009/01/a-practical-guide-to-virtual-disks-as-used-by-vmware-part-1-intro/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Share and Share Alike &#8211; Sharing VMDK&#8217;s Between Virtual Machines</title><link>http://professionalvmware.com/2008/12/share-and-share-alike-sharing-vmdks-between-virtual-machines/</link> <comments>http://professionalvmware.com/2008/12/share-and-share-alike-sharing-vmdks-between-virtual-machines/#comments</comments> <pubDate>Tue, 16 Dec 2008 14:35:00 +0000</pubDate> <dc:creator>bunchc</dc:creator> <category><![CDATA[ESX]]></category> <category><![CDATA[esx 3.5]]></category> <category><![CDATA[VI3]]></category> <category><![CDATA[VM]]></category> <category><![CDATA[vmdk]]></category> <category><![CDATA[VMware]]></category> <guid
isPermaLink="false">http://professionalvmware.com/2008/12/16/share-and-share-alike-sharing-vmdks-between-virtual-machines/</guid> <description><![CDATA[This can be used to enable ‘MSCS’ in a box, in a lab scenario, or any other sort of setup, where more than one VM will require access to the same disk. Careful here though, your file system will need to support this as well. Read on for more. First we need to make the [...]]]></description> <content:encoded><![CDATA[<p></p><p>This can be used to enable ‘MSCS’ in a box, in a lab scenario, or any other sort of setup, where more than one VM will require access to the same disk. Careful here though, your file system will need to support this as well. Read on for more.</p><p> <span
id="more-160"></span><p>First we need to make the disk:</p><p>Log into the service console and execute the following: <br
/>[root]# vmkfstools -c 249G -d thick /vmfs/volumes/250/shared.vmdk -a lsilogic</p><p>Reading that, it tells vmkfstools to create a 249 GB disk file, in a <em>thick</em> file with an adaptor type of Lsi Logic. The Thick formatting is critical, as it is what enables parts of this process. *Note, under normal circumstances <em>Thick</em> disk files are a security risk.</p><p>Next we add it to the VM’s</p><p><a
href="http://professionalvmware.com/wp-content/uploads/2008/12/1.png"><img
title="1" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="190" alt="1" src="http://professionalvmware.com/wp-content/uploads/2008/12/1-thumb.png" width="244" border="0" /></a></p><p>Use the existing disk: <br
/><a
href="http://professionalvmware.com/wp-content/uploads/2008/12/2.png"><img
title="2" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="190" alt="2" src="http://professionalvmware.com/wp-content/uploads/2008/12/2-thumb.png" width="244" border="0" /></a></p></p><p>Select the disk: <br
/><a
href="http://professionalvmware.com/wp-content/uploads/2008/12/3.png"><img
title="3" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="173" alt="3" src="http://professionalvmware.com/wp-content/uploads/2008/12/3-thumb.png" width="244" border="0" /></a></p><p>Use a new, unused SCSI Adaptor: <br
/><a
href="http://professionalvmware.com/wp-content/uploads/2008/12/4.png"><img
title="4" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="190" alt="4" src="http://professionalvmware.com/wp-content/uploads/2008/12/4-thumb.png" width="244" border="0" /></a></p><p>Last step: <br
/><a
href="http://professionalvmware.com/wp-content/uploads/2008/12/5.png"><img
title="5" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="190" alt="5" src="http://professionalvmware.com/wp-content/uploads/2008/12/5-thumb.png" width="244" border="0" /></a></p><p>There are our devices, make sure the adaptor is in <em>Physical</em> mode: <br
/><a
href="http://professionalvmware.com/wp-content/uploads/2008/12/6.png"><img
title="6" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="194" alt="6" src="http://professionalvmware.com/wp-content/uploads/2008/12/6-thumb.png" width="244" border="0" /></a></p><p>Hope this was helpful. Please leave any questions or thoughts in the comments.</p> ]]></content:encoded> <wfw:commentRss>http://professionalvmware.com/2008/12/share-and-share-alike-sharing-vmdks-between-virtual-machines/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> </channel> </rss>
