CN102375703A - Method for automatically selecting disk during creating of RAID (Redundant Array of Inexpensive Disks) - Google Patents

Method for automatically selecting disk during creating of RAID (Redundant Array of Inexpensive Disks) Download PDF

Info

Publication number
CN102375703A
CN102375703A CN201110411446XA CN201110411446A CN102375703A CN 102375703 A CN102375703 A CN 102375703A CN 201110411446X A CN201110411446X A CN 201110411446XA CN 201110411446 A CN201110411446 A CN 201110411446A CN 102375703 A CN102375703 A CN 102375703A
Authority
CN
China
Prior art keywords
hard disk
raid
priority
groups
idle
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
Application number
CN201110411446XA
Other languages
Chinese (zh)
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.)
UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd
Innovation And Technology Storage Technology Co Ltd
Original Assignee
UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd
Innovation And Technology Storage Technology 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 UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd, Innovation And Technology Storage Technology Co Ltd filed Critical UIT STORAGE TECHNOLOGY (SHENZHEN) Co Ltd
Priority to CN201110411446XA priority Critical patent/CN102375703A/en
Publication of CN102375703A publication Critical patent/CN102375703A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for automatically selecting a disk during creating of an RAID (Redundant Array Of Inexpensive Disks). The method comprises the following steps of: A, scanning each hard disk slot in a disk array cabinet to obtain relevant information of an idle hard disk; B, receiving types and capacities of RAID groups input by a user, automatically matching according to the obtained relevant information of the idle disk so as to be capable of establishing a hard disk group according with the requirements of the types and the capacities of the RAID groups; and C, creating an RAID group based on the matched hard disk group.

Description

