CN104020965A - Method for achieving soft redundant array of independent disc (RAID) redundancy and microcomputer system thereof - Google Patents

Method for achieving soft redundant array of independent disc (RAID) redundancy and microcomputer system thereof Download PDF

Info

Publication number
CN104020965A
CN104020965A CN201410301590.1A CN201410301590A CN104020965A CN 104020965 A CN104020965 A CN 104020965A CN 201410301590 A CN201410301590 A CN 201410301590A CN 104020965 A CN104020965 A CN 104020965A
Authority
CN
China
Prior art keywords
hard disk
partition
disk
redundant
setting
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
CN201410301590.1A
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201410301590.1A priority Critical patent/CN104020965A/en
Publication of CN104020965A publication Critical patent/CN104020965A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for achieving soft redundant array of independent disc (RAID) redundancy and a microcomputer system of the method. The method comprises the following steps: partitioning a system hard disc of the microcomputer system, correspondingly partitioning a redundant hard disc according to the partitioning of the system hard disc, and performing mirror image matching on the portioning of the system hard disc and the partitioning of the redundant hard disc. By partitioning the system hard disc and the redundant hard disc, redundancy of the microcomputer system is achieved through relatively small number of hardware equipment under the condition that few personnel are engaged, and the cost of system redundancy is effectively lowered. Furthermore, by partitioning a first storage hard disc, a system start up directory file is acquired to perform redundancy, and the stability of the performance of the microcomputer system is further improved.

Description

