CN103593275B - Disc information display methods and device - Google Patents

Disc information display methods and device Download PDF

Info

Publication number
CN103593275B
CN103593275B CN201310532573.4A CN201310532573A CN103593275B CN 103593275 B CN103593275 B CN 103593275B CN 201310532573 A CN201310532573 A CN 201310532573A CN 103593275 B CN103593275 B CN 103593275B
Authority
CN
China
Prior art keywords
disk
display screen
health degree
disc information
color
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.)
Active
Application number
CN201310532573.4A
Other languages
Chinese (zh)
Other versions
CN103593275A (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.)
Guangdong Gaohang Intellectual Property Operation Co ltd
Pizhou Huiteng Jingfa Construction Co ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310532573.4A priority Critical patent/CN103593275B/en
Publication of CN103593275A publication Critical patent/CN103593275A/en
Application granted granted Critical
Publication of CN103593275B publication Critical patent/CN103593275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of disc information display methods and device, belong to field of computer technology.Disk array is applied to, the disk array includes multiple disks, and methods described includes:The disc information of the multiple disk is obtained, the disc information at least includes that disk uses parameter and Bad Track number;Bad Track number according to the multiple disk, determines the health degree of the multiple disk;Show the health degree of the multiple disk and the disc information of the multiple disk.The present invention configures display screen by disk array, the disc information of multiple disks in disk array is included in the display screen, allow that user intuitively, accurately knows the running status of disk, the accuracy and security of disk management are improve, be effectively prevent due to service disconnection caused by operational error and loss of data.

Description

