注:WWPN号前面的“0x”不算,只看后边的16个字符
root@DE-Host-016:~#
root@DE-Host-016:~# more /sys/class/fc_host/host/port_name
::::::::::::::
/sys/class/fc_host/host15/port_name
::::::::::::::
0x 100000109b5b73f5 #第一个HBA卡的WWN号为100000109b5b73f5
::::::::::::::
/sys/class/fc_host/host16/port_name
::::::::::::::
0x 100000109b5b73f6 #第二个HBA卡的WWN号为100000109b5b73f6
root@DE-Host-016:~#
二、查看服务器当前HBA卡的品牌,常用的卡有两种,Emulex和Qlogic
root@DE-Host-016:~#
root@DE-Host-016:~# lspci | grep -i fibre
3b:000 Fibre Channel: Emulex Corporation LightPulse LPe16002 (rev 30)
3b:001 Fibre Channel: Emulex Corporation LightPulse LPe16002 (rev 30)
root@DE-Host-016:~#
三、查看HBA卡的驱动版本
1)如果当前服务器HBA卡品牌为Emulex,则查看命令为:
root@DE-Host-016:~#
root@DE-Host-016:~# modinfo lpfc | grep version
version: 0:11403
srcversion: 1110494CE3D54CC3A5C7D70
root@DE-Host-016:~#
2)如果当前服务器HBA卡品牌为Qlogic,则查看命令为:
root@DE-Host-016:~#
root@DE-Host-016:~# modinfo qla2xxx | grep version
version: 10000008-k
srcversion: 20DF9B3AB77FCE9B491DB3E
root@DE-Host-016:~#
三、Linux系统中使用命令查看WWNN号
WWNN: 即WWN,全球唯一名称
root@DE-Host-016:~#
root@DE-Host-016:~# cat /sys/class/fc_host/host/node_name
0x200000109b5b73f5
0x200000109b5b73f6
root@DE-Host-016:~#服务编号: 9ZH3HP1 更改服务编号
系统类型: Inspiron 14 - N4050
出厂日期: 2011/6/14
国家和地区: China
数量 部件编号 部件说明(点击此处查看常见部件的中文说明)
1 6337P Label, Service Tag/Express CodeCorona
1 KXJXJ BASE (ASSEMBLY OR GROUP), NOTEBOOK, INSPIRON, CTO, RETAIL, N4050
1 T7VMF MODULE, DVD+/-RW, 8X, HITACHI LG DATA STORAGE, BARE, INSPIRON
1 41G50 Dvd+/-Rw, 8X, Serial Ata, Tray, Plds
1 4413W MODULE, SOFTWARE, W7HB64SP1, SIMPLE/SIMPLIFIED CHINESE, CHINA CUSTOMER CENTER
1 R113D LABEL, MICROSOFT, GWE
1 4WYVT Module, Software, Quick Fix Engineering, WIN7SP1, No Bios
1 YTPW1 MODULE, SOFTWARE, ROXIO, CRTR, START, FACTORY INSTALL
1 4YDJ3 MODULE, SOFTWARE, CERTIFICATE OF AUTHENTICITY, W7HB32/64, SIMPLE/SIMPLIFIED CHINESE
1 GX50K LABEL, CERTIFICATE OF AUTHENTICITY, OPERATING SYSTEM, W7HB3/6, SIMPLE/SIMPLIFIED CHINESE
1 W3HMK MODULE, LABEL, MICROSOFT, NO BIOS, WIN7
1 1FH94 Label, Microsoft, NoBios, WindowsSeven
1 YG51N MODULE, KEYBOARD, 86, UNITED STATES, ENGLAND/ENGLISH, C12S, WORLD WIDE
1 X38K3 Keyboard, 86, United States, English, C12S
1 RVKD0 MODULE, DUAL IN-LINE MEMORY MODULE, 4GB, 1333MHZ, DDR3, 1X4G
1 X830D Dual In-Line Memory Module, 4GB1333MHZ, 512X64, 8K, 200
1 88PVP MODULE, LABEL, INTEL, NO BIOS, CI52
1 54K1R Label, Intel, No Bios, CI52
1 D03FN MODULE, PROCESSOR, I5-2410M, 23, 2C, ENRICO
1 MY297 Label, Fascia, Intel, CARTON
1 D30JN Processor, I5-2410M, 23, 2C, SNB, Java Compliant, P
1 MX962 MODULE, INFORMATION, NO MEDIA
1 61YKY Module, Software, DSO, 2GB-FREE, 20
1 J802J Label, Information, Notebook, Inspiron, Break The Seal Sticker
1 0DDH7 MODULE, MEDIA, DIGITAL VIDEO DISK DRIVE, RDVD, ENRICO
1 N990H MODULE, INFORMATION, RETAIL
1 D518T MODULE, INFORMATION, CHINA CUSTOMER CENTER
1 KW658 Module, Information, DirectShip WSTN, Spears
1 4GTFK MODULE, SHIPPING MATERIAL, INSPIRON, 14, BROWN , EPE
1 65DGC SERVICE INSTALL MODULE, DRIVER, WIRELESS, 1502, N4050
1 N96VP Module, Software, OFC-2010, Factory Install
1 JP927 Module, Software, DELL-WELCOME Transactional Line Of Business
1 XM544 Module, Software, PC-RESTORE Transactional Line Of Business
1 M165H MODULE, GUIDE, PLACING SERV CALL, CHINA CUSTOMER CENTER
1 J602J GUIDE, PLACING SERV CALL, CHINA CUSTOMER CENTER
1 97FM2 MODULE, LABEL, SIMPLE/SIMPLIFIED CHINESE, RETAIL, CHINA CUSTOMER CENTER, CHINA/CHINESE
1 H37HM LABEL, NO BIOS, SIMPLE/SIMPLIFIED CHINESE, RETAIL, CHINA CUSTOMER CENTER
1 KM1DJ MODULE, LABEL, DEO, ESTAR 50
1 1CHTF LABEL, DEO, ESTAR 50
1 W006J MODULE, LABEL, NOTEBOOK, INSPIRON, BTSS
1 364RF MODULE, ADAPTER, ALTERNATING CURRENT, DELTA - AC ADAPT, 90W, 3P, ARMSTRONG, WORLD WIDE
1 MK947 Adapter, Alternating Current, 90W, Delta - Ac Adapt, 3P, Armstrong, World Wide
1 M6CD5 MODULE, PLACEMAT, ENRICO14, A/C
1 9VX3K PLACEMAT, INSPIRON, M4040, N4050, 3420
1 6HMPM MODULE, LIQUID CRYSTAL DISPLAY, 140HDF, WLED, LGP, C/E14
1 GP84R Liquid Crystal Display, 140HDF, White Light Emitted Diode, True Life, 45%, Au Optronics Corp
1 KTWC6 MODULE, COVER, LIQUID CRYSTAL DISPLAY, BLACK, WIRELESS LOCAL AREA NETWORK CARD, ENRICO 14
1 13J33 KIT, COVER, LIQUID CRYSTAL DISPLAY, BLACK, WIRELESS LOCAL AREA NETWORK CARD, ENRICO 14
1 MKM09 MODULE, SOFTWARE, TRNDM, E-MGZN, FACTORY INSTALL
1 GV0CP Module, Software, WINDOWS-LIVE, WAVE4, Consumer
1 NTWPN MODULE, HARD DRIVE, 500, 54, P11, 4KE, ML375
1 2V17V HARD DRIVE, 500GB, S2, 54K, P11, SGT-WYATT
1 C1J3J MODULE, ASSEMBLY, BASE (ASSEMBLY OR GROUP), DISCRETE VIDEO, 1GB, N4050
1 GGRV5 ASSEMBLY, BASE (ASSEMBLY OR GROUP), NOTEBOOK, DISCRETE VIDEO, 1GB, N4050
1 KP334 MODULE, CARD (DOCUMENT), WARRANTY, SERVICE CONTRACT, SERVICE, CHINA CUSTOMER CENTER
1 MU373 CARD (DOCUMENT), WARRANTY, SERVICE CONTRACT, SERVICE, CHINA CUSTOMER CENTER
1 W151C MODULE, CORD, POWER, 250V, 1M, C5, CHINA/CHINESE
1 M575C CORD, POWER, 250V, 25A, 1M, C5, CHINA/CHINESE
1 CRPCK MODULE, DOCUMENTATION, SERI/EULA, APCC1/CCC1
1 TKH62 KIT, DOCUMENTATION, SERI/EULA, APCC1/CCC1
1 WGXV5 Module, Software, Creative, Camera, Consumer, 2X, Factory Install
1 69MPD Module, Software, MCAF11, 15MTH, Multiple User Interface, Promotion \ Promotional
1 D282K Module, Software, Data Safe Basic, 20
1 K491T Module, Software, SKYPT, SKYPE Factory Install
1 99RFP Module, Software, DSPRT-CTR, 30
1 72V4G Module, Software, Retail, Registration, 10
1 FR592 Module, Software, RETAIL-MARKER
1 M239M MODULE, SOFTWARE, LTG, DELL-DOWNLOAD-FLAG
1 NW96J Module, Software, Adobe, Reader, X, Multi-Language
1 H193K MODULE, TECHNICAL SHEET, WARRANTY, APCC/CCC
1 J636J TECHNICAL SHEET, WARRANTY, RETAIL, ASIA PACIFIC AND CHINA
1 X11JW MODULE, TECHNICAL SHEET, REGISTRATION, RETAIL, ASIA PACIFIC COUNTRIES AND JAPAN, SIMPLE/SIMPLIFIED CHINESE
1 JFF61 TECHNICAL SHEET, REGISTRATION, RETAIL, ASIA PACIFIC COUNTRIES AND JAPAN, SIMPLE/SIMPLIFIED CHINESE
1 0VJFK MODULE, LABEL, DEO, ESTAR 50
1 0HF03 Label, Dell Energy Offering, ESTAR 50
1 CM3C6 MODULE, BATTERY, PRIMARY, 48WHR, 6C, SANYO
1 JXFRP Battery, Primary, 48WHR, Vmware 6 Core Processor, Lithium, Samsung Power Division
1 KM7RG MODULE, CARD (CIRCUIT), NETWORK, DW1502, CNB, WORLD WIDE
1 YVC12 LABEL, REGULATORY, WIRELESS, DW1502, CNB, WORLD WIDE
1 D006W Card (Circuit), Wireless, Half Mini-Card, DW1502, World Wide
这个就是你这台机器的出厂时间和配置了
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)