Method for realizing soft RAID multi-redundancy and mini-machine system thereof
Technical Field
The invention relates to the field of small-sized computers, in particular to a method for realizing multiple redundancies of a flexible disk array (RAID) and a small-sized computer system thereof.
Background
A disk Array (RAID) is a technology that combines a plurality of Independent Disks (physical hard Disks) in an Array manner to form a disk group, so as to provide higher storage performance and data redundancy than a single disk. A large amount of data can be conveniently stored on the hard disk by using RAID. RAID combines a plurality of small-capacity physical disks into one large-capacity virtual storage device, and can improve physical storage efficiency (i.e., data read/write) or enhance the security of data storage by redundancy (a redundancy method in which the same data is stored in different places of a plurality of hard disks).
RAID is divided into hardware RAID and software RAID in practical applications. The hardware RAID aggregates a plurality of disks with the same capacity into a large virtual storage device through a RAID card according to different use modes; when the capacities of the magnetic disks are inconsistent, the magnetic disk group is formed on the basis of the magnetic disk with the minimum capacity; the soft RAID is a large virtual storage device which is formed by aggregating a plurality of disks or partitions with the same capacity and size into a large virtual storage device through software according to different use modes; when the capacities of the magnetic disks are inconsistent, the magnetic disk group is formed on the basis of the magnetic disk with the minimum capacity;
in order to meet the requirements of different application scenes of different customers, the existing small computer system mainly adopts two hard RAID multi-redundancy methods of external storage and internal hard disk for realizing redundancy when an operating system is deployed; the redundancy is realized by deploying the external storage, that is, optical fiber switch equipment needs to be added in the system, and the external storage can be used as a system installation space through the communication of the optical fiber switch equipment; the hard RAID multi-redundancy method using a built-in hard disk requires a built-in hard RAID card to be used in the system.
In the two methods, hardware equipment needs to be additionally added by deploying the redundancy method of external storage, the implementation debugging work of various equipment is involved in the redundancy process, the human resource investment of technicians of the corresponding equipment is needed, and the risk in the aspect of system stability is increased due to the increase of communication links; and a hard RAID method with a built-in hard disk is adopted, and a system redundancy cost is greatly increased by a built-in hard RAID card. When the RAID card is added, the internal structure of the machine needs to be adjusted, so that the probability of problems of hardware equipment is increased; meanwhile, the built-in hard RAID card also increases the link distance from the system hard disk to the mainboard, and reduces the overall performance of the system.
Disclosure of Invention
In order to solve the technical problem, the invention discloses a method for realizing multiple redundancy of a flexible disk array (RAID) and a small machine system, which can realize effective redundancy of the system of the small machine system through simple configuration and lower cost.
In order to achieve the object of the present invention, the present invention provides a method for implementing soft RAID multiple redundancy, including:
setting a partition of a system hard disk of a mini-machine system;
setting corresponding partitions of the redundant hard disk according to the partition setting of the system hard disk;
and respectively carrying out mirror image configuration on each partition of the system hard disk and each partition corresponding to the redundant hard disk.
Furthermore, the mini-size machine system also comprises two serial bus USB interfaces which are respectively used for connecting the first storage disk and the second storage disk;
the method further comprises the following steps:
setting a partition of a first storage disk, and acquiring a system starting directory file through the first storage disk;
and backing up the system starting directory file through the second storage disk.
Furthermore, the model of the system hard disk is the same as that of the redundant hard disk.
The present application further provides a small computer system for implementing multiple redundancies of a flexible disk array RAID, including: the system comprises a system hard disk, a redundant hard disk and a mirror configuration unit; wherein,
the system hard disk is used for setting the partition of the system hard disk according to the system requirement of the mini-type computer;
the redundant hard disk is used for setting the corresponding partition of the redundant hard disk according to the partition setting of the system hard disk;
and the mirror image configuration unit is used for respectively carrying out mirror image setting on each partition of the system hard disk and each partition corresponding to the redundant hard disk.
Furthermore, the mini-size machine system also comprises two serial bus USB interfaces which are used for respectively connecting the first storage disk and the second storage disk;
the first storage disk is used for acquiring a system starting directory file after the partition setting;
and the second storage disk is used for backing up the system starting directory file stored in the first storage unit.
The model of the system hard disk is the same as that of the redundant hard disk.
Compared with the prior art, the technical scheme provided by the invention comprises the following steps: setting a partition of a system hard disk of a mini-machine system; setting corresponding partitions of the redundant hard disk according to the partition setting of the system hard disk; and respectively carrying out mirror image configuration on each partition of the system hard disk and each partition corresponding to the redundant hard disk. The invention realizes the redundancy of the small-sized computer system by adopting less hardware equipment under the condition of less personnel investment by setting the system hard disk and the redundant hard disk in a partitioning way, thereby effectively reducing the cost of the system redundancy. Furthermore, the system startup directory file is acquired for redundancy through the setting of the first storage disk partition, and the stability of the system performance of the small computer is further improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of implementing soft RAID according to the present invention;
FIG. 2 is a block diagram of a small machine system implementing soft RAID according to the present invention.
Detailed Description
Fig. 1 is a flowchart of a method for implementing soft RAID according to the present invention, as shown in fig. 1, including:
step 100, setting a partition of a system hard disk of a small computer system;
it should be noted that, here, the partition of the system hard disk mainly includes: a Swap area (Swap) partition, a root partition, etc., where the root partition mainly refers to a partition with "/" set by a system; the above-mentioned partitions are only common partitions, and for different systems, the partition conditions are different, and addition and deletion can be performed according to the actual conditions, and the specific partitioning method is a conventional technical means for those skilled in the art, and is not described herein again.
When the system hard disk and the redundant hard disk are partitioned and set, firstly, the system hard disk and the redundant hard disk need to log in an external management port (SMC) of a small computer system, and then the system hard disk and the redundant hard disk log in a single node management port (BMC) through the SMC so as to log in a BIOS to perform soft RAID multi-redundancy configuration work. An Extensible Firmware Interface (EFI) operating system boot program can be placed in a hard disk during installation, and can also be placed in a separate U disk.
Step 101, setting corresponding partitions of a redundant hard disk according to the partition setting of a system hard disk; respectively setting the partitions of the redundant hard disk according to the Swap partition and the root partition of the system hard disk;
here, the system hard disk and the redundant hard disk in step 100 and step 101 are the same in model. The stabilization of the redundancy of the system can be achieved by the same model of storage medium.
And 102, respectively carrying out mirror image configuration on each partition of the system hard disk and each partition corresponding to the redundant hard disk. Namely, a Swap partition of a redundant hard disk and a Swap partition of a system hard disk, a root partition of the redundant hard disk and a root partition of the system hard disk are respectively arranged;
the small computer system also comprises two serial bus USB interfaces which are respectively connected with the first storage disk and the second storage disk;
the method of the invention also comprises the following steps:
setting a partition of a first storage disk, and acquiring a system starting directory file through the first storage disk; here, the partition of the first storage disk is a Boot partition, and Boot is a system Boot file, and is stored in the first storage disk partition and used for storing a system Boot directory file.
The system Boot directory file is stored in the system hard disk or the redundant hard disk by default, the BIOS sets the operation of forbidding the system Boot directory file of the system hard disk or the redundant hard disk, and the system Boot directory file is stored in the first storage disk after the Boot partition, so that the stability of the mini-computer system can be further improved.
And backing up the system starting directory file through the second storage disk.
Through the work of the first storage disk and the second storage disk, the influence on the work of the system due to the abnormality of the first storage disk can be avoided, and the characteristic of system redundancy is greatly embodied.
It should be noted that the USB interface is only a preferred common interface of the present invention, and the first storage disk and the second storage disk correspond to a USB disk here; when other hard disks and fast storage devices can meet the system requirements, corresponding replacement can be carried out.
Fig. 2 is a block diagram of a small machine system for implementing soft RAID according to the present invention, as shown in fig. 2, including: the system comprises a system hard disk, a redundant hard disk and a mirror configuration unit; wherein,
the system hard disk is used for setting the partition of the system hard disk according to the system requirement of the mini-type computer;
the redundant hard disk is used for setting the corresponding partition of the redundant hard disk according to the partition setting of the system hard disk;
the model of the system hard disk is the same as that of the redundant hard disk.
And the mirror image configuration unit is used for respectively carrying out mirror image setting on each partition of the system hard disk and each partition corresponding to the redundant hard disk.
The microcomputer system also comprises two serial bus USB interfaces which are used for connecting the first storage disk and the second storage disk respectively;
the first storage disk is used for acquiring a system starting directory file after the partition setting;
and the second storage disk is used for backing up the system starting directory file stored in the first storage unit.
The above description is only a preferred example of the present invention, and is not intended to limit the scope of the present invention. The above embodiments of the invention of the present application are set forth only for the preferred mode. The implementation means can adopt a similar method to replace and the like, and can be properly adjusted according to the actual situation. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A method for realizing multiple redundancy of a flexible disk array (RAID) is characterized by comprising the following steps:
setting a partition of a system hard disk of a mini-machine system;
setting corresponding partitions of the redundant hard disk according to the partition setting of the system hard disk;
and respectively carrying out mirror image configuration on each partition of the system hard disk and each partition corresponding to the redundant hard disk.
2. The method of claim 1, wherein said minicomputer system further comprises two serial bus USB interfaces for connecting to a first storage disk and a second storage disk, respectively;
the method further comprises the following steps:
setting a partition of a first storage disk, and acquiring a system starting directory file through the first storage disk;
and backing up the system starting directory file through the second storage disk.
3. Method according to claim 1 or 2, characterized in that the system hard disk and the redundant hard disk are of the same model.
4. A small machine system for implementing multiple redundancies in a floppy disk array RAID, comprising: the system comprises a system hard disk, a redundant hard disk and a mirror configuration unit; wherein
The system hard disk is used for setting the partition of the system hard disk according to the system requirement of the mini-type computer;
the redundant hard disk is used for setting the corresponding partition of the redundant hard disk according to the partition setting of the system hard disk;
and the mirror image configuration unit is used for respectively carrying out mirror image setting on each partition of the system hard disk and each partition corresponding to the redundant hard disk.
5. The small form factor computer system of claim 4, further comprising two serial bus USB interfaces for connecting the first storage disk and the second storage disk, respectively;
the first storage disk is used for acquiring a system starting directory file after the partition setting;
and the second storage disk is used for backing up the system starting directory file stored in the first storage unit.
6. Small-sized machine system according to claim 4 or 5, characterized in that the system hard disk and the redundant hard disk are of the same model.
CN201410301590.1A 2014-06-27 2014-06-27 Method for achieving soft redundant array of independent disc (RAID) redundancy and microcomputer system thereof Pending CN104020965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410301590.1A CN104020965A (en) 2014-06-27 2014-06-27 Method for achieving soft redundant array of independent disc (RAID) redundancy and microcomputer system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410301590.1A CN104020965A (en) 2014-06-27 2014-06-27 Method for achieving soft redundant array of independent disc (RAID) redundancy and microcomputer system thereof

