Hard disk sequence marshalling method based on real-time JBOD monitoring mode

A real-time monitoring and ordering technology, applied in the computer field, can solve problems such as the mismatch between the disk letter and the physical slot number, customer data storage errors, abnormal data coverage, etc., to achieve a perfect test mechanism, strong portability, and improved Test the effect of productivity

Inactive Publication Date: 2015-04-22
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF6 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the HBA card is directly connected to the hard disk in JBOD mode, there has been a situation where the disk letter and the physical Slot number in the Linux system do not correspond. This problem will lead to customer data storage errors and the consequences of abnormal overwriting of original data
If it is serious, it will bring huge losses to customers

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
  • Hard disk sequence marshalling method based on real-time JBOD monitoring mode
  • Hard disk sequence marshalling method based on real-time JBOD monitoring mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0015] The method for real-time monitoring of the sequence of hard disks in JBOD mode described in this embodiment is a method for real-time monitoring of the sequence of hard disks in JBOD mode on a storage server. The principle of this monitoring method is to record the hard disk sequence and drive letter during each restart (or power on and off) of the server under the Linux operating system, first generate a standard hard disk SN list, and compare the data obtained later with the standard record; , and save the comparison results, when the data comparison is abnormal, an alarm will be given; as attached figure 1 shown.

[0016] # / bin / bash

[0017] if [ -f " / root / ahcihba.csv" ]

[0018] then

[0019] fe=ok

[0020] else

[0021] echo "cnt,sda,sdb,sdc,sdd,sde,sdf,sdg,sdh,sdi,sdj,sdk,sdl,status" >> / root / ahcihba.csv

[0022] sleep 1

[0023] the fi

[0024] cnt=`cat / root / ahcihba.csv|wc -l`

[0025] for i in {a..l}

[0026] do

[0027] smartctl -i / dev / sd$i |grep S...

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 hard disk sequence marshalling method based on a real-time JBOD monitoring mode. An order and a disk label of a hard disk are recorded through a server under the Linux operation system during process of each reboot (or startup and shutdown). A standard hard disk SN list is generated, so that obtained post processed data is compared with a standard hard disk SN list record, and the comparing result is saved. An alert is conducted when abnormality occurs during the data comparison. According to the method, besides the disk label sorting function of the hard disk can be monitored under a server system, a stable power supplying effect for a verification system can be achieved during the testing. The testing method has the advantages that the operation is simple, the utility range is wide, the portability is good, the practicality is high, and the stability of the server is effectively guaranteed. The testing method is an effective method for testing the quality of a product.

Description

technical field [0001] The invention relates to computer technology, in particular to a method for real-time monitoring of the arrangement sequence of hard disks in JBOD mode. Background technique [0002] JBOD is an important type of storage device in the storage field. JBOD (Just a Bunch Of Disks, disk cluster) is a storage device with multiple disk drives installed on a chassis. Unlike RAID arrays, JBODs have no front-end logic to manage the distribution of data across the disks. Instead, each disk is individually addressed as a separate storage resource, either based on part of the host software, or an adapter card in the RAID group. [0003] Storage servers have a little extra storage, and possibly a lot of storage. A multi-purpose server usually has less than five internal disks, but a storage server will have at least six internal disks, and most of the time it will reach 12 to 24 internal disks. In addition to the extra disks, storage servers come with a host of s...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/22
Inventor 张希伟刘胜
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products