0638.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Manually Create VMWare vSphere ESXi Datastore Partition</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Datastore,ESXi,ESXi 7,Partition,VMFS,VMware,VMware ESXi,VSphere,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Manually Create VMWare vSphere ESXi Datastore Partition">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/24/2022 01:45:29 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Manually Create VMWare vSphere ESXi Datastore Partition</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <ol>
  26. <li>Log into the ESXi web UI</li>
  27. <li>Enable the SSH service if it is not already enabled by selecting Actions &gt; Services &gt; Enable Secure Shell (SSH)</li>
  28. <li>Connect to the ESXi host via SSH</li>
  29. <li>Run the following commands
  30. <div class="codeBlock"># list connected disks<br />
  31. ls /dev/disks/<br />
  32. # using one of the partition ids from the above output<br />
  33. # list the partition table<br />
  34. partedUtil getptbl /dev/disks/&lt;%partition id%&gt;<br />
  35. # add the new partition to the partition table<br />
  36. partedUtil add /dev/disks/&lt;%partition id%&gt; gpt &quot;&lt;%partition number%&gt; &lt;%starting sector%&gt; &lt;%ending sector%&gt; AA31E02A400F11DB9590000C2911D1B8 0&quot;<br />
  37. # create vmfs volume<br />
  38. vmkfstools -C vmfs6 -S &lt;%custom label%&gt; /dev/disks/&lt;%partition id%&gt;:&lt;%partition number%&gt;</div>
  39. </li>
  40. <li>Back in the ESXi web UI, select Storage from the left navigation menu</li>
  41. <li>The new Datastore should be listed and available for use</li>
  42. </ol>
  43. </div>
  44. </div>
  45. </body>
  46. </html>