A kind of method of automatic choosing dish when creating RAID
Technical field
The present invention relates to the disk array technology field, the method for automatic choosing dish when relating in particular to a kind of establishment raid-array (RAID, Redundant Array of Independent Disk).
Background technology
RAID is exactly a kind of redundant array that is made up of the polylith inexpensive disk, under operating system as one independently large storage facilities occur.RAID can give full play of the advantage of polylith hard disk, can promote hard disk speed, the increase capacity; Provide fault tolerance enough to guarantee data security; The advantage that is easy to manage can work on the influence of the hard disk that can not be damaged under the situation that any hard disk goes wrong.The RAID rank that several kinds of main flows such as RAID0, RAID1, RAID5, RAID6, RAID10 are arranged at present.
The normal at present hardware carrier that adopts the disk array cabinet as RAID.The disk array cabinet is a kind of chassis equipment that the polylith hard disk can be installed.In some application scenario many disk array groups are become disk array cabinet group.When creating RAID, generally be that the user adopts manual mode to select some hard disks in the disk array cabinet, dispose corresponding software and make selected hard disk form RAID.The mode of this selection hard disk at first is to use very inconvenient.Secondly, the disk groove position in the disk array cabinet possibly reach tens, if the situation of disk array cabinet group, then disk number of slots order maybe be more.General all is to purchase hard disk according to the needs of practical application to be installed on these installation positions in batches, so the different disk possible capacity in the disk array cabinet, type, manufacturer are also inequality.If the hard disk size that the user selects is inconsistent, create principle according to RAID, the hard disk minimum with capacity is as the criterion, and is significant wastage to other hard-disk capacity; The user creates the RAID group if the hard disk of selecting is not manufacturer's hard disk of the same type, maybe all can be influential to RAID organizing, stability and data consistency.
Summary of the invention
The method of automatic choosing dish when the invention provides a kind of RAID of establishment, can realize selecting suitable hard disk to form RAID automatically need not manual intervention.
The method of automatic choosing dish comprises the steps: during a kind of RAID of establishment that the embodiment of the invention provides
Each hard-disk slots in A, the scanning disk disk array cabinet obtain the relevant information of idle hard disk;
The RAID set type and the capacity of B, reception user input, according to the idle disk relevant information of having obtained, coupling can be set up the hard disk groups that meets said RAID set type and capacity requirement automatically;
C, create the RAID group based on the hard disk groups that matches.
Preferably, step C comprises:
C1, judge whether to match hard disk groups, if, execution in step C2; Create failure information and failure cause and process ends otherwise return;
C2, calculate the priority score of each hard disk groups match according to priority policy;
C3, the highest hard disk groups of selection priority score are carried out the RAID creation.
Preferably, the relevant information of said idle hard disk comprises hard disk type.
Preferably, said priority policy comprises type priority level strategy: the hard disk type in the hard disk groups under the hard disk is many more, and then priority score is low more.
Preferably, said priority policy comprises the quantity priority policy: the hard disk number is many more in the hard disk groups, and then priority score is low more.
Preferably, the relevant information of said idle hard disk comprises whether supporting MAID MAID function.
Preferably, said priority policy comprises energy conservation priority level strategy: each has the hard disk accumulative total corresponding priority level score value of MAID function in the hard disk groups.
Preferably, the relevant information of said idle hard disk comprises the cabinet No. at this hard disk place.
Preferably, said priority policy comprises the positional priority strategy: the different cabinet No. numbers of hard disk are many more in the hard disk groups, and then priority is low more.
Preferably; Step C3 further comprises: if there is the hard disk groups priority score more than two the highest and equal; Then order Serial Advanced Technology Attachment interface SATA, Serial Attached SCSI (SAS) interface SAS, solid-state hard disk SSD, the optical-fibre channel FC according to following hard disk type selects hard disk groups, carries out the RAID creation.
Can find out that from above technical scheme according to the RAID information that the institute of user input will create, mate the hard disk information in the rack of collecting, the hard disk that just matches is created RAID automatically.This scheme can be practiced thrift hard drive space, reduces the hard-disk capacity waste, and the user uses simply, and is easy to operate.
Description of drawings
A kind of method flow synoptic diagram of automatic choosing dish when creating RAID that Fig. 1 proposes for the embodiment of the invention;
Fig. 2 is a kind of organizational form synoptic diagram of idle hard disk relevant information.
Embodiment
The embodiment of the invention proposes a kind of when creating RAID the method flow of automatic choosing dish as shown in Figure 1, comprise the steps:
Step 101: each hard-disk slots in the scanning disk disk array cabinet, obtain the relevant information of idle hard disk.Said relevant information includes but not limited to hard disk type, capacity, manufacturer, position of installing hard disk and hard disk praameter.Hard disk type can be to divide according to the hard-disk interface type; Comprise optical-fibre channel (FC, Fiber Channel), Serial Advanced Technology Attachment interface (SATA, Serial Advanced Technology Attachment), Serial Attached SCSI (SAS) interface (SAS) etc.; Also can divide according to the hard disk storage medium type; Like solid state hard disc (SSD, Solid State Disk) and mechanical hard disk, also can be to take all factors into consideration interface type and storage media types division.Said position of installing hard disk is cabinet No., the slot number at this hard disk place.Said hard disk praameter includes but not limited to whether support MAID, and rotating speed, interface rate, cache size etc.
A kind of organizational form of idle hard disk relevant information has been shown among Fig. 2.As shown in Figure 2, at first idle hard disk is divided by hard disk type, be divided into four types of FC, SATA, SAS, SSD to hard disk.Said division is according to both having comprised that interface type also comprised storage medium.Wherein, FC, SATA, SAS divide according to interface type, and these three types all is mechanical hard disk; SSD divides according to storage media types.Under every kind of hard disk type, divide into groups then, and under each hard disk, list hard disk praameter according to capacity and producer.
Step 102: the RAID set type and the capacity that receive user's input.
Step 103: according to the idle disk relevant information of having obtained, coupling can be set up the hard disk groups that meets said RAID set type and capacity requirement automatically.The implication that meets said RAID set type is that the quantity of hard disk in this hard disk groups must meet the hard disk quantity that the RAID set type requires; The implication that meets capacity requirement is that the calculated value of hard-disk capacity in this hard disk groups must be more than or equal to the RAID pool-size of user's input.The calculated value of hard-disk capacity is not an actual hard-disk capacity sum in the hard disk groups, but the capacity of the hard disk of capacity minimum multiply by the calculated value that the hard disk number in the hard disk groups obtains in the hard disk groups.
Step 104: judge whether to match hard disk groups, if, execution in step 105; Create failure information and failure cause and process ends otherwise return.
Step 105: the priority score of calculating each hard disk groups that matches according to priority policy.
Said priority policy includes but not limited to:
Type priority level strategy: the hard disk type in the hard disk groups under the hard disk is many more, and then priority score is low more, and is if hard disk is same type in the hard disk groups, then should strategy corresponding priorities score value the highest;
The quantity priority policy: the hard disk number is many more in the hard disk groups, and then priority score is low more;
Energy conservation priority level strategy; If the hard disk of (MAID, the Massive Arrays of Idle Disks) function that has MAID is arranged in the hard disk groups, each has hard disk accumulative total corresponding priority level score value of MAID function;
The parameter priority policy: the more parameters of each hard disk is approaching in the hard disk groups, and then priority score is high more.If hard disk all is the same model of same producer in the hard disk groups, then priority score is the highest.
The positional priority strategy: the different cabinet No. numbers of hard disk are many more in the hard disk groups, and then priority is low more, and are if all hard disks have identical cabinet No. in the hard disk groups, then should the strategy corresponding priorities the highest.
The final priority score of hard disk groups is the result that the priority score that above-mentioned each priority policy calculates is added up and obtains.
Step 106: select the highest hard disk groups of priority score to carry out the RAID creation.If there is the hard disk groups priority score more than two the highest and equal, then select hard disk groups according to following order (SATA, SAS, SSD, FC), carry out the RAID creation.If have the hard disk groups priority score more than two the highest and equal, and hard disk type is also identical, then select one of them hard disk groups to create the RAID group at random.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.

