<?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>lcqlys Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>lcqlys Tracker</description>
    <pubDate>Fri, 17 Nov 2023 19:53:16 GMT</pubDate>
    <dc:date>2023-11-17T19:53:16Z</dc:date>
    <item>
      <title>How to increase vm disk capacity using vSphere Client SDK?</title>
      <link>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/How-to-increase-vm-disk-capacity-using-vSphere-Client-SDK/m-p/2906349#M6045</link>
      <description>&lt;P&gt;I'm new to the SDK and can't find any documentation or code sample on how to increase a VM's disk capacity.&amp;nbsp; Any pointers?&lt;/P&gt;&lt;P&gt;I also tried the REST API but it doesn't seem to take the 'capacity' attribute in the request and keep getting 400 error:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I followed this REST API:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.vmware.com/apis/vsphere-automation/v7.0U1/vcenter/rest/vcenter/vm/vm/hardware/disk/disk/patch/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developer.vmware.com/apis/vsphere-automation/v7.0U1/vcenter/rest/vcenter/vm/vm/hardware/disk...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -kv --location --request PATCH 'https://{vcenterurl}/rest/vcenter/vm/vm-22/hardware/disk/4000' \&lt;BR /&gt;--header 'vmware-api-session-id: 826f459a3ec1a8cd8b8fc3797a6818fe' \&lt;BR /&gt;--header 'mimetype: application/json' \&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--header 'Cookie: vmware-api-session-id=826f459a3ec1a8cd8b8fc3797a6818fe' \&lt;BR /&gt;--data-raw '{&lt;BR /&gt;"spec": {&lt;BR /&gt;"backing": {&lt;BR /&gt;"vmdk_file": "[DS10] myVM.vmdk",&lt;BR /&gt;"type": "VMDK_FILE",&lt;BR /&gt;},&lt;BR /&gt;"capacity": 64424509440,&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;'&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Apr 2022 23:31:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Client-SDK-Discussions/How-to-increase-vm-disk-capacity-using-vSphere-Client-SDK/m-p/2906349#M6045</guid>
      <dc:creator>lcqlys</dc:creator>
      <dc:date>2022-04-27T23:31:31Z</dc:date>
    </item>
    <item>
      <title>Increase VM Disk Size using REST API vcenter vm hardware disk: PATCH doesn't work - get 400 error</title>
      <link>https://communities.vmware.com/t5/VMware-vCloud-API-Discussions/Increase-VM-Disk-Size-using-REST-API-vcenter-vm-hardware-disk/m-p/2906345#M2115</link>
      <description>&lt;P&gt;I'm trying to use the REST API to increase a VM's disk capacity and I tried this REST API but keep getting 400 Bad Request.&amp;nbsp; I tried with VM powered on or off but still getting 400. Does it not allow 'capacity' update?&lt;/P&gt;&lt;P&gt;I followed this REST API:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.vmware.com/apis/vsphere-automation/v7.0U1/vcenter/rest/vcenter/vm/vm/hardware/disk/disk/patch/" target="_blank" rel="noopener"&gt;https://developer.vmware.com/apis/vsphere-automation/v7.0U1/vcenter/rest/vcenter/vm/vm/hardware/disk/disk/patch/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;curl -kv --location --request PATCH 'https://{vcenterurl}/rest/vcenter/vm/vm-22/hardware/disk/4000' \&lt;BR /&gt;--header 'vmware-api-session-id: 826f459a3ec1a8cd8b8fc3797a6818fe' \&lt;BR /&gt;--header 'mimetype: application/json' \&lt;BR /&gt;--header 'Content-Type: application/json' \&lt;BR /&gt;--header 'Cookie: vmware-api-session-id=826f459a3ec1a8cd8b8fc3797a6818fe' \&lt;BR /&gt;--data-raw '{&lt;BR /&gt;"spec": {&lt;BR /&gt;"backing": {&lt;BR /&gt;"vmdk_file": "[DS10] myVM.vmdk",&lt;BR /&gt;"type": "VMDK_FILE",&lt;BR /&gt;},&lt;BR /&gt;"capacity": 64424509440,&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;'&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 22:33:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vCloud-API-Discussions/Increase-VM-Disk-Size-using-REST-API-vcenter-vm-hardware-disk/m-p/2906345#M2115</guid>
      <dc:creator>lcqlys</dc:creator>
      <dc:date>2022-04-27T22:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create new vm with -delta.vmdk</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Create-new-vm-with-delta-vmdk/m-p/1826865#M180064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, no more parent disk.&amp;nbsp; I browse to the datastore of the vm folder, I tried to create new vm with it and that failed. So from vcenter gui, I deleted the vm but the confirmation says it would not remove disk if it's shared and I believed it.&amp;nbsp; Only to realize it actually deleted the parent vmdk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 22:07:21 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Create-new-vm-with-delta-vmdk/m-p/1826865#M180064</guid>
      <dc:creator>lcqlys</dc:creator>
      <dc:date>2020-04-02T22:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create new vm with -delta.vmdk</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Create-new-vm-with-delta-vmdk/m-p/1826862#M180061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, my delta is huge, about 3gb, how to extract data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 21:24:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Create-new-vm-with-delta-vmdk/m-p/1826862#M180061</guid>
      <dc:creator>lcqlys</dc:creator>
      <dc:date>2020-04-02T21:24:06Z</dc:date>
    </item>
    <item>
      <title>Create new vm with -delta.vmdk</title>
      <link>https://communities.vmware.com/t5/ESXi-Discussions/Create-new-vm-with-delta-vmdk/m-p/1826858#M180057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I messed copying/creating a VM between vCenter 6 and 6.7.&amp;nbsp; I logged into my ESXi server and located my vm and all I have left is a test-000001-delta.vmdk.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is it possible to create new VM with the delta vmdk? I tried in vCenter 6.7 to create new vm with existing disk and browsed to that folder but it doesn't show up.&amp;nbsp; I see in the filesystem when I ssh into the ESXi server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is command line option to create new vm with -delta.vmdk, I would appreciate that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 20:22:33 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ESXi-Discussions/Create-new-vm-with-delta-vmdk/m-p/1826858#M180057</guid>
      <dc:creator>lcqlys</dc:creator>
      <dc:date>2020-04-02T20:22:33Z</dc:date>
    </item>
  </channel>
</rss>

