{"id":255657,"date":"2016-10-27T17:55:24","date_gmt":"2016-10-27T09:55:24","guid":{"rendered":"http:\/\/blog.zhenglei.net\/?p=255657"},"modified":"2016-10-27T17:55:24","modified_gmt":"2016-10-27T09:55:24","slug":"esxi-disk-lun-property-check","status":"publish","type":"post","link":"https:\/\/blog.zhenglei.net\/?p=255657","title":{"rendered":"ESXi  disk (LUN)  property check"},"content":{"rendered":"<h2><a href=\"https:\/\/kb.vmware.com\/selfservice\/microsites\/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1014953\">Identifying disks when working with VMware ESXi\/ESX (1014953)<\/a><\/h2>\n<p>&nbsp;<\/p>\n<h1><span style=\"color: #ff0000\">Run these commands to collect disk and LUN information from ESXi 6:<\/span><\/h1>\n<ul>\n<li>Run the <strong><span style=\"color: #0000ff\">esxcli storage core path list<\/span> <\/strong>command to generate a list of all LUN paths currently connected to the ESXi host.<\/li>\n<li>Run the <strong><span style=\"color: #0000ff\">esxcli storage core device list<\/span> <\/strong>command to generate a list of LUNs currently connected to the ESXi host.<\/li>\n<li>Run the <span style=\"color: #0000ff\"><strong>esxcli storage vmfs extent list<\/strong><\/span> command to generate a list of extents for each volume and mapping from device name to UUID.<\/li>\n<li>Run the <strong><span style=\"color: #0000ff\">esxcli storage filesystem list<\/span><\/strong> command to generate a compact list of the LUNs currently connected to the ESXi host, including VMFS version.<\/li>\n<li>Run the<strong><span style=\"color: #0000ff\"> ls -alh \/vmfs\/devices\/disks<\/span><\/strong> command to list the possible targets for certain storage operations.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/pubs.vmware.com\/vsphere-60\/topic\/com.vmware.ICbase\/PDF\/vsphere-esxi-vcenter-server-601-storage-guide.pdf\">http:\/\/pubs.vmware.com\/vsphere-60\/topic\/com.vmware.ICbase\/PDF\/vsphere-esxi-vcenter-server-601-storage-guide.pdf<\/a><\/p>\n<p><a href=\"http:\/\/pubs.vmware.com\/vsphere-60\/topic\/com.vmware.ICbase\/PDF\/vsphere-esxi-vcenter-server-602-host-management-guide.pdf\">http:\/\/pubs.vmware.com\/vsphere-60\/topic\/com.vmware.ICbase\/PDF\/vsphere-esxi-vcenter-server-602-host-management-guide.pdf<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Identifying disks when working with VMwa &hellip; <a href=\"https:\/\/blog.zhenglei.net\/?p=255657\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-255657","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/255657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255657"}],"version-history":[{"count":1,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/255657\/revisions"}],"predecessor-version":[{"id":255665,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=\/wp\/v2\/posts\/255657\/revisions\/255665"}],"wp:attachment":[{"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhenglei.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}