Disc information display methods and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of disc information display methods and device.
Background technology
With the high speed development of computer technology, the memory that computer is carried gradually is difficult to meet that access speed is fast, deposits Storage capacity is big and the low demand of cost, then develops relatively independent storage system.The storage system is generally by storage service The storage devices such as device are constituted, interface and agreement with oneself.Storage system by the modes such as coaxial cable, netting twine, optical fiber with Main frame is connected, for main frame provides storage service.Most important part is disk array in the storage system, The disk array is run together by substantial amounts of disk combination, there is provided high speed, the memory space of Large Copacity.Because a large amount of disks hold Load different role, shares out the work and help one another, and causes disk management to there is great difficulty.For example, how quick confirmation is every in disk array The running status of individual disk;Failed disk how is quick and precisely searched in disk array, simplifies intractability, improve operation accurate Exactness, it is to avoid operational error.
In order to solve the above problems, storage system is configured with red and two LED of green in disk Handle Bar side (Light Emitting Diode, light emitting diode)Lamp.When disk accesses storage system and normally runs, storage system point Give a green light;When disk accesses storage system and breaks down, storage system point sends out a warning.
Realize it is of the invention during, inventor find prior art at least there is problems with:
User is only capable of knowing running status such as normal operation or the failure of disk by two kinds of illuminating states of LED, because This, when polylith disk needs to change, user may miss and extract the disk for playing a crucial role, and cause service disconnection, or even Loss of data.
The content of the invention
In order to solve problem of the prior art, a kind of disc information display methods and device are the embodiment of the invention provides. The technical scheme is as follows:
A kind of first aspect, there is provided disc information display methods, is applied to disk array, and the disk array includes many Individual disk, methods described includes:
The disc information of the multiple disk is obtained, the disc information at least includes that disk uses parameter and Bad Track Number;
Bad Track number according to the multiple disk, determines the health degree of the multiple disk;
Show the health degree of the multiple disk and the disc information of the multiple disk.
With reference in a first aspect, in the first possible implementation of first aspect, the health degree is included normally, i.e. By failure, the Bad Track number according to the multiple disk, determining the health degree of the multiple disk includes:
To any one disk in the multiple disk, when the Bad Track number of the disk is not more than first threshold When, the health degree of the disk is defined as normally;
When the Bad Track number of the disk is more than first threshold and during less than Second Threshold, by the health of the disk Degree is defined as failing;
When the Bad Track number of the disk is not less than Second Threshold, the health degree of the disk is defined as event Barrier.
With reference in a first aspect, may be in implementation at second of first aspect, each disk in the multiple disk Display screen is configured with, shows that the health degree of the multiple disk and the disc information of the multiple disk include:
To any one disk in the multiple disk, according to the health degree of the disk, by the display of the disk Screen display is shown as color corresponding with the health degree of the disk;
The disc information of the disk is shown with written form.
With reference in a first aspect, in the third possible implementation of first aspect, methods described also includes:
The disk number of the disk is shown in the display screen of the disk.
With reference in a first aspect, in the 4th kind of possible implementation of first aspect, according to the health degree of the disk, The display screen of the disk is shown as into color corresponding with the health degree of the disk includes:
When the health degree of the disk is normal, the background of the display screen of the disk is shown as the first color and is shown Show;Or,
When the health degree of the disk is for that will fail, the background of the display screen of the disk is shown as the second face Color;Or,
When the health degree of the disk is failure, the background of the display screen of the disk is shown as the 3rd color.
With reference in a first aspect, in the 5th kind of possible implementation of first aspect, disk is included when disk uses parameter During use state, the disc information for showing the disk with written form includes:
When the disk use state of the disk is HotSpare disk, the disk of the disk is shown with the font of the 4th color Information;Or
When the disk use state of the disk is idle disk, the disk of the disk is shown with the font of the 5th color Information;Or
When the disk use state of the disk is the member disk of disk array group, institute is shown with the font of the 6th color The disc information of disk is stated, the member disk is the disk for belonging to same disk array group.
With reference in a first aspect, in the 6th kind of possible implementation of first aspect, methods described also includes:
To any one disk in the multiple disk, when the health degree for detecting the disk is failure, in institute Information warning is shown in the display screen for stating disk;
To any one disk in the multiple disk, when detecting, the disk is extracted and the disk of the disk is used When state is the member disk of disk array group, information warning is shown in the display screen of the member disk of the disk.
With reference in a first aspect, in the 7th kind of possible implementation of first aspect, methods described also includes:
When the open command to the multiple disk display screen is detected, the display screen of the multiple disk is lighted;
When the out code to the multiple disk correspondence display screen is detected, the display of the multiple disk is closed Screen.
With reference in a first aspect, in the 8th kind of possible implementation of first aspect, disk is made using parameter including disk With one or more in state, disk read-write pressure and disk temperature.
A kind of second aspect, there is provided disc information display device, is applied to disk array, and the disk array includes many Individual disk, described device includes:
Disc information acquisition module, the disc information for obtaining the multiple disk, the disc information at least includes Disk uses parameter and Bad Track number;
Disk health degree determining module, for the Bad Track number according to the multiple disk, determines the multiple The health degree of disk;
Disc information display module, for showing the health degree of the multiple disk and the disk letter of the multiple disk Breath.
With reference to second aspect, in the first possible implementation of second aspect, the health degree is included normally, i.e. By failure, the disk health degree determining module includes:
Normal health extent determination unit, for any one disk in the multiple disk, when the magnetic of the disk When disk bad track number is not more than first threshold, the health degree of the disk is defined as normally;
Will be failed health degree determining unit, for the Bad Track number when the disk more than first threshold and small When Second Threshold, the health degree of the disk is defined as to fail;
Failure health degree determining unit, for when the Bad Track number of the disk is not less than Second Threshold, inciting somebody to action The health degree of the disk is defined as failure.
With reference to second aspect, in second possible implementation of second aspect, each disk in the multiple disk Display screen is configured with, the disc information display module includes:
Display screen color display unit, for any one disk in the multiple disk, according to the strong of the disk Kang Chengdu, color corresponding with the health degree of the disk is shown as by the display screen of the disk;
Disc information display unit, the disc information for showing the disk with written form.
With reference to second aspect, in the third possible implementation of second aspect, described device also includes:
Disk number display module, the disk number for showing the disk in the display screen of the disk.
With reference to second aspect, in the 4th kind of possible implementation of second aspect, the display screen color display unit Including:
First display screen color display subelement, for when the health degree of the disk is normal, by the disk The background of display screen be shown as the first color and show;Or,
Second display screen color shows subelement, for when the health degree of the disk is for that will fail, by described in The background of the display screen of disk is shown as the second color;Or,
3rd display screen color display subelement, for when the health degree of the disk is failure, by the disk The background of display screen be shown as the 3rd color.
With reference to second aspect, in the 5th kind of possible implementation of second aspect, when disk includes disk using parameter During use state, the disc information display unit includes:
First disc information shows subelement, for when the disk use state of the disk is HotSpare disk, with the 4th The font of color shows the disc information of the disk;Or
Second disk presentation of information subelement, for when the disk use state of the disk is idle disk, with the 5th The font of color shows the disc information of the disk;Or
3rd disc information shows subelement, is the member of disk array group for the disk use state when the disk During disk, the disc information of the disk is shown with the font of the 6th color, the member disk is the same disk array group of ownership Disk.
With reference to second aspect, in the 6th kind of possible implementation of second aspect, described device also includes:
First information warning display module, for any one disk in the multiple disk, when detecting the magnetic When the health degree of disk is failure, information warning is shown in the display screen of the disk;
Second information warning display module, for any one disk in the multiple disk, when detecting the magnetic When the disk use state of disk extraction and the disk is the member disk of disk array group, in the display of the member disk of the disk Information warning is shown in screen.
With reference to second aspect, in the 7th kind of possible implementation of second aspect, described device also includes:
Display screen lights module, described for when the open command to the multiple disk display screen is detected, lighting The display screen of multiple disks;
Display screen closedown module, for when the out code to the multiple disk correspondence display screen is detected, closing The display screen of the multiple disk.
With reference to second aspect, in the 8th kind of possible implementation of second aspect, disk is made using parameter including disk With one or more in state, disk read-write pressure and disk temperature.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Display screen is configured by disk array, the disc information of multiple disks in disk array is included in the display screen In so that user can intuitively, accurately know the running status of disk, improve the accuracy and security of disk management, have Effect is avoided due to service disconnection caused by operational error and loss of data.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is disc information display methods flow chart provided in an embodiment of the present invention;
Fig. 2 is disc information display methods flow chart provided in an embodiment of the present invention;
Fig. 3 is display screen display disc information schematic diagram provided in an embodiment of the present invention;
Fig. 4 is disc information display device structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is disc information display methods flow chart provided in an embodiment of the present invention.Disk array is applied to, disk battle array Row include multiple disks, and referring to Fig. 1, the embodiment includes:
101st, the disc information of the plurality of disk is obtained, the disc information at least includes that disk uses parameter and Bad Track Number;
102nd, the Bad Track number according to the plurality of disk, determines the health degree of the plurality of disk;
103rd, the health degree of the plurality of disk and the disc information of the plurality of disk are shown.
Method provided in an embodiment of the present invention, display screen is configured by disk array, by multiple disks in disk array Disc information be displayed in the display screen so that user can intuitively, accurately know the running status of disk, improve disk The accuracy and security of management, effectively prevent due to service disconnection caused by operational error and loss of data.
Alternatively, the health degree include it is normal, will failure, the Bad Track number according to the plurality of disk Mesh, determining the health degree of the plurality of disk includes:
To any one disk in the plurality of disk, when the Bad Track number of the disk is not more than first threshold, will The health degree of the disk is defined as normally;
When the Bad Track number of the disk is more than first threshold and during less than Second Threshold, by the health degree of the disk It is defined as failing;
When the Bad Track number of the disk is not less than Second Threshold, the health degree of the disk is defined as failure.
Alternatively, each disk is configured with display screen in the plurality of disk, shows the health degree of the plurality of disk and is somebody's turn to do The disc information of multiple disks includes:
To any one disk in the plurality of disk, according to the health degree of the disk, the display screen of the disk is shown It is color corresponding with the health degree of the disk;
The disc information of the disk is shown with written form.
Alternatively, the method also includes:
The disk number of the disk is shown in the display screen of the disk.
Alternatively, according to the health degree of the disk, the display screen of the disk is shown as the health degree with the disk Corresponding color includes:
When the health degree of the disk is normal, the background of the display screen of the disk is shown as the first color and is shown; Or,
When the health degree of the disk is for that will fail, the background of the display screen of the disk is shown as the second color; Or,
When the health degree of the disk is failure, the background of the display screen of the disk is shown as the 3rd color.
Alternatively, when disk includes disk use state using parameter, the magnetic of the plurality of disk is shown with written form Disk information includes:
When the disk use state of the disk is HotSpare disk, the disk for showing the disk with the font of the 4th color is believed Breath;Or
When the disk use state of the disk is idle disk, the disk for showing the disk with the font of the 5th color is believed Breath;Or
When the disk use state of the disk is the member disk of disk array group, the magnetic is shown with the font of the 6th color The disc information of disk, the member disk is the disk for belonging to same disk array group.
Alternatively, the method also includes:
To any one disk in the plurality of disk, when the health degree for detecting the disk is failure, in the disk Display screen in show information warning;
To any one disk in the plurality of disk, when detecting, the disk is extracted and the disk use state of the disk is During the member disk of disk array group, information warning is shown in the display screen of the member disk of the disk.
Alternatively, the method also includes:
When the open command to the plurality of disk display screen is detected, the display screen of the plurality of disk is lighted;
When the out code to the plurality of disk correspondence display screen is detected, the display screen of the plurality of disk is closed.
Alternatively, disk using parameter include disk use state, disk read-write pressure and disk temperature in one or It is multinomial.
Fig. 2 is disc information display methods flow chart provided in an embodiment of the present invention.The executive agent of the embodiment of the present invention It is disk array control unit, the disk array includes multiple disks, and disk array control unit is used to control the disk array Read-write and various operations.Referring to Fig. 2, the embodiment includes:
201st, disk array control unit obtains the disc information of multiple disks, and the disc information is at least used including disk Parameter and Bad Track number.
Wherein, the plurality of disk can be distributed in different disk array groups, and every group includes at least one disk, this hair Disk described in bright embodiment can be member disk in idle disk, HotSpare disk or disk array group etc..
Wherein, the disk in the embodiment of the present invention is used to store and Backup Data, and the disk includes but is not limited to hard disk, soft The storage device such as disk and CD-ROM drive.The disk includes but is not limited to disk use state, disk read-write pressure, disk temperature using parameter One or more in degree and disk global general-use name.When bad track occurs in disk, some sectors of disk are unavailable, and disk goes out Existing failure.The embodiment of the present invention can run PQ Magic8.0, utilize " detection mistake " function to be scanned disk sector, Obtain the Bad Track number of disk.
In the embodiment of the present invention, the disk array is configured with the display screen for showing disc information, the embodiment of the present invention Only illustrated so that each disk in the disk array is configured with a display screen as an example, subsequent step is also based on each disk It is configured with execution as a example by a display screen.And in actual applications, the disk array can be configured with a display with multiple disks Screen, the present embodiment is not especially limited.Wherein, the display screen can be colorful display screen, preferably LED(Light Emitting Diode, light emitting diode)Display screen.
In the embodiment of the present invention, disk array control unit can be configured with picture processing chip, the picture processing chip For processing acquired disc information so that acquired disc information is shown with image format.In disk array Display screen can be configured with supply lines and signal control line, and display screen is connected by the signal control line with disk, when disk connects When entering disk array, disk array control unit can obtain the disc information of the disk, and be carried out by picture processing chip Treatment, so as in the disc information of the display screen display of the disk disk.
Alternatively, disk array control unit can be obtained the disc information of multiple disks by predetermined period so that disk Information upgrades in time, to ensure the accuracy of disc information.Wherein, the predetermined period can be set by developer, the present embodiment It is not especially limited, it is preferable that predetermined period is 2 seconds.
Still optionally further, disk array control unit is obtained the disc information of multiple disks, the present invention by predetermined period Embodiment is only obtained the Bad Track number of multiple disks with disk array control unit by predetermined period, and obtains disk successively Using being illustrated as a example by parameter, subsequent step is also based on the magnetic that disk array control unit obtains multiple disks Disk bad track number, and execution as a example by during disk uses parameter is obtained successively.And in actual applications, disk array control The Bad Track number and disk that unit can also obtain multiple disks by predetermined period use multinomial in parameter so that user More disc informations of multiple disks can in time be known, the present embodiment is not especially limited.
For example, disk array control unit obtains current Bad Track number and disk temperature, after predetermined period is spaced, Disk array control unit reacquires Bad Track number and disk read-write pressure.
202nd, disk array control unit determines the health of the plurality of disk according to the Bad Track number of the plurality of disk Degree.
It will be appreciated by those skilled in the art that because disk maintenance is improper or the reason such as user's improper use causes to occur Bad Track so that different degrees of failure occurs in disk.The embodiment of the present invention determines according to the Bad Track number of disk The health degree of disk.Wherein, the health degree include but is not limited to normally, will failure etc..
Alternatively, step 202 includes implementation below:To any one disk in the plurality of disk, when the disk When Bad Track number is not more than first threshold, the health degree of the disk is defined as normally;When the Bad Track of the disk Be defined as the health degree of the disk to fail more than first threshold and during less than Second Threshold by number;When the disk When Bad Track number is not less than Second Threshold, the health degree of the disk is defined as failure.Wherein, the first threshold is less than The Second Threshold, the first threshold and the Second Threshold can be set by developer, and the present embodiment is not especially limited.
It should be noted that the health degree of disk can be true by Bad Track number, disk IO read-write pressure and other parameters It is fixed, such as when disk cannot normally be read and write, the health degree of disk is determined for failure, when disk read-write speed is slower, really The health degree of disk is determined for that will fail.The embodiment of the present invention determines the healthy journey of disk only by taking Bad Track number as an example Degree, and in actual applications, the health degree of disk can also be determined the health degree of disk by other specification, the present embodiment It is not especially limited.
203rd, to any one disk in the plurality of disk, according to the health degree of the disk, disk array control unit The display screen of the disk is shown as color corresponding with the health degree of the disk.
In the embodiment of the present invention, when the health degree of the disk is normal, the background of the display screen of the disk is shown For the first color shows;When the health degree of the disk is for that will fail, the background of the display screen of the disk is shown as the Second colors;When the health degree of the disk is failure, the background of the display screen of the disk is shown as the 3rd color.The present invention Embodiment display screen backgrounds in different colors distinctly display the disk of different health degrees so that user can intuitively, it is fast Speed understands disk running status, timely handling failure disk, it is to avoid service disconnection.For example, by taking disk A as an example, when disk A's When health degree is normal, the background of the display screen of disk A is shown as white;When the health degree of disk A is for will During failure, the background of the display screen of disk A is shown as yellow;And when the health degree of disk A is failure, by the magnetic The background of the display screen of disk A is shown in red.
It should be noted that the embodiment of the present invention is only illustrated by taking any one disk in the plurality of disk as an example, should The mode that the display screen of other disks shows in multiple disks is similar to, and the embodiment of the present invention is repeated no more.In addition, the present invention is implemented Example disk array control unit only identifies the health degree of disk with the background Show Color of the display screen of disk, and in reality In, disk array control unit can also the background flashing mode of display screen of disk identify the health degree of disk, The present embodiment is not especially limited.
204th, to any one disk in the plurality of disk, disk array control unit shows the disk with written form Disc information.
The embodiment of the present invention is only illustrated by taking any one disk in the plurality of disk as an example, in the plurality of disk other The mode that the display screen of disk shows is similar to, and the embodiment of the present invention is repeated no more.
In the embodiment of the present invention, the disk array control unit obtain one or more in the disc information of the disk it Afterwards, the acquired disc information is shown in the display screen of the disk, in next predetermined period, disk array control Unit reacquires one or more in the disc information of the disk, then show that this is acquired in the display screen of the disk Disc information.For example, by taking disk A as an example, it is assumed that predetermined period is 2 seconds, and disk array control unit obtains the disk temperature of disk A Degree, and the disk temperature of disk A is shown in the display screen of disk A, after 2 seconds, disk array control unit obtains the magnetic of disk A Disk bad track number, then show the Bad Track number of disk A in the display screen of disk A.
Preferably, the disk number of the disk is shown in the display screen of the disk.
In the embodiment of the present invention, can be with the disk number of the continuously display disk in the display screen of the disk, the disk is compiled Number for identifying physical location of the disk in disk array, facilitate user management disk.
As shown in figure 3, disk array includes 12 disks, it is assumed that predetermined period is 2 seconds.When disk array control unit is obtained When taking the disk temperature and Bad Track number of 12 disks, 12 display screens of disk show that the disk of each disk is compiled respectively Number, the health degree of disk, the disk temperature of disk.Wherein, in disk number(1、0)~(1、11)In, disk number is(1、 4)Disk health degree will to fail, the background of the display screen of the disk is yellow;Disk number is(1、9)Disk Health degree be failure, the background of the display screen of the disk is red.After 2 seconds, disk array control unit is obtained again at interval 12 Bad Track numbers of disk are taken, now 12 display screens of disk show the disk number of each disk, disk respectively Health degree, the Bad Track number of disk.Wherein, in disk number(1、0)~(1、11)In, disk number is(1、4) Disk health degree will to fail, the background of the display screen of the disk is yellow;Disk number is(1、9)Disk Health degree is failure, and the background of the display screen of the disk is red.
Preferably, when the disk that disk array control unit is obtained includes disk use state using parameter, step 204 include implementation below:When the disk use state of the disk is HotSpare disk, the magnetic is shown with the font of the 4th color The disc information of disk;When the disk use state of the disk is idle disk, the magnetic of the disk is shown with the font of the 5th color Disk information;When the disk use state of the disk is the member disk of disk array group, the magnetic is shown with the font of the 6th color The disc information of disk, the member disk is the disk for belonging to same disk array group.Embodiment of the present invention font in different colors Disk of the display in different use states so that user can intuitively, quickly understand the use state of the plurality of disk, it is convenient Disk management.In the embodiment of the present invention, the font Show Color of the disc information of the disk is only needed and the display screen of the disk Background Show Color is different, therefore the 4th color, the 5th color, the 6th color can be set by technical staff, this Embodiment is not specifically limited.It should be noted that when the disk that disk array control unit is obtained includes magnetic using parameter During disk use state, the embodiment of the present invention only shows different colors and uses distinguishing different disks with the font of disc information State, and in actual applications, disc information can also be distinctly displayed with different font sizes, runic or italic etc., by difference Disk use state be distinguished, the present embodiment is not especially limited.
It is further preferred that when the disk use state of the disk is the member disk of disk array group, disk array control Unit processed can will belong to same disk array group and belong to the disk of same Disk Array Type, aobvious with the font of same color Show the disc information of disk, different disk array group will be belonged to or belong to the disk of different disk array type, in different colors Font shows disc information, to reach the purpose for further discriminating between.
It is another preferably, when disk array breaks down, disk array control unit display information warning.It is of the invention real Apply in example, display information warning includes implementation below a and b:
A, to any one disk in the plurality of disk, when the health degree for detecting the disk is failure, disk battle array Row control unit shows information warning in the display screen of the disk, e.g., when a certain disk failure, disk array control unit The printed words of " disk failure " can be shown in the display screen of the disk, reminds user to change disk in time, it is to avoid service disconnection.
B, to any one disk in the plurality of disk, when detect the disk extract and the disk disk use state For disk array group member disk when, disk array control unit shown in the display screen of the member disk of the disk warning letter Breath.Such as, when there is member disk failure to be pulled out in disk array group, disk array group is in degrading state, the i.e. disk array Organizing other member disks does not allow to extract again, can otherwise cause service disconnection, or even loss of data, and now, disk array control is single The printed words of unit's display " forbidding extracting " in the display screen of other member disks of the disk array group, it is to avoid operational error.Work as disk When array group recovers normal condition, " forbidding extracting " printed words are no longer shown.
It should be noted that the present embodiment is only each equipped with display screen with each disk of disk array, each disk Display screen is illustrated as a example by showing a disc information for disk respectively, and in actual applications, disk array can also be multiple Disk is configured with a display screen, in the display screen of the plurality of disk, the disk number of the correspondence the plurality of disk of display and Disc information.Wherein, the plurality of disk can be two disks, or more than two disks, and the present embodiment is not made to have Body is limited.For example, disk A and disk B are configured with a display screen, when disk array control unit gets disk A and disk B Disk number and disk temperature when, in the display screen of disk A and disk B, the disk number and magnetic of correspondence display disk A The disk number and disk temperature of disk temperature and disk B.
Further preferably, embodiment of the present invention disk array can be configured with power down switch, for controlling whole display screen Power supply, to save electric power.Specific embodiment, details are as follows:When detecting the open command to the plurality of disk display screen When, disk array control unit lights the display screen of the plurality of disk;When detect to the plurality of disk correspondence display screen pass When closing instruction, disk array control unit closes the display screen of the plurality of disk.In the present embodiment, when the display screen of multiple disks During closing, the running of storage system is not influenceed, be only not light display screen.
It should be noted that step 202-203 is the process that disk health degree is shown with the background of disk display screen, step Rapid 204 is the process that disc information is shown with written form, and the two processes can be carried out simultaneously, it is also possible to any sequencing Carry out, the present embodiment only first carries out the process that disk health degree is shown with the background of disk display screen, then performs with word shape Illustrated as a example by the process of formula display disc information, this implementation is not specifically limited.
Method provided in an embodiment of the present invention, can apply to be performed on the server of large-scale multiple disks, it is also possible to apply In being performed on the device and equipment of high-end many redundancies, the embodiment of the present invention is not especially limited.
Method provided in an embodiment of the present invention, display screen is configured by disk array, by multiple disks in disk array Disc information be displayed in the display screen so that user can intuitively, accurately know the running status of disk, improve disk The accuracy and security of management, effectively prevent due to service disconnection caused by operational error and loss of data.
Fig. 4 is disc information display device structure schematic diagram provided in an embodiment of the present invention.Disk array is applied to, the magnetic Disk array includes multiple disks, and referring to Fig. 4, the device includes:Disc information acquisition module 401, disk health degree determine mould Block 402 and disc information display module 403.
Disc information acquisition module 401 is used to obtain the disc information of the plurality of disk, and the disc information at least includes magnetic Disk uses parameter and Bad Track number;Disc information acquisition module 401 is connected with disk health degree determining module 402, uses It is used for the Bad Track number according to the plurality of disk in disk health degree determining module 402, determines the strong of the plurality of disk Kang Chengdu;Disk health degree determining module 402 is connected with disc information display module 403, and disc information display module 403 is used In the health degree and the disc information of the plurality of disk that show the plurality of disk.
Alternatively, the health degree include it is normal, will failure, the disk health degree determining module 402 wraps Include:Normal health extent determination unit, for any one disk in the plurality of disk, when the Bad Track number of the disk No more than first threshold when, the health degree of the disk is defined as normally;Will be failed health degree determining unit, for working as , more than first threshold and during less than Second Threshold, the health degree of the disk is defined as will for the Bad Track number of the disk Failure;Failure health degree determining unit, for when the Bad Track number of the disk is not less than Second Threshold, by the disk Health degree be defined as failure.
Alternatively, each disk is configured with display screen in the plurality of disk, and the disc information display module 403 includes:It is aobvious Display screen color display unit, for any one disk in the plurality of disk, according to the health degree of the disk, by the disk Display screen be shown as color corresponding with the health degree of the disk;Disc information display unit, for aobvious with written form Show the disc information of the disk.
Alternatively, the device also includes:Disk number display module, for showing the disk in the display screen of the disk Disk number.
Alternatively, the display screen color display unit includes:First display screen color display subelement, for when the disk Health degree for it is normal when, the background of the display screen of the disk is shown as the first color and is shown;Or, second display screen color Display subelement, for when the health degree of the disk is for that will fail, the background of the display screen of the disk being shown as into the Second colors;Or, the 3rd display screen color display subelement, for when the health degree of the disk is failure, by the disk The background of display screen is shown as the 3rd color.
Alternatively, when disk includes disk use state using parameter, the disc information display unit includes:First magnetic Disk presentation of information subelement, for when the disk use state of the disk is HotSpare disk, this being shown with the font of the 4th color The disc information of disk;Or second disk presentation of information subelement, for when the disk use state of the disk is idle disk, The disc information of the disk is shown with the font of the 5th color;Or the 3rd disc information display subelement, for when the disk Disk use state for disk array group member disk when, the disc information of the disk is shown with the font of the 6th color, this into Member's disk is the disk for belonging to same disk array group.
Alternatively, the device also includes:First information warning display module, for any one magnetic in the plurality of disk Disk, when the health degree for detecting the disk is failure, information warning is shown in the display screen of the disk;Second warning letter Breath display module, for any one disk in the plurality of disk, the disk to be extracted and the disk of the disk makes when detecting During with the member disk that state is disk array group, information warning is shown in the display screen of the member disk of the disk.
Alternatively, the device also includes:Display screen lights module, and the plurality of disk display screen is opened for working as to detect When opening instruction, the display screen of the plurality of disk is lighted;Display screen closedown module, for aobvious to the plurality of disk correspondence when detecting During the out code of display screen, the display screen of the plurality of disk is closed.
Alternatively, disk using parameter include disk use state, disk read-write pressure and disk temperature in one or It is multinomial.
Device provided in an embodiment of the present invention, display screen is configured by disk array, by multiple disks in disk array Disc information be displayed in the display screen so that user can intuitively, accurately know the running status of disk, improve disk The accuracy and security of management, effectively prevent due to service disconnection caused by operational error and loss of data.
It should be noted that:Above-described embodiment provide disc information display device show disc information when, only more than Stating the division of each functional module is carried out for example, in practical application, as needed can distribute by difference above-mentioned functions Functional module complete, will the internal structure of device be divided into different functional modules, with complete it is described above whole or Person's partial function.In addition, the disc information display device that above-described embodiment is provided belongs to disc information display methods embodiment Same design, it implements process and refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (12)