Claims (10)

1. the method for an automatic choosing dish when creating raid-array RAID is characterized in that, comprises the steps:
Each hard-disk slots in A, the scanning disk disk array cabinet obtain the relevant information of idle hard disk;
The RAID set type and the capacity of B, reception user input, according to the idle disk relevant information of having obtained, coupling can be set up the hard disk groups that meets said RAID set type and capacity requirement automatically;
C, create the RAID group based on the hard disk groups that matches.
2. method according to claim 1 is characterized in that step C comprises:
C1, judge whether to match hard disk groups, if, execution in step C2; Create failure information and failure cause and process ends otherwise return;
C2, calculate the priority score of each hard disk groups match according to priority policy;
C3, the highest hard disk groups of selection priority score are carried out the RAID creation.
3. method according to claim 2 is characterized in that the relevant information of said idle hard disk comprises hard disk type.
4. method according to claim 3 is characterized in that, said priority policy comprises type priority level strategy: the hard disk type in the hard disk groups under the hard disk is many more, and then priority score is low more.
5. method according to claim 2 is characterized in that, said priority policy comprises the quantity priority policy: the hard disk number is many more in the hard disk groups, and then priority score is low more.
6. method according to claim 2 is characterized in that, the relevant information of said idle hard disk comprises whether supporting MAID MAID function.
7. method according to claim 6 is characterized in that, said priority policy comprises energy conservation priority level strategy: each has the hard disk accumulative total corresponding priority level score value of MAID function in the hard disk groups.
8. method according to claim 2 is characterized in that, the relevant information of said idle hard disk comprises the cabinet No. at this hard disk place.
9. method according to claim 8 is characterized in that, said priority policy comprises the positional priority strategy: the different cabinet No. numbers of hard disk are many more in the hard disk groups, and then priority is low more.
10. according to each described method of claim 2 to 9; It is characterized in that; Step C3 further comprises: if there is the hard disk groups priority score more than two the highest and equal; Then order Serial Advanced Technology Attachment interface SATA, Serial Attached SCSI (SAS) interface SAS, solid-state hard disk SSD, the optical-fibre channel FC according to following hard disk type selects hard disk groups, carries out the RAID creation.
CN201110411446XA 2011-12-12 2011-12-12 Method for automatically selecting disk during creating of RAID (Redundant Array of Inexpensive Disks) Pending CN102375703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110411446XA CN102375703A (en) 2011-12-12 2011-12-12 Method for automatically selecting disk during creating of RAID (Redundant Array of Inexpensive Disks)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110411446XA CN102375703A (en) 2011-12-12 2011-12-12 Method for automatically selecting disk during creating of RAID (Redundant Array of Inexpensive Disks)