Publications (1)

Publication Number Publication Date
CN104020965A true CN104020965A (en) 2014-09-03

Family

ID=51437748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410301590.1A Pending CN104020965A (en) 2014-06-27 2014-06-27 Method for achieving soft redundant array of independent disc (RAID) redundancy and microcomputer system thereof

Country Status (1)

Country Link
CN (1) CN104020965A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183512A (en) * 2015-08-28 2015-12-23 浪潮(北京)电子信息产业有限公司 Method and system for deploying operating system in physical hard disk
CN106227627A (en) * 2016-08-22 2016-12-14 浪潮(北京)电子信息产业有限公司 A kind of raid is inserted into data distribution method and the system of new disk after data are recovered
CN107544780A (en) * 2016-06-23 2018-01-05 北京忆恒创源科技有限公司 The installation method and erecting device of a kind of operating system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296105A1 (en) * 2010-06-01 2011-12-01 Hsieh-Huan Yen System and method for realizing raid-1 on a portable storage medium
CN102331958A (en) * 2011-11-02 2012-01-25 赵玉燕 Method for starting hard disk under Linux system
CN102968358A (en) * 2012-11-13 2013-03-13 浪潮电子信息产业股份有限公司 Quick recovery method of soft RAID1 deployment system
CN103019885A (en) * 2012-11-26 2013-04-03 大唐移动通信设备有限公司 Method and system for monitoring embedded Linux-based hard disc bad track

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110296105A1 (en) * 2010-06-01 2011-12-01 Hsieh-Huan Yen System and method for realizing raid-1 on a portable storage medium
CN102331958A (en) * 2011-11-02 2012-01-25 赵玉燕 Method for starting hard disk under Linux system
CN102968358A (en) * 2012-11-13 2013-03-13 浪潮电子信息产业股份有限公司 Quick recovery method of soft RAID1 deployment system
CN103019885A (en) * 2012-11-26 2013-04-03 大唐移动通信设备有限公司 Method and system for monitoring embedded Linux-based hard disc bad track

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183512A (en) * 2015-08-28 2015-12-23 浪潮(北京)电子信息产业有限公司 Method and system for deploying operating system in physical hard disk
CN107544780A (en) * 2016-06-23 2018-01-05 北京忆恒创源科技有限公司 The installation method and erecting device of a kind of operating system
CN107544780B (en) * 2016-06-23 2021-11-30 北京忆恒创源科技股份有限公司 Installation method and installation device of operating system
CN106227627A (en) * 2016-08-22 2016-12-14 浪潮(北京)电子信息产业有限公司 A kind of raid is inserted into data distribution method and the system of new disk after data are recovered

