{"id":833,"date":"2020-02-12T11:37:16","date_gmt":"2020-02-12T17:37:16","guid":{"rendered":"http:\/\/zewwy.ca\/?p=833"},"modified":"2020-02-12T16:11:05","modified_gmt":"2020-02-12T22:11:05","slug":"using-a-usb-device-as-a-datastore-on-vmware-esxi","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2020\/02\/12\/using-a-usb-device-as-a-datastore-on-vmware-esxi\/","title":{"rendered":"Using A USB Device as a Datastore on VMware ESXi"},"content":{"rendered":"<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"USB_datastore\"><\/span>USB datastore<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Attach USB device in Windows -&gt; DiskPart -&gt; Select Disk -&gt; Clean<\/p>\n<p>To see USB device on host, <a href=\"https:\/\/kb.vmware.com\/s\/article\/2065934\">stop arbitrator service<\/a>, save to config, reboot<\/p>\n<p>Now the hard parts, normally even following guide to see USB stick on host mount 4 gig volume, I had 16 gig cruiser to use.<\/p>\n<p><a href=\"https:\/\/www.linkedin.com\/pulse\/worlds-first-esxi-datastore-external-usb-storage-chee-wee-\">Source<\/a><\/p>\n<p>Perform a lspci -v to get all the USB UHCI and EHCI controllers to show up.<br \/>\nThis shows up for example as:<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/9BDXZeu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/9BDXZeu.png\" alt=\"\" width=\"624\" height=\"368\" \/><\/a><\/p>\n<pre>DEVICE=\/dev\/disks\/t10.JMicron_USB_to_ATA2FATAPI_Bridge<\/pre>\n<pre>partedUtil mklabel ${DEVICE} msdos<\/pre>\n<pre>END_SECTOR=$(eval expr $(partedUtil getptbl ${DEVICE} | tail -1 | awk '{print $1 \" \\\\* \" $2 \" \\\\* \" $3}') - 1)<\/pre>\n<pre>\/sbin\/partedUtil \"setptbl\" \"${DEVICE}\" \"gpt\" \"1 2048 ${END_SECTOR} AA31E02A400F11DB9590000C2911D1B8 0\"<\/pre>\n<pre>\/sbin\/vmkfstools -C vmfs5 -b 1m -S $(hostname -s)-local-datastore ${DEVICE}:1<\/pre>\n<p>That easy \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>USB datastore Attach USB device in Windows -&gt; DiskPart -&gt; Select Disk -&gt; Clean To see USB device on host, stop arbitrator service, save to config, reboot Now the hard parts, normally even following guide to see USB stick on host mount 4 gig volume, I had 16 gig cruiser to use. Source Perform a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2020\/02\/12\/using-a-usb-device-as-a-datastore-on-vmware-esxi\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using A USB Device as a Datastore on VMware ESXi&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[5],"tags":[234,93,88],"class_list":["post-833","post","type-post","status-publish","format-standard","hentry","category-hypervisors","tag-datastore","tag-usb","tag-vmware"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=833"}],"version-history":[{"count":2,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/833\/revisions"}],"predecessor-version":[{"id":835,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/833\/revisions\/835"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}