{"id":3170,"date":"2014-06-16T23:30:38","date_gmt":"2014-06-16T15:30:38","guid":{"rendered":"http:\/\/rmohan.com\/?p=3170"},"modified":"2014-06-16T23:30:38","modified_gmt":"2014-06-16T15:30:38","slug":"check-the-path-status-in-esxi","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3170","title":{"rendered":"check the Path status in ESXi"},"content":{"rendered":"<p>~ # esxcfg-mpath \u2013l \u00a0\u00a0\u00a0\u00a0(to list all the device paths)<\/p>\n<p>~ # esxcfg-mpath \u2013s \u00a0\u00a0\u00a0\u00a0(to change the path state)<\/p>\n<p>~ # esxcfg-mpath \u2013bd \u00a0\u00a0\u00a0\u00a0&lt;naa name of your device\/lun&gt; (to list the paths and state)<\/p>\n<p>Other ESXi path command options:<\/p>\n<p>esxcfg-mpath &lt;options&gt; [&#8211;path=&lt;path&gt;]<\/p>\n<p>-l|&#8211;list\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 List all Paths on the system with their<\/p>\n<p>detailed information.<\/p>\n<p>-L|&#8211;list-compact\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 List all Paths with abbreviated information<\/p>\n<p>-m|&#8211;list-map\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 List all Paths with adapter and device mappings.<\/p>\n<p>-b|&#8211;list-paths\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 List all devices with their corresponding paths.<\/p>\n<p>-G|&#8211;list-plugins\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 List all Multipathing Plugins loaded into the<\/p>\n<p>-s|&#8211;state &lt;active|off&gt;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Set the state for a specific LUN Path.\u00a0 Requires<\/p>\n<p>path UID or path Runtime Name in &#8211;path<\/p>\n<p>-P|&#8211;path\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Used to specify a specific path for operations.<\/p>\n<p>The path name may be either the long Path UID or<\/p>\n<p>the shorter runtime name of the path.\u00a0 This can<\/p>\n<p>be used to filter any of the list commands to<\/p>\n<p>a specific path if applicable.<\/p>\n<p>-d|&#8211;device\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Used to filter the list commands to display<\/p>\n<p>only a specific device.<\/p>\n<p>&nbsp;<\/p>\n<p>-h|&#8211;help\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Show this message.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>~ # esxcfg-mpath \u2013l (to list all the device paths)<\/p>\n<p>~ # esxcfg-mpath \u2013s (to change the path state)<\/p>\n<p>~ # esxcfg-mpath \u2013bd &lt;naa name of your device\/lun&gt; (to list the paths and state)<\/p>\n<p>Other ESXi path command options:<\/p>\n<p>esxcfg-mpath &lt;options&gt; [&#8211;path=&lt;path&gt;]<\/p>\n<p>-l|&#8211;list List all Paths on the system with their<\/p>\n<p>detailed information.<\/p>\n<p>-L|&#8211;list-compact List [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3170"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3170"}],"version-history":[{"count":2,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3170\/revisions"}],"predecessor-version":[{"id":3172,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3170\/revisions\/3172"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}