Similar Documents

Publication Publication Date Title
US8819338B2 (en) Storage system and storage apparatus
US8904158B2 (en) Storage system with boot appliance for improving reliability/availability/serviceability in high density server environments
CN108052655B (en) Data writing and reading method
WO2018103533A1 (en) Method, device, and equipment for fault handling
US10108359B2 (en) Method and system for efficient cache buffering in a system having parity arms to enable hardware acceleration
US7093069B2 (en) Integration of a RAID controller with a disk drive module
CN108255410A (en) A kind of method, apparatus and equipment for handling disk roam
US11714733B2 (en) Method and apparatus, and readable storage medium
JP5325304B2 (en) Identify and control performance hot spots in virtual volumes
US11899533B2 (en) Stripe reassembling method in storage system and stripe server
US8918571B2 (en) Exposing expanders in a data storage fabric
TW201939506A (en) Storage system
US20080034155A1 (en) Storage apparatus and conversion board
CN104020965A (en) Method for achieving soft redundant array of independent disc (RAID) redundancy and microcomputer system thereof
CN115480621B (en) Computing driver, method for computing driver and machine readable medium
WO2016112824A1 (en) Storage processing method and apparatus, and storage device
US20170255530A1 (en) User-defined failure domains for software-defined storage systems
CN201725323U (en) Independent redundant disk array
US20150378637A1 (en) Storage device and method for configuring raid group
US11314608B1 (en) Creating and distributing spare capacity of a disk array
US20140025850A1 (en) Server direct attached storage shared through physical sas expanders
US10698618B1 (en) User-defined failure domains for software-defined storage systems
CN104793899A (en) Method and device detecting whether Raid is pulled out or not on basis of virtual disk layer
WO2015085802A1 (en) Data storage method and storage apparatus
CN105573862B (en) Method and equipment for recovering file system

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: 20140903