CN105353983A - Method and apparatus for identifying disk information in RAID - Google Patents
Method and apparatus for identifying disk information in RAID Download PDFInfo
- Publication number
- CN105353983A CN105353983A CN201510737885.8A CN201510737885A CN105353983A CN 105353983 A CN105353983 A CN 105353983A CN 201510737885 A CN201510737885 A CN 201510737885A CN 105353983 A CN105353983 A CN 105353983A
- Authority
- CN
- China
- Prior art keywords
- disk
- corresponding relation
- slot
- raid
- scan code
- 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
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The present invention provides a method and apparatus for identifying disk information in RAID. The method comprises: setting a first correspondence between a slot name of a disk in RAID and a slot scan code in advance; according to a system log file, acquiring a second correspondence between the slot scan code and disk manufacturer information; according to booting information, acquiring a third correspondence between the slot scan code and a disk name; according to a disk partition table, acquiring a fourth correspondence between the disk name and a disk token name; and according to the first correspondence, the second correspondence, the third correspondence and the fourth correspondence, determining a fifth correspondence between the slot name, the slot scan code, the disk name, the disk token name and the disk manufacturer information. According to the method and apparatus for identifying disk information in RAID provided by the present invention, manufacturer information of a disk in RAID can be automatically identified.
Description
Technical field
The present invention relates to computer realm, particularly a kind of method and device identifying disc information in RAID.
Background technology
Along with the development of large data technique, the high efficiency of storage system, security receive increasing concern.In order to ensure the data security of disk storage system, conventional mode builds RAID (RedundantArraysofIndependentDisks, disk array) by forming disk.For strengthening the performance of RAID further, as improved the stability of RAID, the read or write speed of data and security etc., the disk in RAID is preferably identical.
In current RAID management system, by the approach such as boot-strap information, disk partition table, the information such as the title of disk in RAID, capacity and the position in disc array system thereof can be obtained, thus the disk list under realizing figure, to complete the management to disk in RAID.When using and manage RAID, when especially running into the insertion of disk, extract and change the situations such as disk, the manufacturer's information of disk used in RAID can only be determined by man memory, lacking reliability.
Visible by foregoing description, method of the prior art can not the manufacturer's information of disk in automatic acquisition RAID.
Summary of the invention
In view of this, the invention provides a kind of method and the device that identify disc information in RAID, automatically can identify the manufacturer's information of disk in RAID.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the invention provides a kind of method identifying disc information in RAID, the method comprises:
S0: pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code;
S1: according to syslog file, obtains the second corresponding relation of slot scan code and disk manufacturer's information;
S2: according to boot-strap information, obtains the 3rd corresponding relation of slot scan code and Disk name;
S3: according to disk partition table, obtains the 4th corresponding relation of Disk name and disk label name;
S4: according to described first corresponding relation, described second corresponding relation, described 3rd corresponding relation and described 4th corresponding relation, determine the 5th corresponding relation of slot title, slot scan code, Disk name, disk label name and disk manufacturer's information.
Further, described step S1, comprising: according to described syslog file, obtains the 6th corresponding relation of the disk manufacturer's information of the disk of slot scan code and current placement.
Further, after step s4, also comprise: in graphical interfaces, show described 5th corresponding relation.
Further, before step S1, also comprise: pre-set system disk certification list;
After step S1, also comprise: for the disk that each slot scan code in described 6th corresponding relation is corresponding, according to described system disk certification list and described 6th corresponding relation, judge in RAID when whether disk manufacturer's information corresponding to the slot scan code of front disk be in described system disk certification list, if, allow to use and work as front disk, otherwise, prohibit the use and work as front disk.
Further, describedly pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code, comprise: the information of the slot title provided according to RAID manufacturer and the corresponding relation of slot scan code, pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code.
Further, the method comprises: according to described disk partition table, obtains the 7th corresponding relation of Disk name, disk label name and disk size.
On the other hand, the invention provides a kind of device identifying disc information in RAID, this device comprises:
First setting unit, for the first corresponding relation of the slot title and slot scan code that arrange disk in RAID;
First acquiring unit, for according to syslog file, obtains the second corresponding relation of slot scan code and disk manufacturer's information;
Second acquisition unit, for according to boot-strap information, obtains the 3rd corresponding relation of slot scan code and Disk name;
3rd acquiring unit, for according to disk partition table, obtains the 4th corresponding relation of Disk name and disk label name;
Determining unit, for according to described first corresponding relation, described second corresponding relation, described 3rd corresponding relation and described 4th corresponding relation, determine the 5th corresponding relation of slot title, slot scan code, Disk name, disk label name and disk manufacturer's information.
Further, described first acquiring unit, for according to described syslog file, obtains the 6th corresponding relation of the disk manufacturer's information of the disk of slot scan code and current placement.
Further, also comprise: display unit, for showing described 5th corresponding relation in graphical interfaces.
Further, also comprise: the second setting unit, for arranging system disk certification list;
Tip element, for for disk corresponding to each slot scan code in described 6th corresponding relation, according to described system disk certification list and described 6th corresponding relation, judge in RAID when whether disk manufacturer's information corresponding to the slot scan code of front disk be in described system disk certification list, if, allow to use and work as front disk, otherwise, prohibit the use and work as front disk.
Further, described first setting unit, for the information of the corresponding relation of the slot title that provides according to RAID manufacturer and slot scan code, arranges the slot title of disk in RAID and the first corresponding relation of slot scan code.
Further, this device comprises: the 4th acquiring unit, for according to described disk partition table, obtains the 7th corresponding relation of Disk name, disk label name and disk size.
The invention provides a kind of method and the device that identify disc information in RAID, first the slot title of disk in RAID and the corresponding relation of slot scan code is pre-set, then according to syslog file, boot-strap information, disk partition table three disc informations obtain instrument, obtain slot scan code and disk manufacturer's information successively, slot scan code and Disk name, the disc information corresponding relation of Disk name and disk label name, again obtained every corresponding relation carried out interrelated and integrate, finally determine slot title, slot scan code, Disk name, the corresponding relation of disk label name and disk manufacturer's information, therefore, the present invention can identify the manufacturer's information of disk in RAID automatically.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of process flow diagram identifying the method for disc information in RAID that one embodiment of the invention provides;
Fig. 2 is the process flow diagram of the method for disc information in the another kind identification RAID that provides of one embodiment of the invention;
Fig. 3 is a kind of schematic diagram identifying the device of disc information in RAID that one embodiment of the invention provides.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly; below in conjunction with the accompanying drawing in the embodiment of the present invention; technical scheme in the embodiment of the present invention is clearly and completely described; obviously; described embodiment is the present invention's part embodiment, instead of whole embodiments, based on the embodiment in the present invention; the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
As shown in Figure 1, embodiments provide a kind of method identifying disc information in RAID, the method can comprise the following steps:
S0: pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code;
S1: according to syslog file, obtains the second corresponding relation of slot scan code and disk manufacturer's information;
S2: according to boot-strap information, obtains the 3rd corresponding relation of slot scan code and Disk name;
S3: according to disk partition table, obtains the 4th corresponding relation of Disk name and disk label name;
S4: according to described first corresponding relation, described second corresponding relation, described 3rd corresponding relation and described 4th corresponding relation, determine the 5th corresponding relation of slot title, slot scan code, Disk name, disk label name and disk manufacturer's information.
By a kind of method identifying disc information in RAID that the embodiment of the present invention provides, first the slot title of disk in RAID and the corresponding relation of slot scan code is pre-set, then according to syslog file, boot-strap information, disk partition table three disc informations obtain instrument, obtain slot scan code and disk manufacturer's information successively, slot scan code and Disk name, the disc information corresponding relation of Disk name and disk label name, again obtained every corresponding relation carried out interrelated and integrate, finally determine slot title, slot scan code, Disk name, the corresponding relation of disk label name and disk manufacturer's information, therefore, the embodiment of the present invention can identify the manufacturer's information of disk in RAID automatically.
In a kind of possible implementation, in order to only obtain the manufacturer's information of the disk of current placement in RAID, so described step S1, comprising:
According to described syslog file, obtain the 6th corresponding relation of the disk manufacturer's information of the disk of slot scan code and current placement.
In a kind of possible implementation, in order to make user's quick obtaining disc information more intuitively, therefore, after step s4, comprise further:
Described 5th corresponding relation is shown in graphical interfaces.
In a kind of possible implementation, in order to ensure that the disk used in RAID originates from authorized manufacturer, thus limit the use of some non-authentication disks, so, before step S1, also comprise: pre-set system disk certification list;
After step S1, comprise further:
For the disk that each slot scan code in described 6th corresponding relation is corresponding, according to described system disk certification list and described 6th corresponding relation, judge in RAID when whether disk manufacturer's information corresponding to the slot scan code of front disk be in described system disk certification list, if, allow to use and work as front disk, otherwise, prohibit the use and work as front disk.
For example, suppose that the manufacturer's information of the current placement disk in a certain slot place in RAID is not in system disk certification list, then this disk is non-authentication disk, it can be withdrawn from from corresponding slot, thus this slot vacant, certification disk also can be used to change this disk.
By this implementation, automatically the manufacturer's information of disk in RAID can be identified, simultaneously according to the manufacturer's information of disk, the use of restriction non-authentication hard disk in RAID, to ensure the unitarity of disk in RAID, contribute to the stability improving RAID, improve read or write speed and the security of data, thus strengthen the overall performance of RAID.
In a kind of possible implementation, described in pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code, comprising:
The information of the slot title provided according to RAID manufacturer and the corresponding relation of slot scan code, pre-sets the slot title of disk in RAID and the first corresponding relation of slot scan code.
In a kind of possible implementation, in order to obtain more disc information, so the embodiment of the present invention also comprises: according to described disk partition table, obtain the 7th corresponding relation of Disk name, disk label name and disk size.
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As shown in Figure 2, embodiments provide the another kind of method identifying disc information in RAID, the method can comprise the following steps:
Step 201: pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code.
Particularly, described first corresponding relation is that the information of the corresponding relation of slot title and the slot scan code provided according to RAID manufacturer carries out arranging.
For example, suppose that a disk array has 12 disk slots, represent with slot title A0 ~ A11, and be placed with disk in A0, A1, A2 tri-slots, other slots are vacant, need now to determine the disc information on these three slots.
Pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code, as shown in table 1.
Table 1
Slot title | Slot scan code |
A0 | 0:0:0:1 |
A1 | 0:0:0:2 |
A2 | 0:0:0:3 |
A3 | 0:0:0:4 |
A4 | 0:0:0:5 |
A5 | 0:0:0:6 |
A6 | 0:0:0:7 |
A7 | 0:0:0:8 |
A8 | 0:0:0:9 |
A9 | 0:0:0:10 |
A10 | 0:0:0:11 |
A11 | 0:0:0:12 |
Step 202: according to syslog file, obtains the 6th corresponding relation of the disk manufacturer's information of the disk of slot scan code and current placement.
Particularly, first, according to syslog file, the second corresponding relation of slot scan code and disk manufacturer's information is obtained.Wherein, described second corresponding relation comprise same slot all history informations of disk of placing.
For described second corresponding relation, different from boot-strap information, syslog file have recorded disk in RAID at the forward and backward historical operation information of start, and by disposal system journal file, disc information can be updated to last state all the time.Such information acquiring pattern, effectively can know plugging and unplugging and replacing situation of disk in RAID, avoids the hard disk operation information after omitting start.
For example, according to described first corresponding relation, for A0, A1, A2 tri-target slots, described second corresponding relation is as shown in table 2.
Table 2
Slot scan code | Disk manufacturer's information |
0:0:0:1 | inspur |
0:0:0:1 | inspur |
0:0:0:1 | WD |
0:0:0:2 | WD |
0:0:0:2 | WD |
0:0:0:2 | inspur |
0:0:0:3 | Sun |
0:0:0:3 | Sun |
Then, to judge on same slot the disk placed whether one be directly subordinate to same producer.The disk placed from table 2 associative list 1, A2 slot is identical producer, A0 and A1 is not then.Thus, obtain the 6th corresponding relation of the disk manufacturer's information of slot scan code and current placement disk, the 6th corresponding relation is as shown in table 3.
Table 3
Slot scan code | Disk manufacturer's information |
0:0:0:1 | WD |
0:0:0:2 | Inspur |
0:0:0:3 | Sun |
Step 203: according to boot-strap information, obtains the 3rd corresponding relation of slot scan code and Disk name.
Particularly, described 3rd corresponding relation obtained by boot-strap information, the slot scan code of current placement disk and Disk name information in RAID when being start.
For example, described 3rd corresponding relation is as shown in table 4.
Table 4
Slot scan code | Disk name |
0:0:0:1 | sda |
0:0:0:2 | sdb |
0:0:0:3 | sdc |
Step 204: according to disk partition table, obtains the 7th corresponding relation of Disk name, disk label name and disk size.
For example, described 7th corresponding relation is as shown in table 5.
Table 5
Disk name | Disk label name | Disk size |
sda | Disk1 | 100G |
sdb | Disk2 | 200G |
sdc | Disk3 | 200G |
In addition, the form of described Disk name can be :/dev/sd*.
Step 205: according to described first corresponding relation, described 3rd corresponding relation, described 6th corresponding relation and described 7th corresponding relation, determine the 8th corresponding relation of slot title, slot scan code, Disk name, disk label name, disk manufacturer's information and disk size.
According to table 1-table 5, described 8th corresponding relation, as shown in table 6.
Table 6
Slot title | Slot scan code | Disk name | Disk label name | HD vendor | Hard-disk capacity |
A0 | 0:0:0:1 | sda | Disk1 | WD | 100G |
A1 | 0:0:0:2 | sdb | Disk2 | Inspur | 200G |
A2 | 0:0:0:3 | sdc | Disk3 | Sun | 200G |
Step 206: show described 8th corresponding relation in graphical interfaces.
Particularly, described 8th corresponding relation is shown in graphical interfaces, thus by patterned management software, the disk in RAID is managed.User according to the 8th corresponding relation shown in graphical interfaces, can directly check the information of disk in RAID.
Further, pre-set system disk certification list, then according to described system disk certification list and described 6th corresponding relation, to judge in RAID, when whether the disk manufacturer's information of front disk is in described system disk certification list, if so, to point out by certification, allow to use and work as front disk, otherwise prompting by certification, does not prohibit the use and works as front disk.Certainly, the judgement of non-authentication disk also can directly be carried out after step 202.
For example, the producer in system disk certification list is: Inspur, Sun.As shown in Table 6, title A0 place, slot place disk producer be WD, WD not in system disk certification list, then point out not by certification, prohibit the use this disk; Title A1 place, slot place disk producer be Inspur, Inspur in system disk certification list, then point out by certification, allow use this disk; Title A2 place, slot place disk producer be Sun, Sun in system disk certification list, then point out by certification, allow use this disk.
The use of certification disk in RAID, the all disks in same RAID are made to be all specify manufacturer production, the stability of RAID, the read or write speed of data and security etc. can be improved, strengthen the overall performance of RAID, otherwise, then can weaken the overall performance of RAID, therefore, the use of non-authentication disk in RAID should be avoided as far as possible.
As shown in Figure 3, embodiments provide a kind of device identifying disc information in RAID, this device comprises:
First setting unit 301, for the first corresponding relation of the slot title and slot scan code that arrange disk in RAID;
First acquiring unit 302, for according to syslog file, obtains the second corresponding relation of slot scan code and disk manufacturer's information;
Second acquisition unit 303, for according to boot-strap information, obtains the 3rd corresponding relation of slot scan code and Disk name;
3rd acquiring unit 304, for according to disk partition table, obtains the 4th corresponding relation of Disk name and disk label name;
Determining unit 305, for according to described first corresponding relation, described second corresponding relation, described 3rd corresponding relation and described 4th corresponding relation, determine the 5th corresponding relation of slot title, slot scan code, Disk name, disk label name and disk manufacturer's information.
In a kind of possible implementation, described first acquiring unit 302, for according to described syslog file, obtains the 6th corresponding relation of the disk manufacturer's information of the disk of slot scan code and current placement.
In a kind of possible implementation, this device also comprises: display unit, for showing described 5th corresponding relation in graphical interfaces.
In a kind of possible implementation, this device also comprises: the second setting unit, for arranging system disk certification list;
Tip element, for for disk corresponding to each slot scan code in described 6th corresponding relation, according to described system disk certification list and described 6th corresponding relation, judge in RAID when whether disk manufacturer's information corresponding to the slot scan code of front disk be in described system disk certification list, if, allow to use and work as front disk, otherwise, prohibit the use and work as front disk.
In a kind of possible implementation, described first setting unit 301, for the information of the corresponding relation of the slot title that provides according to RAID manufacturer and slot scan code, arranges the slot title of disk in RAID and the first corresponding relation of slot scan code.
In a kind of possible implementation, this device also comprises: the 4th acquiring unit, for according to described disk partition table, obtains the 7th corresponding relation of Disk name, disk label name and disk size.
The content such as information interaction, implementation between each unit in said apparatus, due to the inventive method embodiment based on same design, particular content can see in the inventive method embodiment describe, repeat no more herein.
In sum, embodiments provide a kind of method and the device that identify disc information in RAID, the embodiment of the present invention can have following beneficial effect:
1. embodiments provide a kind of method and the device that identify disc information in RAID, first the slot title of disk in RAID and the corresponding relation of slot scan code is pre-set, then according to syslog file, boot-strap information, disk partition table three disc informations obtain instrument, obtain slot scan code and disk manufacturer's information successively, slot scan code and Disk name, the disc information corresponding relation of Disk name and disk label name, again obtained every corresponding relation carried out interrelated and integrate, finally determine slot title, slot scan code, Disk name, the corresponding relation of disk label name and disk manufacturer's information, therefore, the embodiment of the present invention can identify the manufacturer's information of disk in RAID automatically.
2. embodiments provide a kind of method and the device that identify disc information in RAID, automatically the manufacturer's information of disk in RAID can be identified, simultaneously according to the manufacturer's information of disk, the use of restriction non-authentication hard disk in RAID, to ensure the unitarity of disk in RAID, contribute to the stability improving RAID, improve read or write speed and the security of data, thus strengthen the overall performance of RAID.
3. embodiments provide a kind of method and the device that identify disc information in RAID, according to syslog file, disk in RAID can be obtained at the forward and backward historical operation information of start, thus effectively know disk in RAID insertion, extract and replacing situation, avoid the disk operating information after omitting start, and then avoid the disc information of acquisition inaccurate.
4. embodiments provide a kind of method and the device that identify disc information in RAID, for the insertion occurring disk in operational process, the situation extracting and change, by disposal system journal file, slot scan code and manufacturer's information corresponding relation are updated to last state all the time.
Finally it should be noted that: the foregoing is only preferred embodiment of the present invention, only for illustration of technical scheme of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.
Claims (10)
1. identify a method for disc information in disk array RAID, it is characterized in that, the method comprises:
S0: pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code;
S1: according to syslog file, obtains the second corresponding relation of slot scan code and disk manufacturer's information;
S2: according to boot-strap information, obtains the 3rd corresponding relation of slot scan code and Disk name;
S3: according to disk partition table, obtains the 4th corresponding relation of Disk name and disk label name;
S4: according to described first corresponding relation, described second corresponding relation, described 3rd corresponding relation and described 4th corresponding relation, determine the 5th corresponding relation of slot title, slot scan code, Disk name, disk label name and disk manufacturer's information.
2. method according to claim 1, is characterized in that, described step S1, comprising:
According to described syslog file, obtain the 6th corresponding relation of the disk manufacturer's information of the disk of slot scan code and current placement.
3. method according to claim 1, is characterized in that, after step s4, comprises further:
Described 5th corresponding relation is shown in graphical interfaces.
4. method according to claim 2, is characterized in that, before step S1, also comprises: pre-set system disk certification list;
After step S1, comprise further:
For the disk that each slot scan code in described 6th corresponding relation is corresponding, according to described system disk certification list and described 6th corresponding relation, judge in RAID when whether disk manufacturer's information corresponding to the slot scan code of front disk be in described system disk certification list, if, allow to use and work as front disk, otherwise, prohibit the use and work as front disk.
5., according to described method arbitrary in Claims 1-4, it is characterized in that, described in pre-set the slot title of disk in RAID and the first corresponding relation of slot scan code, comprising:
The information of the slot title provided according to RAID manufacturer and the corresponding relation of slot scan code, pre-sets the slot title of disk in RAID and the first corresponding relation of slot scan code;
And/or, comprise further:
According to described disk partition table, obtain the 7th corresponding relation of Disk name, disk label name and disk size.
6. identify a device for disc information in RAID, it is characterized in that, comprising:
First setting unit, for the first corresponding relation of the slot title and slot scan code that arrange disk in RAID;
First acquiring unit, for according to syslog file, obtains the second corresponding relation of slot scan code and disk manufacturer's information;
Second acquisition unit, for according to boot-strap information, obtains the 3rd corresponding relation of slot scan code and Disk name;
3rd acquiring unit, for according to disk partition table, obtains the 4th corresponding relation of Disk name and disk label name;
Determining unit, for according to described first corresponding relation, described second corresponding relation, described 3rd corresponding relation and described 4th corresponding relation, determine the 5th corresponding relation of slot title, slot scan code, Disk name, disk label name and disk manufacturer's information.
7. device according to claim 6, is characterized in that, described first acquiring unit, for according to described syslog file, obtains the 6th corresponding relation of the disk manufacturer's information of the disk of slot scan code and current placement.
8. device according to claim 6, is characterized in that, comprises further: display unit, for showing described 5th corresponding relation in graphical interfaces.
9. device according to claim 7, is characterized in that, comprises further: the second setting unit, for arranging system disk certification list;
Comprise further: Tip element, for for disk corresponding to each slot scan code in described 6th corresponding relation, according to described system disk certification list and described 6th corresponding relation, judge in RAID when whether disk manufacturer's information corresponding to the slot scan code of front disk be in described system disk certification list, if, allow to use and work as front disk, otherwise, prohibit the use and work as front disk.
10. according to described device arbitrary in claim 6 to 9, it is characterized in that, described first setting unit, for the information of the corresponding relation of the slot title that provides according to RAID manufacturer and slot scan code, arranges the slot title of disk in RAID and the first corresponding relation of slot scan code;
And/or this device comprises further:
4th acquiring unit, for according to described disk partition table, obtains the 7th corresponding relation of Disk name, disk label name and disk size.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510737885.8A CN105353983A (en) | 2015-11-03 | 2015-11-03 | Method and apparatus for identifying disk information in RAID |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510737885.8A CN105353983A (en) | 2015-11-03 | 2015-11-03 | Method and apparatus for identifying disk information in RAID |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105353983A true CN105353983A (en) | 2016-02-24 |
Family
ID=55329961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510737885.8A Pending CN105353983A (en) | 2015-11-03 | 2015-11-03 | Method and apparatus for identifying disk information in RAID |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105353983A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107102867A (en) * | 2017-06-08 | 2017-08-29 | 山东超越数控电子有限公司 | A kind of Linux system hard-disk slots recognition methods |
CN113094201A (en) * | 2021-06-09 | 2021-07-09 | 神威超算(北京)科技有限公司 | Disk fault notification method, device and computer readable medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1641610A (en) * | 2004-01-08 | 2005-07-20 | 英业达股份有限公司 | Hard disk replacement control and management method for network storage system |
CN101776984A (en) * | 2010-02-20 | 2010-07-14 | 浪潮(北京)电子信息产业有限公司 | Method and device for processing disk roam in storage system |
CN102419995A (en) * | 2010-09-27 | 2012-04-18 | 株式会社日立制作所 | Information access device and information access method |
CN103823730A (en) * | 2014-02-27 | 2014-05-28 | 山东超越数控电子有限公司 | Drive detecting method based on domestic disc array |
-
2015
- 2015-11-03 CN CN201510737885.8A patent/CN105353983A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1641610A (en) * | 2004-01-08 | 2005-07-20 | 英业达股份有限公司 | Hard disk replacement control and management method for network storage system |
CN101776984A (en) * | 2010-02-20 | 2010-07-14 | 浪潮(北京)电子信息产业有限公司 | Method and device for processing disk roam in storage system |
CN102419995A (en) * | 2010-09-27 | 2012-04-18 | 株式会社日立制作所 | Information access device and information access method |
CN103823730A (en) * | 2014-02-27 | 2014-05-28 | 山东超越数控电子有限公司 | Drive detecting method based on domestic disc array |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107102867A (en) * | 2017-06-08 | 2017-08-29 | 山东超越数控电子有限公司 | A kind of Linux system hard-disk slots recognition methods |
CN113094201A (en) * | 2021-06-09 | 2021-07-09 | 神威超算(北京)科技有限公司 | Disk fault notification method, device and computer readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106469103B (en) | The maintaining method and device of hard disk | |
CN106990958A (en) | A kind of extension element, electronic equipment and startup method | |
CN106294222A (en) | A kind of method and device determining PCIE device and slot corresponding relation | |
CN112463689B (en) | OCP card hot plug device, method and computer readable storage medium | |
CN103150359B (en) | Micro-blog information display packing and device | |
CN103309709A (en) | Firmware upgrading method, device and communication equipment | |
CN104969181B (en) | Repair system, method and the storage equipment that driver variable for damage records | |
CN104317694A (en) | Whole machine testing method and device | |
CN103109264A (en) | Creating a configuration file template | |
CN109033804B (en) | Virtual machine software authorization method and device | |
CN104216796A (en) | Data backup and recovery method and electronic device | |
CN104484685B (en) | A kind of method and system of bulk issue smart card | |
CN103942088B (en) | A kind of method for obtaining virtual machine USB storage device service condition | |
CN105353983A (en) | Method and apparatus for identifying disk information in RAID | |
CN104903865A (en) | Restoring a previous version of a virtual machine image | |
CN103559098A (en) | Smart card test number control method, device and system | |
CN107015768A (en) | A kind of RAID card operation instrument and method | |
CN105183949A (en) | Railway main data cleaning method and system | |
CN110187872A (en) | A kind of BIOS development approach, system and electronic equipment and storage medium | |
CN102257498B (en) | Comment generation method of configuration files and configuration file generation device | |
CN104318960B (en) | The restorative procedure and device of a kind of bad track of hard disk | |
CN103778968A (en) | Solid state disc (SSD) detection device integrating a plurality of flash memory cards and method thereof | |
CN107665129A (en) | Information processing method and storage device | |
CN103399714A (en) | Maintenance system for storage device configuration information and application method of maintenance system | |
CN103440179B (en) | The continuous store method of storage device configurations information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160224 |
|
WD01 | Invention patent application deemed withdrawn after publication |