<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Diskadd and disk type in vSphere Command-Line Interface Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Diskadd-and-disk-type/m-p/945515#M422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the diskadd command to add a disk to an existing VM.&lt;/P&gt;&lt;P&gt;My command looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d;"&gt;vim-cmd vmsvc/device.diskadd $idvm $newdisk scsi0 $unit $ds2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$idvm = VM id&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$newdisk = size&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ds2 = datastore&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$unit= unit in scsi0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that the new disk is created either as a thin or a thick disk wiht no evident reason.&lt;/P&gt;&lt;P&gt;How does the command decide to create a thin or a thick disk?&lt;/P&gt;&lt;P&gt;How can I say to create a thin disk?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2018 12:01:42 GMT</pubDate>
    <dc:creator>MariusRoma</dc:creator>
    <dc:date>2018-05-14T12:01:42Z</dc:date>
    <item>
      <title>Diskadd and disk type</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Diskadd-and-disk-type/m-p/945515#M422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the diskadd command to add a disk to an existing VM.&lt;/P&gt;&lt;P&gt;My command looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d;"&gt;vim-cmd vmsvc/device.diskadd $idvm $newdisk scsi0 $unit $ds2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$idvm = VM id&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$newdisk = size&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$ds2 = datastore&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;$unit= unit in scsi0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that the new disk is created either as a thin or a thick disk wiht no evident reason.&lt;/P&gt;&lt;P&gt;How does the command decide to create a thin or a thick disk?&lt;/P&gt;&lt;P&gt;How can I say to create a thin disk?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 12:01:42 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Diskadd-and-disk-type/m-p/945515#M422</guid>
      <dc:creator>MariusRoma</dc:creator>
      <dc:date>2018-05-14T12:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Diskadd and disk type</title>
      <link>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Diskadd-and-disk-type/m-p/945516#M423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First create the disk:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 2px; font-family: proxima-nova, Arial, sans-serif; color: #666666;"&gt;vmkfstools –c 10G -a lsilogic -d thick /vmfs/volumes/datastore/vm1/vm1_1.vmdk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then attach it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: proxima-nova, Arial, sans-serif;"&gt;vim-cmd vmsvc/device.diskaddexisting &amp;lt;VM-ID&amp;gt; /vmfs/volumes/datastore/vm1/vm1_1.vmdk x y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: proxima-nova, Arial, sans-serif;"&gt;x: SCSI controller&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: proxima-nova, Arial, sans-serif;"&gt;y: SCSI target number &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: proxima-nova, Arial, sans-serif;"&gt;Hope to help &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: proxima-nova, Arial, sans-serif;"&gt;Alex&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 22:25:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Command-Line-Interface/Diskadd-and-disk-type/m-p/945516#M423</guid>
      <dc:creator>aleex42</dc:creator>
      <dc:date>2018-05-29T22:25:01Z</dc:date>
    </item>
  </channel>
</rss>