1. a kind of disc information display methods, it is characterised in that be applied to disk array, the disk array includes multiple magnetic Disk, methods described includes:
The disc information of the multiple disk is obtained, the disc information at least includes that disk uses parameter and Bad Track number Mesh;
Bad Track number according to the multiple disk, determines the health degree of the multiple disk;
Show the health degree of the multiple disk and the disc information of the multiple disk;Wherein:
The health degree include it is normal, will failure, the Bad Track number according to the multiple disk determines institute The health degree for stating multiple disks includes:
To any one disk in the multiple disk, when the Bad Track number of the disk is not more than first threshold, will The health degree of the disk is defined as normally;
When the Bad Track number of the disk is more than first threshold and during less than Second Threshold, by the health degree of the disk It is defined as failing;
When the Bad Track number of the disk is not less than Second Threshold, the health degree of the disk is defined as failure;
Methods described also includes:
To any one disk in the multiple disk, when the disk use state for detecting the disk extraction and the disk For disk array group member disk when, then shown in the display screen of the member disk of the disk for represent forbid extract police Show information;
Each disk is configured with display screen in the multiple disk, shows the health degree and the multiple magnetic of the multiple disk The disc information of disk includes:
To any one disk in the multiple disk, according to the health degree of the disk, by the display screen display of the disk It is shown as color corresponding with the health degree of the disk;
The disc information of the disk is shown with written form;
Methods described also includes:
The disk number of the disk is shown in the display screen of the disk, the disk number exists for identifying the disk Physical location in the disk array.
2. method according to claim 1, it is characterised in that according to the health degree of the disk, by the disk Display screen is shown as color corresponding with the health degree of the disk to be included:
When the health degree of the disk is normal, the background of the display screen of the disk is shown as the first color and is shown; Or,
When the health degree of the disk is for that will fail, the background of the display screen of the disk is shown as the second color; Or,
When the health degree of the disk is failure, the background of the display screen of the disk is shown as the 3rd color.
3. method according to claim 1, it is characterised in that when disk includes disk use state using parameter, with Written form shows that the disc information of the disk includes:
When the disk use state of the disk is HotSpare disk, the disk for showing the disk with the font of the 4th color is believed Breath;Or
When the disk use state of the disk is idle disk, the disk for showing the disk with the font of the 5th color is believed Breath;Or
When the disk use state of the disk is the member disk of disk array group, the magnetic is shown with the font of the 6th color The disc information of disk, the member disk is the disk for belonging to same disk array group.
4. method according to claim 1, it is characterised in that methods described also includes:
To any one disk in the multiple disk, when the health degree for detecting the disk is failure, in the magnetic Information warning is shown in the display screen of disk.
5. method according to claim 1, it is characterised in that methods described also includes:
When the open command to the multiple disk display screen is detected, the display screen of the multiple disk is lighted;
When the out code to the multiple disk correspondence display screen is detected, the display screen of the multiple disk is closed.
6. method according to claim 1, it is characterised in that disk includes that disk use state, disk are read using parameter Write one or more in pressure and disk temperature.
7. a kind of disc information display device, it is characterised in that be applied to disk array, the disk array includes multiple magnetic Disk, described device includes:
Disc information acquisition module, the disc information for obtaining the multiple disk, the disc information at least includes disk Use parameter and Bad Track number;
Disk health degree determining module, for the Bad Track number according to the multiple disk, determines the multiple disk Health degree;
Disc information display module, for showing the health degree of the multiple disk and the disc information of the multiple disk; Wherein:
The health degree include it is normal, will failure, the disk health degree determining module includes:
Normal health extent determination unit, for any one disk in the multiple disk, when the disk of the disk is bad When road number is not more than first threshold, the health degree of the disk is defined as normally;
Will be failed health degree determining unit, for the Bad Track number when the disk more than first threshold and less than the During two threshold values, the health degree of the disk is defined as to fail;
Failure health degree determining unit, for when the Bad Track number of the disk is not less than Second Threshold, by described in The health degree of disk is defined as failure;
Described device, also includes:
Second information warning display module, for any one disk in the multiple disk, being pulled out when the disk is detected Go out and the disk disk use state for disk array group member disk when, in the display screen of the member disk of the disk Show for representing the information warning for forbidding extracting;
Each disk is configured with display screen in the multiple disk, and the disc information display module includes:
Display screen color display unit, for any one disk in the multiple disk, according to the healthy journey of the disk Degree, color corresponding with the health degree of the disk is shown as by the display screen of the disk;
Disc information display unit, the disc information for showing the disk with written form;
Described device also includes:
Disk number display module, the disk number for showing the disk in the display screen of the disk, the disk Number the physical location for identifying the disk in the disk array.
8. device according to claim 7, it is characterised in that the display screen color display unit includes:
First display screen color display subelement, for when the health degree of the disk is normal, by the aobvious of the disk The background of display screen is shown as the first color and shows;Or,
Second display screen color shows subelement, for when the health degree of the disk is for that will fail, by the disk The background of display screen be shown as the second color;Or,
3rd display screen color display subelement, for when the health degree of the disk is failure, by the aobvious of the disk The background of display screen is shown as the 3rd color.
9. device according to claim 7, it is characterised in that when disk includes disk use state using parameter, institute Stating disc information display unit includes:
First disc information shows subelement, for when the disk use state of the disk is HotSpare disk, with the 4th color Font show the disc information of the disk;Or
Second disk presentation of information subelement, for when the disk use state of the disk is idle disk, with the 5th color Font show the disc information of the disk;Or
3rd disc information shows subelement, is the member disk of disk array group for the disk use state when the disk When, the disc information of the disk is shown with the font of the 6th color, the member disk is the magnetic for belonging to same disk array group Disk.
10. device according to claim 7, it is characterised in that described device also includes:
First information warning display module, for any one disk in the multiple disk, when detecting the disk When health degree is failure, information warning is shown in the display screen of the disk.
11. devices according to claim 7, it is characterised in that described device also includes:
Display screen lights module, for when the open command to the multiple disk display screen is detected, lighting the multiple The display screen of disk;
Display screen closedown module, for when the out code to the multiple disk correspondence display screen is detected, closing described The display screen of multiple disks.
12. devices according to claim 7, it is characterised in that disk includes that disk use state, disk are read using parameter Write one or more in pressure and disk temperature.
CN201310532573.4A 2013-10-31 2013-10-31 Disc information display methods and device Active CN103593275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310532573.4A CN103593275B (en) 2013-10-31 2013-10-31 Disc information display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310532573.4A CN103593275B (en) 2013-10-31 2013-10-31 Disc information display methods and device

