CN108680872A - A kind of test method suitable for NVME hard disk backboard status lamps - Google Patents
A kind of test method suitable for NVME hard disk backboard status lamps Download PDFInfo
- Publication number
- CN108680872A CN108680872A CN201810283331.9A CN201810283331A CN108680872A CN 108680872 A CN108680872 A CN 108680872A CN 201810283331 A CN201810283331 A CN 201810283331A CN 108680872 A CN108680872 A CN 108680872A
- Authority
- CN
- China
- Prior art keywords
- lamps
- nvme
- hard disk
- status
- xrootport
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/44—Testing lamps
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention is more particularly directed to a kind of test methods suitable for NVME hard disk backboard status lamps.This is suitable for the test method of NVME hard disk backboard status lamps, the bus address of each NVME are captured first, then/OFF state lamp is lighted using included tool setpci orders under linux, observe whether the behavior of status lamp on NVME hard disk backboards is consistent with test command simultaneously, show that status lamp state is normal if being consistent, test passes through.This is suitable for the test method of NVME hard disk backboard status lamps, is able to verify that whether status lamp is normal, and then plays authentication function in product development stage using status lamp, instructs client's O&M department fixed to failure NVME into line position and replacement.
Description
Technical field
The present invention relates to server technical field of measurement and test, more particularly to a kind of survey suitable for NVME hard disk backboard status lamps
Method for testing.
Background technology
Compared with mechanical hard disk, NVME(Full name Non-Volatile Memory express)As the emerging of server
Storage unit possesses superior calculating speed, the support of more considerable capacity, smaller volume and weight, therefore by increasingly
It mostly is applied to and calculates in class and storage class server.As other storage units, when NVME breaks down, need pair
The Functional Design status of support lamp answered is lighted, to instruct O&M department to do trouble unit positioning and replace.
In the design of general server product, there are read and write rate lamp and state in each slot position on NVME hard disk backboards
Lamp, BIOS and backboard CPLD can be code and be designed to support lighting and extinguishing for both lamps.Status lamp is used for sprocket bit
It sets, mark state, O&M department can be instructed to position and replace hard disk.
Based on the above situation, the present invention proposes a kind of test method suitable for NVME hard disk backboard status lamps.
Invention content
In order to compensate for the shortcomings of the prior art, the present invention provides it is a kind of be simple and efficient be suitable for NVME hard disk backboard shapes
The test method of state lamp.
The present invention is achieved through the following technical solutions:
A kind of test method suitable for NVME hard disk backboard status lamps, it is characterised in that:The bus of each NVME is captured first
Then address lights/OFF state lamp using included tool setpci orders under linux, while observing NVME hard disk backboards
Whether the behavior of upper status lamp is consistent with test command, shows that status lamp state is normal if being consistent, test passes through.
The status lamp includes locate lamps, fault lamps and rebuild lamps.
The test command for capturing the bus address of NVME is readlink-f/sys/block/ $ LINE | awk-F
"/" '{print $5 }' |sed 's/0000://g';Wherein $ LINE according to practical NVME quantity, write manually nvme0n1,
Nvme1n1 or nvme2n1.
The test command of the locate lamps is lighted for A9.B=19 setpci-s $ xrootport, described in extinguishing
The test command of locate lamps is A9.B=18 setpci-s $ xrootport, and wherein $ xrootport are the NVME grabbed
Bus address.
The test command for lighting the fault lamps is A8.B=78 setpci-s $ xrootport, extinguishes the fault
The test command of lamp is that setpci-s $ xrootport A8.B=F8, wherein $ xrootport are the bus of the NVME grabbed
address。
The test command of the rebuild lamps is lighted for A8.W=1978 setpci-s $ xrootport, described in extinguishing
The test command of rebuild lamps is setpci-s $ xrootport A8.W=1BF8, and wherein $ xrootport are grabbed
The bus address of NVME.
It is blue when the locate lamps are lighted, is red when fault lamps are lighted, is pink colour when rebuild lamps are lighted.
The beneficial effects of the invention are as follows:This is suitable for the test method of NVME hard disk backboard status lamps, is able to verify that state
Whether lamp is normal, and then plays authentication function in product development stage using status lamp, instructs client's O&M department to failure
NVME is fixed into line position and replacement.
Specific implementation mode
In order to make technical problems, technical solutions and advantages to be solved be more clearly understood, tie below
Embodiment is closed, the present invention will be described in detail.It should be noted that specific embodiment described herein is only explaining
The present invention is not intended to limit the present invention.
This is suitable for the test method of NVME hard disk backboard status lamps, captures the bus address of each NVME first, so
/ OFF state lamp is lighted using included tool setpci orders under linux afterwards, while observing status lamp on NVME hard disk backboards
Whether behavior is consistent with test command, shows that status lamp state is normal if being consistent, test passes through.
The status lamp includes locate lamps, fault lamps and rebuild lamps.
The test command for capturing the bus address of NVME is readlink-f/sys/block/ $ LINE | awk-F
"/" '{print $5 }' |sed 's/0000://g';Wherein $ LINE according to practical NVME quantity, write manually nvme0n1,
Nvme1n1 or nvme2n1.
The test command of the locate lamps is lighted for A9.B=19 setpci-s $ xrootport, described in extinguishing
The test command of locate lamps is A9.B=18 setpci-s $ xrootport, and wherein $ xrootport are the NVME grabbed
Bus address.
The test command for lighting the fault lamps is A8.B=78 setpci-s $ xrootport, extinguishes the fault
The test command of lamp is that setpci-s $ xrootport A8.B=F8, wherein $ xrootport are the bus of the NVME grabbed
address。
The test command of the rebuild lamps is lighted for A8.W=1978 setpci-s $ xrootport, described in extinguishing
The test command of rebuild lamps is setpci-s $ xrootport A8.W=1BF8, and wherein $ xrootport are grabbed
The bus address of NVME.
It is blue when the locate lamps are lighted, is red when fault lamps are lighted, is pink colour when rebuild lamps are lighted.
Claims (7)
1. a kind of test method suitable for NVME hard disk backboard status lamps, it is characterised in that:The bus of each NVME is captured first
Then address lights/OFF state lamp using included tool setpci orders under linux, while observing NVME hard disk backboards
Whether the behavior of upper status lamp is consistent with test command, shows that status lamp state is normal if being consistent, test passes through.
2. the test method according to claim 1 suitable for NVME hard disk backboard status lamps, it is characterised in that:The shape
State lamp includes locate lamps, fault lamps and rebuild lamps.
3. the test method according to claim 1 or 2 suitable for NVME hard disk backboard status lamps, it is characterised in that:It grabs
It is readlink-f/sys/block/ $ LINE to take the test command of the bus address of NVME | awk-F "/" '
{print $5 }' |sed 's/0000://g';Wherein $ LINE according to practical NVME quantity, write manually nvme0n1,
Nvme1n1 or nvme2n1.
4. the test method according to claim 2 suitable for NVME hard disk backboard status lamps, it is characterised in that:Light institute
The test command for stating locate lamps is A9.B=19 setpci-s $ xrootport, extinguishes the test command of the locate lamps
For A9.B=18 setpci-s $ xrootport, the bus address that wherein $ xrootport are the NVME grabbed.
5. the test method according to claim 2 suitable for NVME hard disk backboard status lamps, it is characterised in that:Light institute
The test command for stating fault lamps is A8.B=78 setpci-s $ xrootport, and the test command for extinguishing the fault lamps is
Setpci-s $ xrootport A8.B=F8, the bus address that wherein $ xrootport are the NVME grabbed.
6. the test method according to claim 2 suitable for NVME hard disk backboard status lamps, it is characterised in that:Light institute
The test command for stating rebuild lamps is A8.W=1978 setpci-s $ xrootport, extinguishes the test of the rebuild lamps
Order is that setpci-s $ xrootport A8.W=1BF8, wherein $ xrootport are the bus of the NVME grabbed
address。
7. the test method according to claim 2 suitable for NVME hard disk backboard status lamps, it is characterised in that:It is described
It is blue when locate lamps are lighted, is red when fault lamps are lighted, is pink colour when rebuild lamps are lighted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810283331.9A CN108680872A (en) | 2018-04-02 | 2018-04-02 | A kind of test method suitable for NVME hard disk backboard status lamps |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810283331.9A CN108680872A (en) | 2018-04-02 | 2018-04-02 | A kind of test method suitable for NVME hard disk backboard status lamps |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108680872A true CN108680872A (en) | 2018-10-19 |
Family
ID=63800023
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810283331.9A Pending CN108680872A (en) | 2018-04-02 | 2018-04-02 | A kind of test method suitable for NVME hard disk backboard status lamps |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108680872A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112527575A (en) * | 2020-11-26 | 2021-03-19 | 浪潮电子信息产业股份有限公司 | Hard disk lighting test method, device and equipment and readable storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1707683A (en) * | 2004-06-10 | 2005-12-14 | 英业达股份有限公司 | Rigid disc state monitoring method |
CN101650681A (en) * | 2008-08-14 | 2010-02-17 | 鸿富锦精密工业(深圳)有限公司 | Multiple hard disk LED lamp test system and method |
CN102411993A (en) * | 2011-11-24 | 2012-04-11 | 曙光信息产业股份有限公司 | Method and device for testing state solid disk (SSD) |
CN102708909A (en) * | 2011-03-28 | 2012-10-03 | 鸿富锦精密工业(深圳)有限公司 | Hard disc backplane |
CN103984620A (en) * | 2014-05-30 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Backboard hardware power-on indication lamp lighting circuit dynamic implementation method |
CN104794043A (en) * | 2015-03-18 | 2015-07-22 | 深圳市杰和科技发展有限公司 | Control method for achieving light-up indication of server hard disk state |
CN205621448U (en) * | 2016-04-20 | 2016-10-05 | 深圳市国鑫恒宇科技有限公司 | Lamp controlgear is instructed to hard disk |
CN107145430A (en) * | 2017-04-21 | 2017-09-08 | 深圳市同泰怡信息技术有限公司 | A kind of method for realizing NVMe SSD lightings by CPLD based on I2C interfaces |
CN107480021A (en) * | 2017-08-18 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of method and system based on test Expander backboard hard disk indication lamps under linux system |
CN107622002A (en) * | 2017-09-14 | 2018-01-23 | 郑州云海信息技术有限公司 | A kind of the server hard disc indicator lamp design system and method for compatible NVME hard disks |
CN107708252A (en) * | 2017-09-30 | 2018-02-16 | 郑州云海信息技术有限公司 | A kind of pure NVME backboards LED state indicator lamp STBY power switching device and methods |
CN107766213A (en) * | 2017-09-29 | 2018-03-06 | 郑州云海信息技术有限公司 | A kind of method and system for realizing NVME hard disk lightings |
-
2018
- 2018-04-02 CN CN201810283331.9A patent/CN108680872A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1707683A (en) * | 2004-06-10 | 2005-12-14 | 英业达股份有限公司 | Rigid disc state monitoring method |
CN101650681A (en) * | 2008-08-14 | 2010-02-17 | 鸿富锦精密工业(深圳)有限公司 | Multiple hard disk LED lamp test system and method |
CN102708909A (en) * | 2011-03-28 | 2012-10-03 | 鸿富锦精密工业(深圳)有限公司 | Hard disc backplane |
CN102411993A (en) * | 2011-11-24 | 2012-04-11 | 曙光信息产业股份有限公司 | Method and device for testing state solid disk (SSD) |
CN103984620A (en) * | 2014-05-30 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Backboard hardware power-on indication lamp lighting circuit dynamic implementation method |
CN104794043A (en) * | 2015-03-18 | 2015-07-22 | 深圳市杰和科技发展有限公司 | Control method for achieving light-up indication of server hard disk state |
CN205621448U (en) * | 2016-04-20 | 2016-10-05 | 深圳市国鑫恒宇科技有限公司 | Lamp controlgear is instructed to hard disk |
CN107145430A (en) * | 2017-04-21 | 2017-09-08 | 深圳市同泰怡信息技术有限公司 | A kind of method for realizing NVMe SSD lightings by CPLD based on I2C interfaces |
CN107480021A (en) * | 2017-08-18 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of method and system based on test Expander backboard hard disk indication lamps under linux system |
CN107622002A (en) * | 2017-09-14 | 2018-01-23 | 郑州云海信息技术有限公司 | A kind of the server hard disc indicator lamp design system and method for compatible NVME hard disks |
CN107766213A (en) * | 2017-09-29 | 2018-03-06 | 郑州云海信息技术有限公司 | A kind of method and system for realizing NVME hard disk lightings |
CN107708252A (en) * | 2017-09-30 | 2018-02-16 | 郑州云海信息技术有限公司 | A kind of pure NVME backboards LED state indicator lamp STBY power switching device and methods |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112527575A (en) * | 2020-11-26 | 2021-03-19 | 浪潮电子信息产业股份有限公司 | Hard disk lighting test method, device and equipment and readable storage medium |
CN112527575B (en) * | 2020-11-26 | 2023-02-28 | 浪潮电子信息产业股份有限公司 | Hard disk lighting test method, device and equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105550229B (en) | The method and apparatus of distributed memory system data reparation | |
CN108680872A (en) | A kind of test method suitable for NVME hard disk backboard status lamps | |
CN104077373B (en) | A kind of data consistency verification method | |
CN107291593A (en) | The replacing options and device of failed disk in a kind of RAID system | |
CN108959031A (en) | A kind of NVME backboard lighting control method thereof, system, medium and equipment | |
CN108021481A (en) | The detection device and its automatic testing method of a kind of hard disk backboard | |
CN206637437U (en) | Support for ceiling lamp | |
CN205160062U (en) | Electric surge protector | |
CN106764833A (en) | LED street lamp illuminates intelligent monitoring and controlling device | |
CN207053539U (en) | A kind of real-time automatic switching control equipment for being applied to route and interrupting | |
CN104778107A (en) | Restoration method of Seagate hard disk firmware fault of busy state | |
CN102662877A (en) | Method for preventing loss of raid (redundant array of independent discs) information on condition with multiple damaged hard discs | |
JP2016192072A (en) | Automatic recording apparatus for traffic accidents, and traffic accident analyzing apparatus | |
CN207455536U (en) | A kind of ballast being easily installed | |
CN104243233A (en) | Audio signal automatic detection method and system based on IP data | |
CN108549042A (en) | A kind of NVME LED detecting systems and detection method | |
CN207938585U (en) | A kind of turnover device for solar battery sheet string welding machine | |
CN208805926U (en) | A kind of network signal lamp | |
CN207588809U (en) | A kind of power amplifier | |
CN207049770U (en) | A kind of infrared theft lamp | |
CN205336534U (en) | Sound equipment fault detector | |
CN107366359A (en) | A kind of connector being used between keel shoe | |
CN107783875A (en) | A kind of VMD cressets method of testing and system for being applied to NVMe hard disks under UFEI shell | |
CN203071974U (en) | Remote arraignment system of public security organs | |
CN108235541A (en) | Stage lighting system and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181019 |
|
RJ01 | Rejection of invention patent application after publication |