Publications (1)

Publication Number Publication Date
CN102375703A true CN102375703A (en) 2012-03-14

Family

ID=45794358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110411446XA Pending CN102375703A (en) 2011-12-12 2011-12-12 Method for automatically selecting disk during creating of RAID (Redundant Array of Inexpensive Disks)

Country Status (1)

Country Link
CN (1) CN102375703A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880430A (en) * 2012-09-18 2013-01-16 北京联创信安科技有限公司 System and method for managing RAIDs (redundant array of inexpensive disks)
CN103473020A (en) * 2013-09-22 2013-12-25 浪潮(北京)电子信息产业有限公司 RAID (redundant array of independent disks) configuration method and device
CN104881245A (en) * 2014-12-30 2015-09-02 北京飞杰信息技术有限公司 Configuration method and device of storage system
CN104898987A (en) * 2015-05-27 2015-09-09 浪潮电子信息产业股份有限公司 Method for automatically verifying hard disk configuration of server
CN105549902A (en) * 2015-12-08 2016-05-04 浪潮电子信息产业股份有限公司 Design scheme used for automatically making RAID (Redundant Array of Independent Disks) during trial production of server
CN107368264A (en) * 2017-07-26 2017-11-21 郑州云海信息技术有限公司 A kind of combination RAID method, system and storage management software system
CN108845771A (en) * 2018-06-25 2018-11-20 郑州云海信息技术有限公司 Method, system and the associated component of RAID are configured in a kind of storage system
CN114063912A (en) * 2021-10-31 2022-02-18 郑州云海信息技术有限公司 RAID configuration method, system, equipment and storage medium
CN114217746A (en) * 2021-12-16 2022-03-22 浪潮云信息技术股份公司 Hardware Raid remote automatic management method for hybrid architecture node
CN117234793A (en) * 2023-11-14 2023-12-15 苏州元脑智能科技有限公司 Data storage method, system, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101196796A (en) * 2006-12-04 2008-06-11 英业达股份有限公司 Method for expanding storage space of magnetic disk redundant array
US7401197B2 (en) * 2005-11-18 2008-07-15 Hitachi, Ltd. Disk array system and method for security
CN101221485A (en) * 2008-01-24 2008-07-16 创新科存储技术(深圳)有限公司 Method for establishing redundant magnetic disk array and control device thereof
CN101441553A (en) * 2008-12-18 2009-05-27 成都市华为赛门铁克科技有限公司 Method and apparatus for creating redundant space on magnetic disk
CN101825993A (en) * 2010-04-16 2010-09-08 山东高效能服务器和存储研究院 Disk management method independent of client operating system
CN101984399A (en) * 2010-10-29 2011-03-09 中兴通讯股份有限公司 Management method and system of soft redundant array of independent disk

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7401197B2 (en) * 2005-11-18 2008-07-15 Hitachi, Ltd. Disk array system and method for security
CN101196796A (en) * 2006-12-04 2008-06-11 英业达股份有限公司 Method for expanding storage space of magnetic disk redundant array
CN101221485A (en) * 2008-01-24 2008-07-16 创新科存储技术(深圳)有限公司 Method for establishing redundant magnetic disk array and control device thereof
CN101441553A (en) * 2008-12-18 2009-05-27 成都市华为赛门铁克科技有限公司 Method and apparatus for creating redundant space on magnetic disk
CN101825993A (en) * 2010-04-16 2010-09-08 山东高效能服务器和存储研究院 Disk management method independent of client operating system
CN101984399A (en) * 2010-10-29 2011-03-09 中兴通讯股份有限公司 Management method and system of soft redundant array of independent disk

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880430A (en) * 2012-09-18 2013-01-16 北京联创信安科技有限公司 System and method for managing RAIDs (redundant array of inexpensive disks)
CN103473020A (en) * 2013-09-22 2013-12-25 浪潮(北京)电子信息产业有限公司 RAID (redundant array of independent disks) configuration method and device
CN104881245A (en) * 2014-12-30 2015-09-02 北京飞杰信息技术有限公司 Configuration method and device of storage system
CN104898987A (en) * 2015-05-27 2015-09-09 浪潮电子信息产业股份有限公司 Method for automatically verifying hard disk configuration of server
CN105549902A (en) * 2015-12-08 2016-05-04 浪潮电子信息产业股份有限公司 Design scheme used for automatically making RAID (Redundant Array of Independent Disks) during trial production of server
CN107368264A (en) * 2017-07-26 2017-11-21 郑州云海信息技术有限公司 A kind of combination RAID method, system and storage management software system
CN108845771A (en) * 2018-06-25 2018-11-20 郑州云海信息技术有限公司 Method, system and the associated component of RAID are configured in a kind of storage system
CN114063912A (en) * 2021-10-31 2022-02-18 郑州云海信息技术有限公司 RAID configuration method, system, equipment and storage medium
CN114063912B (en) * 2021-10-31 2024-04-16 郑州云海信息技术有限公司 RAID configuration method, system, equipment and storage medium
CN114217746A (en) * 2021-12-16 2022-03-22 浪潮云信息技术股份公司 Hardware Raid remote automatic management method for hybrid architecture node
CN117234793A (en) * 2023-11-14 2023-12-15 苏州元脑智能科技有限公司 Data storage method, system, equipment and medium
CN117234793B (en) * 2023-11-14 2024-02-23 苏州元脑智能科技有限公司 Data storage method, system, equipment and medium