Publications (2)

Publication Number Publication Date
CN103593275A CN103593275A (en) 2014-02-19
CN103593275B true CN103593275B (en) 2017-06-27

Family

ID=50083427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310532573.4A Active CN103593275B (en) 2013-10-31 2013-10-31 Disc information display methods and device

Country Status (1)

Country Link
CN (1) CN103593275B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468482B (en) * 2014-08-29 2021-02-05 研祥智能科技股份有限公司 Hard disk position identification and fault diagnosis method and server equipment thereof
CN105138425A (en) * 2015-08-13 2015-12-09 浪潮(北京)电子信息产业有限公司 Detection method and system for health status of disk
CN106201339B (en) * 2016-06-27 2019-05-10 浪潮(北京)电子信息产业有限公司 A kind of method and system of positioning delay disk
CN107368264A (en) * 2017-07-26 2017-11-21 郑州云海信息技术有限公司 A kind of combination RAID method, system and storage management software system
CN108536548B (en) * 2018-04-10 2020-12-29 网宿科技股份有限公司 Method and device for processing bad track of disk and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007193B1 (en) * 2000-01-07 2006-02-28 Storage Technology Corporation Method and system for reconstructing data serially arranged on a magnetic tape track
CN102385537A (en) * 2011-10-25 2012-03-21 曙光信息产业(北京)有限公司 Disk failure processing method of multi-copy storage system
CN102495784A (en) * 2011-11-16 2012-06-13 浪潮(北京)电子信息产业有限公司 Hard disc monitor and management method and system
CN103019885A (en) * 2012-11-26 2013-04-03 大唐移动通信设备有限公司 Method and system for monitoring embedded Linux-based hard disc bad track

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306504B (en) * 2011-08-17 2013-09-04 厦门市美亚柏科信息股份有限公司 Sample collecting method and method for predicting health condition of copying equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007193B1 (en) * 2000-01-07 2006-02-28 Storage Technology Corporation Method and system for reconstructing data serially arranged on a magnetic tape track
CN102385537A (en) * 2011-10-25 2012-03-21 曙光信息产业(北京)有限公司 Disk failure processing method of multi-copy storage system
CN102495784A (en) * 2011-11-16 2012-06-13 浪潮(北京)电子信息产业有限公司 Hard disc monitor and management method and system
CN103019885A (en) * 2012-11-26 2013-04-03 大唐移动通信设备有限公司 Method and system for monitoring embedded Linux-based hard disc bad track

