<?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 Re: Add existing datastores to ESX without formatting in vSphere Update Manager PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355526#M372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi LucD, but I need to import those disks, not only rescanning. Am I missing something on your question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 12:24:17 GMT</pubDate>
    <dc:creator>online11</dc:creator>
    <dc:date>2014-05-13T12:24:17Z</dc:date>
    <item>
      <title>Add existing datastores to ESX without formatting</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355524#M370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I am new to scripting, trying to find a script that add disks to ESX host just like we do on vcenter. &lt;/P&gt;&lt;P&gt;Rescan disks - Add Storage - Select Disk/Lun - naa IDs are known - Keep existing signature - Finish &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario is that: I have 50+ replicated disks that I have to import on DR site with a known naa.ids &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;luns ids like below:&lt;/P&gt;
&lt;P&gt;Fibre Channel Disk (naa.500506680180831a8000000000000505):1 &lt;/P&gt;
&lt;P&gt;Fibre Channel Disk (naa.400503480180821a8000000000000502):1 &lt;/P&gt;
&lt;P&gt;Fibre Channel Disk (naa.300503380180811a8000000000000511):1 &lt;/P&gt;
&lt;P&gt;Fibre Channel Disk (naa.200502280180851a8000000000000435):1 &lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;..&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets say I have 2 ESX hosts &lt;SPAN style="text-decoration: underline;"&gt;not clustered&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;ESX1 and ESX2&lt;/P&gt;&lt;P&gt;How would you add those 50 disks to the ESX hosts with a powercli script?&lt;/P&gt;&lt;P&gt;I am working on this issue quite some time but couldn't find a satisfactory answer.&lt;/P&gt;&lt;P&gt;PS: Keep existing signature is not a must, could be assign a new signature. All I need is not to format disk cause there is data inside.&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 12:01:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355524#M370</guid>
      <dc:creator>online11</dc:creator>
      <dc:date>2014-05-13T12:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add existing datastores to ESX without formatting</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355525#M371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you already try&amp;nbsp; ' Get-VMHostStorage -RescanAllHBA -RescanVmfs' &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 12:18:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355525#M371</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2014-05-13T12:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Add existing datastores to ESX without formatting</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355526#M372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi LucD, but I need to import those disks, not only rescanning. Am I missing something on your question?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 12:24:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355526#M372</guid>
      <dc:creator>online11</dc:creator>
      <dc:date>2014-05-13T12:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add existing datastores to ESX without formatting</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355527#M373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would first like to make sure that you don't "see" the LUNs after a simple scan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, you can will have to use the Get-EsxCli cmdlet to find any detached LUNs and attach them&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;$esxcli.storage.core.device.detached.list()&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;Once you find the detached LUNs (cross-check with your input), you can use the same cmdlet to attach the LUN.&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;$esxcli.storage.core.device.set&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;but watch out there was a syntax change between 5.0 and 5.1 !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 12:58:32 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355527#M373</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2014-05-13T12:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add existing datastores to ESX without formatting</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355528#M374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple scan shows all luns fine, no problem there. Even tho no need to rescan disks before adding. I need to find a way to add as existing storage without formatting. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 13:03:05 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355528#M374</guid>
      <dc:creator>online11</dc:creator>
      <dc:date>2014-05-13T13:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add existing datastores to ESX without formatting</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355529#M375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;$esxcli.storage.filesystem.mount&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;allows you to do.&lt;/P&gt;&lt;P&gt;Have a look at &lt;A href="http://pubs.vmware.com/vsphere-51/topic/com.vmware.vcli.examples.doc/cli_manage_files.5.5.html"&gt;Managing VMFS volumes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can do the same, with the same parameters, with the Get-EsxCli cmdlet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 16:57:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355529#M375</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2014-05-13T16:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add existing datastores to ESX without formatting</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355530#M376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks LucD!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 08:23:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Add-existing-datastores-to-ESX-without-formatting/m-p/1355530#M376</guid>
      <dc:creator>online11</dc:creator>
      <dc:date>2014-05-14T08:23:09Z</dc:date>
    </item>
  </channel>
</rss>

