{"id":14,"date":"2014-09-26T03:30:45","date_gmt":"2014-09-26T03:30:45","guid":{"rendered":"http:\/\/myteachright.com\/?p=14"},"modified":"2014-10-26T11:08:35","modified_gmt":"2014-10-26T11:08:35","slug":"convert-from-emc-naa-to-device-id","status":"publish","type":"post","link":"https:\/\/techliness.com\/?p=14","title":{"rendered":"Convert from EMC naa. to Device ID"},"content":{"rendered":"<p>This is a short how-to on converting the device wwn (naa. number) to a device ID.<br \/>\nOf course in real life one can always get this by using the symmetrix command line<br \/>\n<code><br \/>\nsymdev -sid 1234 list -all -wwn | grep wwn<br \/>\n<\/code><\/p>\n<p><!--more-->Convert from naa. to Dev id:\u000bTake the numbers after 53 (53 comes after the ID of the Array)\u000beg for naa.60000970000292601174533030334435, numbers after 53 are 3030334435.<br \/>\nThis will usually start with a 30.\u000bBreak it apart in pairs of two.\u000bSo 3030334435 becomes 30 30 33 44 35.<br \/>\nThe Dev ID is as follows:<br \/>\n30 = 0<br \/>\n31 = 1<br \/>\n32 = 2<br \/>\n33 = 3<br \/>\n&#8230;<br \/>\n41 = A<br \/>\n42 = B<br \/>\n43 = C<br \/>\n&#8230;. Follows in that order\u000bJust write that out; you have the dev id now.<br \/>\nSo in the example, 3030334435 becomes<br \/>\n30 = 0<br \/>\n30 = 0<br \/>\n33 = 0<br \/>\n44 = D<br \/>\n35 = 5<br \/>\nthus the EMC device ID for 3030334435 is 03D5<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a short how-to on converting the device wwn (naa. number) to a device ID. Of course in real life one can always get this by using the symmetrix command line symdev -sid 1234 list -all -wwn | grep wwn<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[9,19,8],"_links":{"self":[{"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/posts\/14"}],"collection":[{"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techliness.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":2,"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"predecessor-version":[{"id":16,"href":"https:\/\/techliness.com\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions\/16"}],"wp:attachment":[{"href":"https:\/\/techliness.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techliness.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techliness.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}