CN106991031A - A kind of implementation method of SMART information monitorings - Google Patents

A kind of implementation method of SMART information monitorings Download PDF

Info

Publication number
CN106991031A
CN106991031A CN201710132244.9A CN201710132244A CN106991031A CN 106991031 A CN106991031 A CN 106991031A CN 201710132244 A CN201710132244 A CN 201710132244A CN 106991031 A CN106991031 A CN 106991031A
Authority
CN
China
Prior art keywords
hard disk
main frame
exception
smart information
abnormal
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.)
Granted
Application number
CN201710132244.9A
Other languages
Chinese (zh)
Other versions
CN106991031B (en
Inventor
韩道静
吴娴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ramaxel Technology Shenzhen Co Ltd
Original Assignee
Ramaxel Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ramaxel Technology Shenzhen Co Ltd filed Critical Ramaxel Technology Shenzhen Co Ltd
Priority to CN201710132244.9A priority Critical patent/CN106991031B/en
Publication of CN106991031A publication Critical patent/CN106991031A/en
Application granted granted Critical
Publication of CN106991031B publication Critical patent/CN106991031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3034Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of implementation method of SMART information monitorings, it is characterised in that increase sets abnormal collection module and exception reporting in hard disk controller;The abnormal collection module monitors the working condition of hard disk according to exceptional condition set in advance, and when exception occurs for hard disk and meets exceptional condition set in advance, hard disk controller notifies main frame and by abnormal conditions record in exception reporting;Main frame is only when receiving hard disk controller generation exception notice, and main frame just reads the exception reporting or SMART information of hard disk.To the regular read operation of SMART information when not occurring exception by cancelling hard disk, main frame is detected that brought performance loss is reduced to minimum to hard disk, the effect of actual raising host data throughput performance is reached.

Description

A kind of implementation method of SMART information monitorings
Technical field
The present invention relates to technical field of memory, more particularly to a kind of implementation method of SMART information monitorings.
Background technology
SMART (Self-Monitoring, Analysis, and Reporting Technology) refers to hard drive internal Manager is to hard disk self-monitoring and analysis, and the state report generated includes hard disk health degree and abnormal information, passes through analysis This report can for forecast analysis hard disk potential problems.Existing SATA SSD actively will not report hard disk to main frame Host and be good for Kang Du/abnormal information is that SMART information inquiring commands are, it is necessary to Host is periodically judged by inquiring about SMART information Legacy orders, so order needs exclusive SSD IO paths when issuing;Not due to this, order data amount is larger causes.Therefore Host data throughput performances periodically will be influenceed on SMART inquiries.
The content of the invention
For disadvantages described above, present invention aims at how to reduce main frame to cause to provide IO because SMART information is read How the occupancy in source, reduce the influence to Host data throughput performances.
To achieve these goals, the invention provides a kind of implementation method of SMART information monitorings, it is characterised in that Increase sets abnormal collection module and exception reporting in hard disk controller;The abnormal collection module is according to exception set in advance The working condition of condition monitoring hard disk, when exception occurs for hard disk and meets exceptional condition set in advance, hard disk controller is notified Main frame simultaneously records abnormal conditions in exception reporting;Main frame is only when receiving hard disk controller generation exception notice, main frame Just read the exception reporting or SMART information of hard disk.
The implementation method of described SMART information monitorings, it is characterised in that returned in the operational order of main frame access hard disk Increase hard disk in value and enable mark extremely, when hard disk occurs abnormal, hard disk controller is by the behaviour of newest main frame access hard disk Make hard disk enable mark extremely in order return value to be revised as enabling from invalid;Main frame checks hard disk and enabled extremely after mark, The exception reporting or hair that hard disk is obtained by sending acquisition exception reporting instruction read SMART information commands acquisition SMART letters Breath.
To the regular read operation of SMART information when the present invention does not occur exception by cancelling hard disk, by main frame to hard disk The brought performance loss of detection is reduced to minimum, reaches the effect of actual raising host data throughput performance.
Brief description of the drawings
Fig. 1 is SATA SSD SMART abnormality processing schematic flow sheets.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is SATA SSD SMART abnormality processing schematic flow sheets, and system host Host is sent out on SATA SSD after electricity Identify is sent to recognize hard disk order, whether detection SATA SSD have abnormal collection module and collect exception reporting Sense Data Report functions, when detection SATA SSD support this function, then main frame will be somebody's turn to do by sending setting command in SATA SSD Function is enabled, and notifies Host functions to enable while SATA SSD return to correct result, Host is normally carried out I/O operation.
1. SATA SSD during normal operation, are triggered by anomalous event or are periodically carried out SMART information in idle condition Collect operation;
2. Host carries out normally read-write (I/O) operation to SATA SSD, without periodically inquiry hard disk health status;
3. SATA SSD SMART detect unusual condition, and such as remaining space is less than threshold value, notifies Sense Data Report carries out abnormal conditions record;
4. abnormal collection module and exception reporting are set return command state after any order that Host is sent arrives For SENSE DATA AVAI LABLE, to notify Host SSD to occur abnormal conditions;
5. Host detects return command state after SENSE DATA AVAILABLE, to directly transmit Request Sense Data Ext orders directly can obtain the specific abnormal problem of hard disk from Sense Data Report modules;Or hold Row is 6.;
6. Host directly transmits SMART Read Data orders and obtains SMART information progress SSD state analysis.
Above disclosed is only an embodiment of the present invention, can not limit the right model of the present invention with this certainly Enclose, one of ordinary skill in the art will appreciate that all or part of flow of above-described embodiment is realized, and will according to right of the present invention Made equivalent variations are sought, the scope that the present invention is covered is still fallen within.

Claims (2)

1. a kind of implementation method of SMART information monitorings, it is characterised in that increase sets abnormal collection mould in hard disk controller Block and exception reporting;The abnormal collection module monitors the working condition of hard disk according to exceptional condition set in advance, works as hard disk Generation exception and hard disk controller notifies main frame and by abnormal conditions record in abnormal report when meeting exceptional condition set in advance In announcement;Main frame is only when receiving hard disk controller generation exception notice, and main frame just reads the exception reporting or SMART of hard disk Information.
2. the implementation method of SMART information monitorings according to claim 1, it is characterised in that in the behaviour of main frame access hard disk Make to increase hard disk enable mark extremely in order return value, when hard disk occurs abnormal, hard disk controller visits newest main frame Ask that hard disk enable mark extremely is revised as enabling from invalid in the operational order return value of hard disk;Main frame checks hard disk to be made extremely After identifying, obtain the exception reporting of hard disk by transmission acquisition exception reporting instruction or send out reading SMART information commands and obtain Take SMART information.
CN201710132244.9A 2017-03-07 2017-03-07 Implementation method for SMART information monitoring Active CN106991031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710132244.9A CN106991031B (en) 2017-03-07 2017-03-07 Implementation method for SMART information monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710132244.9A CN106991031B (en) 2017-03-07 2017-03-07 Implementation method for SMART information monitoring

Publications (2)

Publication Number Publication Date
CN106991031A true CN106991031A (en) 2017-07-28
CN106991031B CN106991031B (en) 2020-10-20

Family

ID=59412636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710132244.9A Active CN106991031B (en) 2017-03-07 2017-03-07 Implementation method for SMART information monitoring

Country Status (1)

Country Link
CN (1) CN106991031B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073486A (en) * 2017-12-28 2018-05-25 新华三大数据技术有限公司 The Forecasting Methodology and device of a kind of hard disk failure
CN108920339A (en) * 2018-07-21 2018-11-30 中国人民解放军战略支援部队信息工程大学 A kind of system exception report method and device
CN110704228A (en) * 2019-09-29 2020-01-17 至誉科技(武汉)有限公司 Solid state disk exception handling method and system
CN113900594A (en) * 2021-10-12 2022-01-07 天津津航计算技术研究所 RAID control card S.M.A.R.T.information early warning method
CN113900593A (en) * 2021-10-12 2022-01-07 天津津航计算技术研究所 RAID control card architecture for automatic early warning of S.M.A.R.T. information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231610A (en) * 2007-01-26 2008-07-30 佛山市顺德区顺达电脑厂有限公司 Apparatus and method for monitoring SATA hardpan
CN202374322U (en) * 2011-12-31 2012-08-08 浙江树人大学 Intelligent home device controlled by mobile phone
CN103559115A (en) * 2013-09-29 2014-02-05 记忆科技(深圳)有限公司 SSD intelligent monitoring system based on SMART
CN103984618A (en) * 2014-06-05 2014-08-13 浪潮电子信息产业股份有限公司 Method for monitoring hard disk activity state of LINUX server
CN105893231A (en) * 2016-05-06 2016-08-24 思创数码科技股份有限公司 Method and device for predicting hard disk sub-health index based on SMART (self-monitoring analysis and reporting technology)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231610A (en) * 2007-01-26 2008-07-30 佛山市顺德区顺达电脑厂有限公司 Apparatus and method for monitoring SATA hardpan
CN202374322U (en) * 2011-12-31 2012-08-08 浙江树人大学 Intelligent home device controlled by mobile phone
CN103559115A (en) * 2013-09-29 2014-02-05 记忆科技(深圳)有限公司 SSD intelligent monitoring system based on SMART
CN103984618A (en) * 2014-06-05 2014-08-13 浪潮电子信息产业股份有限公司 Method for monitoring hard disk activity state of LINUX server
CN105893231A (en) * 2016-05-06 2016-08-24 思创数码科技股份有限公司 Method and device for predicting hard disk sub-health index based on SMART (self-monitoring analysis and reporting technology)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073486A (en) * 2017-12-28 2018-05-25 新华三大数据技术有限公司 The Forecasting Methodology and device of a kind of hard disk failure
CN108920339A (en) * 2018-07-21 2018-11-30 中国人民解放军战略支援部队信息工程大学 A kind of system exception report method and device
CN110704228A (en) * 2019-09-29 2020-01-17 至誉科技(武汉)有限公司 Solid state disk exception handling method and system
CN110704228B (en) * 2019-09-29 2023-07-28 至誉科技(武汉)有限公司 Solid state disk exception handling method and system
CN113900594A (en) * 2021-10-12 2022-01-07 天津津航计算技术研究所 RAID control card S.M.A.R.T.information early warning method
CN113900593A (en) * 2021-10-12 2022-01-07 天津津航计算技术研究所 RAID control card architecture for automatic early warning of S.M.A.R.T. information

Also Published As

Publication number Publication date
CN106991031B (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN106991031A (en) A kind of implementation method of SMART information monitorings
US8418003B2 (en) Log collecting apparatus, program, method, and system
CN102591591B (en) Disk detection system, disk detection method and network store system
CN102147708B (en) Method and device for detecting discs
JP2021193550A (en) Hard disk fault handling method, array controller, and hard disk
CN103207820B (en) The Fault Locating Method of hard disk and device based on raid card log
EP2454668B1 (en) Feedback reporting from non-volatile block storage device to processing device
CN1963233A (en) Method and device for controlling rotation speed of fan
CN106980562A (en) A kind of hard disk monitoring method and device
US20200012448A1 (en) Data collection system and data collection method
CN103218274A (en) Failure accumulation preventing method and solid state disk
CN102387048A (en) Monitoring method for distributed file systems and distributed file system
CN111078445A (en) PSU power failure reason detection method and device
CN106549807A (en) A kind of classification report method of daily record and system
US20140068352A1 (en) Information processing apparatus and fault processing method for information processing apparatus
CN103268147A (en) Method and device for hard disk power consumption management
CN113590405A (en) Hard disk error detection method and device, storage medium and electronic device
CN107807862A (en) Detect the method, apparatus and server of hard disk failure point
CN112634978A (en) NVMe solid state disk exception handling method and device and integrated chip
CN101582816B (en) Home gateway, and system and method for collecting diagnosis and maintenance information thereof
CN114286082A (en) Power plant camera abnormity detection system, electronic equipment and storage medium
CN103390429B (en) The online test method of a kind of hard disk and server
CN204833419U (en) Novel active card business turn over door is automatic to be judged device
CN115878441B (en) High-availability computing service method, system and equipment based on consistency cache
JP2002229867A (en) Failure foreseeing device for disc device

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
GR01 Patent grant
GR01 Patent grant