Similar Documents

Publication Publication Date Title
CN102375703A (en) Method for automatically selecting disk during creating of RAID (Redundant Array of Inexpensive Disks)
EP2725491B1 (en) A distributed object storage system comprising performance optimizations
CN101984399B (en) Management method and system of soft redundant array of independent disk
US7979635B2 (en) Apparatus and method to allocate resources in a data storage library
US7945732B2 (en) Storage system that executes performance optimization that maintains redundancy
US8516289B2 (en) Storage management apparatus for controlling power supply to storages, storage system including the same, and method for controlling power supply to storages
CN102096557B (en) Capacity expansion method, device and system for independent redundant array of inexpensive disc (RAID)
CN104102454A (en) Method for automatically realizing hierarchical storage and system for managing hierarchical storage
CN103246478B (en) A kind of based on the disc array system of software PLC support without packet type overall situation HotSpare disk
CN102270103A (en) Storage apparatus and control method therefor
US8868864B2 (en) Storage apparatus and storage apparatus control method
CN102023818A (en) Method and device for regulating capacity of storage equipment, and storage equipment
KR20100135765A (en) Selecting a dedupulication protocol for a data storage library
CN101976181A (en) Management method and device of storage resources
WO2012025964A1 (en) Data storage system providing virtual volume and electrical power saving control method for the data storage system
CN102135862B (en) Disk storage system and data access method thereof
US20120221704A1 (en) Apparatus and method for managing access among devices
CN103577337B (en) Space allocation method and device for storage system
CN104991874A (en) SCST (SCSI target subsystem for Linux) based multi-controller storage device ALUA (asymmetrical logical unit access) configuration method
CN102376338B (en) Hard disk module
CN101997919B (en) Storage resource management method and device
US7600070B1 (en) Disk drive packaging enclosure
CN102622184A (en) Data storage system and method
CN103699340A (en) Request processing method and equipment
CN102541473A (en) Method for setting storage equipment of blade server and blade server by utilizing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120314