{"id":211,"date":"2010-09-09T22:32:33","date_gmt":"2010-09-09T21:32:33","guid":{"rendered":"http:\/\/www.p2vpro.com\/?p=211"},"modified":"2010-09-09T22:37:08","modified_gmt":"2010-09-09T21:37:08","slug":"poking-about-in-esxi4-1","status":"publish","type":"post","link":"https:\/\/www.p2vpro.com\/?p=211","title":{"rendered":"Poking about in ESXi4.1"},"content":{"rendered":"<p>Just looking about, waiting for inspiration, slightly guided by the impossible aim of making a USB stick into a datastore. Here&#8217;s one snippet from the log file:<\/p>\n<pre>Sep  9 17:24:40 vmkernel: 0:00:00:09.737 cpu0:4497)FSS: 3924: No FS driver claimed device\r\n 'mpx.vmhba32:C0:T0:L0:1': Not supported<\/pre>\n<p>And here&#8217;s another useful command I ran across which lists useful information about all your storage:<\/p>\n<pre>\/var\/log # esxcli corestorage device list\r\nt10.ATA_____ST3500418AS_________________________________________5VM89S46\r\nDisplay Name: Local ATA Disk (t10.ATA_____ST3500418AS_________________________________________5VM89S46)\r\nSize: 476940\r\nDevice Type: Direct-Access\r\nMultipath Plugin: NMP\r\nDevfs Path: \/vmfs\/devices\/disks\/t10.ATA_____ST3500418AS_________________________________________5VM89S46\r\nVendor: ATA\r\nModel: ST3500418AS\r\nRevision: CC38\r\nSCSI Level: 5\r\nIs Pseudo: false\r\nStatus: on\r\nIs RDM Capable: false\r\nIs Local: true\r\nIs Removable: false\r\nAttached Filters:\r\nVAAI Status: unknown\r\nOther UIDs: vml.010000000020202020202020202020202035564d3839533436535433353030<\/code>\r\n\r\nmpx.vmhba33:C0:T0:L0\r\nDisplay Name: Local USB Direct-Access (mpx.vmhba33:C0:T0:L0)\r\nSize: 1896\r\nDevice Type: Direct-Access\r\nMultipath Plugin: NMP\r\nDevfs Path: \/vmfs\/devices\/disks\/mpx.vmhba33:C0:T0:L0\r\nVendor: Generic\r\nModel: USB Flash Disk\r\nRevision: 8.07\r\nSCSI Level: 2\r\nIs Pseudo: false\r\nStatus: on\r\nIs RDM Capable: false\r\nIs Local: true\r\nIs Removable: true\r\nAttached Filters:\r\nVAAI Status: unknown\r\nOther UIDs: vml.0000000000766d68626133333a303a30\r\n\r\nmpx.vmhba32:C0:T0:L0\r\nDisplay Name: Local USB Direct-Access (mpx.vmhba32:C0:T0:L0)\r\nSize: 15318\r\nDevice Type: Direct-Access\r\nMultipath Plugin: NMP\r\nDevfs Path: \/vmfs\/devices\/disks\/mpx.vmhba32:C0:T0:L0\r\nVendor: Single\r\nModel: Flash Reader\r\nRevision: 1.00\r\nSCSI Level: 2\r\nIs Pseudo: false\r\nStatus: on\r\nIs RDM Capable: false\r\nIs Local: true\r\nIs Removable: true\r\nAttached Filters:\r\nVAAI Status: unknown\r\nOther UIDs: vml.0000000000766d68626133323a303a30\r\n\r\nt10.ATA_____Hitachi_HDS721010CLA332_______________________JP2911HQ0MK9TA\r\nDisplay Name: Local ATA Disk (t10.ATA_____Hitachi_HDS721010CLA332_______________________JP2911HQ0MK9TA)\r\nSize: 953869\r\nDevice Type: Direct-Access\r\nMultipath Plugin: NMP\r\nDevfs Path: \/vmfs\/devices\/disks\/t10.ATA_____Hitachi_HDS721010CLA332_______________________JP2911HQ0MK9TA\r\nVendor: ATA\r\nModel: Hitachi HDS72101\r\nRevision: JP4O\r\nSCSI Level: 5\r\nIs Pseudo: false\r\nStatus: on\r\nIs RDM Capable: false\r\nIs Local: true\r\nIs Removable: false\r\nAttached Filters:\r\nVAAI Status: unknown\r\nOther UIDs: vml.01000000002020202020204a50323931314851304d4b395441486974616368\r\n<\/pre>\n<p>Actually, that looks like <\/p>\n<pre>esxcfg-scsidevs -l<\/pre>\n<p> in another format.<\/p>\n<p>I did try again to create a filesystem on my USB device with the usual result:<\/p>\n<pre>\/sbin # vmkfstools -C vmfs3 \/dev\/disks\/mpx.vmhba32:C0:T0:L0\r\nChecking if remote hosts are using this device as a valid file system. This may take a few seconds...\r\nCreating vmfs3 file system on \"mpx.vmhba32:C0:T0:L0\" with blockSize 1048576 and volume label \"none\".\r\n\/dev\/disks\/mpx.vmhba32:C0:T0:L0: Permission denied.  (Have you set the partition type to 0xfb?)\r\nError: Permission denied\r\n\/sbin # <\/pre>\n<p>There doesn&#8217;t seem to be a way to make other filesystem types from the command line, but then, why would there be?<\/p>\n<p>Moving swiftly on, there are plenty of other commands to play with, e.g.<\/p>\n<pre> \/sbin # esxcfg-info<\/pre>\n<p> prints hundreds of lines of config.<\/p>\n<p>By my count there are 157 commands to explore in \/bin and \/sbin. I got that number by the following command: <\/p>\n<pre>\/bin # find \/bin \/sbin -type f -perm +100 -exec ls -l {} \\; | wc -l<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Just looking about, waiting for inspiration, slightly guided by the impossible aim of making a USB stick into a datastore. Here&#8217;s one snippet from the log file: Sep 9 17:24:40 vmkernel: 0:00:00:09.737 cpu0:4497)FSS: 3924: No FS driver claimed device &#8216;mpx.vmhba32:C0:T0:L0:1&#8217;: &hellip; <a href=\"https:\/\/www.p2vpro.com\/?p=211\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[24],"class_list":["post-211","post","type-post","status-publish","format-standard","hentry","category-virtualisation","tag-esxi"],"_links":{"self":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=211"}],"version-history":[{"count":5,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/211\/revisions"}],"predecessor-version":[{"id":215,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/211\/revisions\/215"}],"wp:attachment":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}