Also Published As

Publication number Publication date
CN103593275A (en) 2014-02-19

Similar Documents

Publication Publication Date Title
CN103593275B (en) Disc information display methods and device
CN104756082B (en) Intelligent error for database application restores
US9658269B2 (en) Systems and methods for connectors with insertion counters
CN206515814U (en) A kind of monitoring hard-disk status device
CN104956338A (en) Displaying information technology conditions with heat maps
CN107092570A (en) The adaptive configuring method and system of a kind of onboard M.2 hard disk of server
CN105700999B (en) The method and system of recording processor operation
CN103019898B (en) Error reporting system for memory module detection and slot position traffic light positioning
CN109032863A (en) Determination method, the system of a kind of NVMe solid state hard disk and its failure cause
JP2009129418A (en) Disk controller and storage system
CN101615156A (en) But the system of displaying erasing and writing life of removable storage device in real time
CN206271394U (en) A kind of giant-screen of automatic fault detection
CN105119765B (en) A kind of Intelligent treatment fault system framework
CN102147710B (en) Management hub, in order to manage the method for multiple drivers be connected with a main frame
CN103761202B (en) A kind of data storage node hard disk position identification method and system
CN108803538A (en) A kind of factory's monitoring System and method for based on time series database
CN106201801A (en) A kind of electronic equipment and error-reporting method
CN107818061A (en) Data bus and management bus for associated peripheral devices
CN102439569A (en) Method and device for checking system state of device
CN112396547A (en) Course recommendation method, device, equipment and medium based on unsupervised learning
US11128539B1 (en) Utilizing images to evaluate the status of a network system
CN206460443U (en) A kind of intelligent screen lock device
CN112445633A (en) Method and device for positioning fault disk
CN102866933A (en) Method for judging type of redundant array of independent disks (RAID)
CN110008189A (en) A kind of automatic reporting method of file system error, device and equipment

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right

Effective date of registration: 20191211

Address after: 221300 Tushan street, Tushan Town, Pizhou City, Xuzhou City, Jiangsu Province

Patentee after: Pizhou Huiteng Jingfa Construction Co.,Ltd.

Address before: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China

Patentee before: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Effective date of registration: 20191211

Address after: 510000 unit 2414-2416, building, No. five, No. 371, Tianhe District, Guangdong, China

Patentee after: GUANGDONG GAOHANG INTELLECTUAL PROPERTY OPERATION Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right