Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for monitoring hard disk activity state of LINUX server

An active state and server technology, applied in the computer field, can solve problems such as affecting system operation and difficult to judge the time of failure, and achieve the effects of easy use, strong versatility, and simple operation

Inactive Publication Date: 2014-08-13
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if the array card has problems such as SCSI hang or response timeout, it will directly affect the operation of the system, and the array card will not have any alarm sound. At this time, the network can also be pinged, and everything is normal on the surface. Only the operation and maintenance personnel find the business This problem will be noticed after the downtime, it is difficult to judge the time of failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for monitoring hard disk activity state of LINUX server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0019] The method steps are as follows:

[0020] 1) Deploy the Shell script to the Linux server that needs to monitor the hard disk activity, which contains two program files, FSmon and Heartbeat; the FSmon is used to monitor the file system activity status of all hard disks of the server except the system disk; the implementation process of the FSmon program : First check the local disk, the number and identification information of other disks except the system disk, mount the external USB disk to the system, and perform data writing test on each disk at the same time. When there is an abnormal failure of the hard disk or raid card, the file system only However, the USB flash drive can still be written normally. The program will write the write error information to the USB flash drive in time, and record the location of the actual hard drive with problems in real time, so as to record when and which hard drive failed to cause the system failure.

[0021] The Heartbeat is ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for monitoring the hard disk activity state of an LINUX server, and belongs to the technical field of computers. The method includes the following steps that firstly, a Shell script is arranged on the Linux server where hard disk activity needs to be monitored; secondly, parameters are input; thirdly, monitoring is started; fourthly, whether the Heartbeat.log is the newest or not is examined, wherein the current system time is regularly written into a USB flash drive, a heartbeat.log file in the USB flash drive can be stopped being updated if a system collapses, and the specific time period during which faults occur can be judged by examining the last record of the file; fifthly, test characters strings are regularly written into the hard disk in turns, if the situation is normal, the return value is 0 and no attention needs to be paid, and if abnormity occurs, mistake information is automatically collected and stored in an scanlog.txt file in the USB flash drive. The method has the advantages of being easy to operate, convenient to use and the like. No third-party software needs to be installed, and the method is simple and easy to use.

Description

[0001] technical field [0002] The invention relates to the technical field of computers, in particular to a method for monitoring the activity state of a LINUX server hard disk. Background technique [0003] With the continuous development of server technology, the number of hard disks supported by servers has become more and more. While meeting the growing data storage space of servers, it also makes our work of monitoring hard disk activity status more and more cumbersome. Usually, if the server is configured with an array card, there may be an alarm sound when a hard disk failure occurs, and the operation and maintenance personnel will be notified in time to deal with the failure. However, if the array card has problems such as SCSI hang or response timeout, it will directly affect the operation of the system, and the array card will not have any alarm sound. At this time, the network can also be pinged, and everything is normal on the surface. Only the operation and ma...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/30G06F11/34
Inventor 李洋任华进
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products