tag:blogger.com,1999:blog-4755664707565425900.post47431722554854768..comments2023-05-06T03:33:51.104-07:00Comments on Storage Meat: Decoding WWIDs (or how to tell what's what)Terry Mhttp://www.blogger.com/profile/18368896550741168548noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-4755664707565425900.post-85894907715950291022014-07-25T06:43:59.167-07:002014-07-25T06:43:59.167-07:00Items starting with a 6 are NAA format 6, the IEEE...Items starting with a 6 are NAA format 6, the IEEE registered extended format. This is what you see in a disk GUID.<br />The breakdown is:<br />6 | 24 bit OUI | 36 bit vendor sequence/serial number \ 64 bit vendor extension<br />This is what you get from SCSI mode page 83.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4755664707565425900.post-72810746404687920472014-04-07T20:59:33.861-07:002014-04-07T20:59:33.861-07:00To expand on your "6 digits" that you ar...To expand on your "6 digits" that you aren't sure how it is generated on the AMS. I have analysed the serial numbers you have provided, cross referenced with information from https://community.emc.com/thread/179971, and come up with this formula:<br /><br />Serial Number minus the 3 leading numbers (8x0 in your instances) leaving the following serials: 43697, 42536, 42038<br /><br />Then add 3000 to these numbers and get the hex value.<br />43697+3000=46697<br />42536+3000=45536<br />42038+3000=45038<br /><br />Convert these to hex and we get:<br />B669<br />B1E0<br />AFEE<br /><br />Which appears to match what you have in your WWIDs<br /><br />If you feed this in you have a leading nibble which is the AMS level as you speculated, followed by the above 4 nibbles, followed by a 0. That is the 6 as far as I can tell. Also interesting that the AMS model can be determined from the first 3 digits of the serial number (from the EMC link above):<br /><br />730 AMS 200<br />750 AMS 500<br />770 AMS 1000<br />830 AMS 2100<br />850 AMS 2300<br />870 AMS 2500Chris Bennetthttp://dwarfsoft.com/noreply@blogger.comtag:blogger.com,1999:blog-4755664707565425900.post-85764025348172105302014-04-07T20:23:55.971-07:002014-04-07T20:23:55.971-07:00From my own investigations I believe that the 015 ...From my own investigations I believe that the 015 is due to the first batch of serial number for enterprise has to be stored in a 16 bit sequence (the 32ae after the 015). Therefore the 1 is a carry on the high bits from converting 78510 to Hex.<br /><br />Part of this is covered for NAA 5 format WWNs in HDS Knowledge Base article KB15062.<br /><br /> The “ssss” portion of the Port WWN IHHHHHHTOMSssssP can be calculated by the following: Add 70000 (Dec) to the last 6 digits of the DF850 Serial Number.<br /> - Translate the above value to Hex.<br /> - Remove the upper 1 digit (which is the “S”).<br /><br />Having only Serial numbers lower than 0xFFFF I have no way of testing this though.<br /><br />Thanks, Chris.Chris Bennetthttp://dwarfsoft.com/noreply@blogger.comtag:blogger.com,1999:blog-4755664707565425900.post-26751759023754000782014-03-10T08:22:28.553-07:002014-03-10T08:22:28.553-07:00Martin,
Thanks for the information - I'm tryi...Martin,<br /><br />Thanks for the information - I'm trying to understand which part(s) don't fit. If I break your string down I've got:<br /><br />6 0060e8 01532ae00 000132ae 0000010c<br /><br />I'm expecting 015 to be 005 instead - so that doesn't fit, but 0x132ae is decimal 78510. Is the LDEV 01:0c, or is that wrong?<br /><br />With regards to the 015 - would you mind sharing what microcode you're running? It may have been changed in later versions.<br /><br />Thanks!<br />Chadchadwickhttps://www.blogger.com/profile/04727175217279747418noreply@blogger.comtag:blogger.com,1999:blog-4755664707565425900.post-41721330678134850422014-03-02T23:46:19.720-08:002014-03-02T23:46:19.720-08:00Comparing this to a string that I found in my conf...Comparing this to a string that I found in my configuration: naa.60060e801532ae00000132ae0000010c -<br />this document don't fit. This string is taken from esxi 5 using a LUN from a HDS USP-V serial number 78510malohttps://www.blogger.com/profile/03671006343777054184noreply@blogger.comtag:blogger.com,1999:blog-4755664707565425900.post-38245723629146979382013-09-11T09:58:21.521-07:002013-09-11T09:58:21.521-07:00This is very cool! Thanks for sharing.This is very cool! Thanks for sharing.Anonymoushttps://www.blogger.com/profile/09024675425812174935noreply@blogger.com