CN107391037A - A kind of method and device of memory system data - Google Patents
A kind of method and device of memory system data Download PDFInfo
- Publication number
- CN107391037A CN107391037A CN201710610434.7A CN201710610434A CN107391037A CN 107391037 A CN107391037 A CN 107391037A CN 201710610434 A CN201710610434 A CN 201710610434A CN 107391037 A CN107391037 A CN 107391037A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- disk
- sys
- config
- storage system
- 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/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- 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/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/065—Replication mechanisms
-
- 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/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a kind of method of memory system data, described method includes:Storage system automatic creation system configuration file;Storage system writes CONFIG.SYS in the DDF regions of hard disk.Present invention also offers a kind of device of memory system data, described device includes system disk, mainboard, SAS cards and disk array, and all hard disks in the disk array are all inserted on hard disk backboard;The hard disk backboard is connected with SAS cards, and the hard disk on hard disk backboard is managed by SAS cards;The SAS cards are connected with mainboard, and all hardware module being connected on the single control system management memory mainboard in system disk, the hard disk DDF regions internal memory of the disk array contains CONFIG.SYS.DDF regions of the invention by the configuration file of storage system being written to hard disk, avoid the problem of system data is lost in storage system.
Description
Technical field
Field of computer technology of the present invention, specifically a kind of method and device of memory system data.
Background technology
With the continuous development of cybertimes, data are increasingly becoming the critical asset of company, for medium-sized and small enterprises,
Because the price of high-end storage device is high, many medium-sized and small enterprises can all use the single control storage system of low side.
Existing market main flow single-controller product is all to control rear end disk array by storage system, because single-controller product only has
One controller, without the storage system of redundancy backup, if storage system goes wrong, system data can be caused to lose
Lose, the data recovery of disk array is difficult.Moreover, some simple single control storage devices only have a system disk, if
This block system disk is broken down, and system crash can be directly resulted in by not backing up, and loss of data, cause economic loss.
The content of the invention
In order to solve the above problems, there is provided a kind of method and device of memory system data, by storage system
Configuration file is written to the DDF regions of hard disk, avoids the problem of system data is lost in storage system.
The embodiments of the invention provide a kind of method of memory system data, described method includes:
Storage system automatic creation system configuration file;
Storage system writes CONFIG.SYS in the DDF regions of hard disk.
Further, described method also includes:
CONFIG.SYS is synchronized in the DDF regions of each piece of hard disk by storage system.
Further, the detailed process of storage system automatic creation system configuration file is:
Storage system triggers generting machanism, and the generation order of execution system configuration file;
Storage system generates CONFIG.SYS from system setup module extraction system configuration data.
Further, described generting machanism is clocked flip mechanism or renewal trigger mechanism.
The embodiment of the present invention additionally provides a kind of device of memory system data, described device include system disk, mainboard,
SAS cards and disk array, all hard disks in the disk array are all inserted on hard disk backboard;The hard disk backboard and SAS
Card is connected, and the hard disk on hard disk backboard is managed by SAS cards;The SAS cards are connected with mainboard, the single control storage system in system disk
The all hardware module being connected on reason mainboard under the overall leadership, the hard disk DDF regions internal memory of the disk array contain CONFIG.SYS.
Preferably, it is stored with CONFIG.SYS in the DDF regions of each piece of hard disk in disk array.
The beneficial effect of the specific embodiment of the invention is:
1st, the embodiment of the present invention makes full use of and deposited by generating CONFIG.SYS and being stored in the DDF regions of hard disk
The reserved space of storage system disk array, newest system configuration parameter is saved, when system disk breaks down, only
Need to change system disk, read the CONFIG.SYS prestored and recover with regard to system can be completed, effectively prevent system data from losing
Lose.
2nd, CONFIG.SYS is also synchronized to the DDF regions of all hard disks by the embodiment of the present invention, is CONFIG.SYS
Storage provide maximum safety guarantee because being substantially not in the extreme case that all hard disks all damage, also
The securely held of CONFIG.SYS 100% is substantially carried out.
Brief description of the drawings
Fig. 1 is the method flow diagram of the embodiment of the present invention 1;
Fig. 2 is the schematic diagram of device of the embodiment of the present invention 1;
Fig. 3 is the method flow diagram of the embodiment of the present invention 2;
Fig. 4 is the schematic diagram of device of the embodiment of the present invention 2.
Embodiment
In order that those skilled in the art better understood when, realize the present invention, below by specific embodiment pair
The present invention is described in detail.
Embodiment 1
As shown in figure 1, it is directed to embodiment 1, the invention provides a kind of method of memory system data, described method bag
Include:
1st, storage system automatic creation system configuration file, detailed process are:
1) storage system is by triggering generting machanism, so as to the generation order of execution system configuration file.Generting machanism is pre-
First define, usually clocked flip mechanism or renewal trigger mechanism, so-called clocked flip mechanism, exactly set within the storage system
Determine a cycle, such as 2 hours, when when timer or timer detect that the time has pass 2 small, will trigger.
So-called renewal trigger mechanism, exactly it is used as trigger condition either with or without renewal is performed by detecting storage system, such as, storage
Parameter in system is reset, storage system has downloaded software of a redaction etc., can all cause triggering.In order to protect
The renewal of CONFIG.SYS promptly and accurately is demonstrate,proved, can be simultaneously using clocked flip mechanism and renewal trigger mechanism, as long as meeting
One of condition, it will trigger, such as after 2 hours clocked flips of setting, if the internal storage system of 2 hours has been carried out more
Newly, then the generation of CONFIG.SYS will be triggered, detect had been subjected to 2 hours when, system can be triggered again
The generation of configuration file.
2) storage system generates CONFIG.SYS from system setup module extraction system configuration data.Each storage
System can all have system setup module, and system setup module can all have configuration management module, system configuration number generally
According to can all be stored in configuration management module, can directly extract.
2nd, storage system writes CONFIG.SYS in the DDF regions of hard disk.The realization principle of the step is:Due to industry
Disk array create, raid information is preserved respectively on every piece of hard disk of storage system and disk array.According to industrywide standard,
Raid information on every piece of hard disk is write in the last 512MB spaces of every piece of hard disk, and this region is referred to as DDF (disk data
Format) region.Generally, therefore the configuration file size of system, is possibly stored to DDF areas at 100KB or so completely
In domain.
As shown in Fig. 2 being directed to embodiment 1, present invention also offers a kind of device of memory system data, described device
Including system disk, mainboard, SAS cards and disk array, all hard disks in the disk array are all inserted on hard disk backboard;Institute
State hard disk backboard with SAS cards to be connected, the hard disk on hard disk backboard is managed by SAS cards;The SAS cards are connected with mainboard, system
The all hardware module being connected on single control system management memory mainboard in disk, one or a few hard disk in the disk array
DDF regions internal memory contains the CONFIG.SYS of a latest edition.
By above-mentioned method and apparatus, the CONFIG.SYS of latest edition is stored in the DDF regions of hard disk, filled
Divide the space reserved using storage system disk array, newest system configuration parameter is saved, when event occurs in system disk
During barrier, it is thus only necessary to system disk is changed, the CONFIG.SYS for reading hard disk DDF regions memory storage recovers with regard to that can complete system,
Effectively prevent system data from losing.
Embodiment 2
As shown in figure 3, it is directed to embodiment 2, the invention provides a kind of method of memory system data, described method bag
Include:
1st, storage system automatic creation system configuration file, detailed process are:
1) storage system is by triggering generting machanism, so as to the generation order of execution system configuration file.Generting machanism is pre-
First define, usually clocked flip mechanism or renewal trigger mechanism, so-called clocked flip mechanism, exactly set within the storage system
Determine a cycle, such as 2 hours, when when timer or timer detect that the time has pass 2 small, will trigger.
So-called renewal trigger mechanism, exactly it is used as trigger condition either with or without renewal is performed by detecting storage system, such as, storage
Parameter in system is reset, storage system has downloaded software of a redaction etc., can all cause triggering.In order to protect
The renewal of CONFIG.SYS promptly and accurately is demonstrate,proved, can be simultaneously using clocked flip mechanism and renewal trigger mechanism, as long as meeting
One of condition, it will trigger, such as after 2 hours clocked flips of setting, if the internal storage system of 2 hours has been carried out more
Newly, then the generation of CONFIG.SYS will be triggered, detect had been subjected to 2 hours when, system can be triggered again
The generation of configuration file.
2) storage system generates CONFIG.SYS from system setup module extraction system configuration data.Each storage
System can all have system setup module, and system setup module can all have configuration management module, system configuration number generally
According to can all be stored in configuration management module, can directly extract.
2nd, storage system writes CONFIG.SYS in the DDF regions of hard disk.The realization principle of the step is:Due to industry
Disk array create, raid information is preserved respectively on every piece of hard disk of storage system and disk array.According to industrywide standard,
Raid information on every piece of hard disk is write in the last 512MB spaces of every piece of hard disk, and this region is referred to as DDF (disk data
Format) region.Generally, therefore the configuration file size of system, is possibly stored to DDF areas at 100KB or so completely
In domain.
3rd, in previous step, although CONFIG.SYS is written with the DDF regions of hard disk, but may only write a certain piece
Hard disk or a few pieces of hard disks, hard disk is impaired to cause CONFIG.SYS to be lost in order to prevent, and CONFIG.SYS is synchronized to
In the DDF regions of each piece of hard disk, all damaged so long as not all hard disks, can just preserve at least a intact system configuration text
Part.
As shown in figure 4, being directed to embodiment 2, present invention also offers a kind of device of memory system data, described device
Including system disk, mainboard, SAS cards and disk array, all hard disks in the disk array are all inserted on hard disk backboard;Institute
State hard disk backboard with SAS cards to be connected, the hard disk on hard disk backboard is managed by SAS cards;The SAS cards are connected with mainboard, system
The all hardware module being connected on single control system management memory mainboard in disk, the DDF of each piece of hard disk in the disk array
The CONFIG.SYS of a latest edition is stored with region.
Compared to embodiment 1, CONFIG.SYS is synchronized to the DDF regions of all hard disks by embodiment 2, is system configuration text
The storage of part provides the safety guarantee of maximum, because being substantially not in the extreme case that all hard disks all damage,
The securely held of CONFIG.SYS 100% is just substantially carried out.
Although specification and drawings and examples have been carried out being described in detail to the invention, this area skill
Art personnel should be appreciated that and still the invention can be modified or equivalent substitution;And all do not depart from wound of the present invention
The technical scheme for the spirit and scope made and its improvement, it is encompassed by among the protection domain of the invention patent.
Claims (6)
1. a kind of method of memory system data, it is characterized in that, described method includes:
Storage system automatic creation system configuration file;
Storage system writes CONFIG.SYS in the DDF regions of hard disk.
2. a kind of method of memory system data according to claim 1, it is characterized in that, described method also includes:
CONFIG.SYS is synchronized in the DDF regions of each piece of hard disk by storage system.
3. a kind of method of memory system data according to claim 1 or 2, it is characterized in that, storage system automatically generates
The detailed process of CONFIG.SYS is:
Storage system triggers generting machanism, and the generation order of execution system configuration file;
Storage system generates CONFIG.SYS from system setup module extraction system configuration data.
4. a kind of method of memory system data according to claim 3, it is characterized in that, described generting machanism is timing
Trigger mechanism or renewal trigger mechanism.
5. a kind of device of memory system data, described device includes system disk, mainboard, SAS cards and disk array, the magnetic
All hard disks in disk array are all inserted on hard disk backboard;The hard disk backboard is connected with SAS cards, is managed by SAS cards hard
Hard disk on disk backboard;The SAS cards are connected with mainboard, and what is be connected on the single control system management memory mainboard in system disk is all
Hardware module, it is characterized in that, the hard disk DDF regions internal memory of the disk array contains CONFIG.SYS.
6. a kind of device of memory system data according to claim 5, it is characterized in that, each piece of hard disk in disk array
DDF regions in be stored with CONFIG.SYS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710610434.7A CN107391037A (en) | 2017-07-25 | 2017-07-25 | A kind of method and device of memory system data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710610434.7A CN107391037A (en) | 2017-07-25 | 2017-07-25 | A kind of method and device of memory system data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107391037A true CN107391037A (en) | 2017-11-24 |
Family
ID=60337030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710610434.7A Pending CN107391037A (en) | 2017-07-25 | 2017-07-25 | A kind of method and device of memory system data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107391037A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1376359A2 (en) * | 2002-04-23 | 2004-01-02 | Hitachi, Ltd. | Handling configuration information for network storage devices |
CN101493795A (en) * | 2008-01-24 | 2009-07-29 | 杭州华三通信技术有限公司 | Storage system, storage controller, and cache implementing method in the storage system |
CN101566927B (en) * | 2008-04-23 | 2010-10-27 | 杭州华三通信技术有限公司 | Memory system, memory controller and data caching method |
CN102508724A (en) * | 2011-10-25 | 2012-06-20 | 北京同有飞骥科技股份有限公司 | Disk bad block processing method based on soft RAID (redundant array of independent disks) |
CN102750110A (en) * | 2011-10-25 | 2012-10-24 | 北京同有飞骥科技股份有限公司 | High-reliable disk array system for configuration information |
CN103475695A (en) * | 2013-08-21 | 2013-12-25 | 华为数字技术(成都)有限公司 | Interconnection method and device for storage system |
CN104793904A (en) * | 2015-05-07 | 2015-07-22 | 北京银信长远科技股份有限公司 | Method for setting hard disk forbidden zone of logical volume and backing up configuration information through hard disk forbidden zone |
CN105630639A (en) * | 2015-12-25 | 2016-06-01 | 北京同有飞骥科技股份有限公司 | Thermal node replacing method for double-computer cluster |
-
2017
- 2017-07-25 CN CN201710610434.7A patent/CN107391037A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1376359A2 (en) * | 2002-04-23 | 2004-01-02 | Hitachi, Ltd. | Handling configuration information for network storage devices |
CN101493795A (en) * | 2008-01-24 | 2009-07-29 | 杭州华三通信技术有限公司 | Storage system, storage controller, and cache implementing method in the storage system |
CN101566927B (en) * | 2008-04-23 | 2010-10-27 | 杭州华三通信技术有限公司 | Memory system, memory controller and data caching method |
CN102508724A (en) * | 2011-10-25 | 2012-06-20 | 北京同有飞骥科技股份有限公司 | Disk bad block processing method based on soft RAID (redundant array of independent disks) |
CN102750110A (en) * | 2011-10-25 | 2012-10-24 | 北京同有飞骥科技股份有限公司 | High-reliable disk array system for configuration information |
CN103475695A (en) * | 2013-08-21 | 2013-12-25 | 华为数字技术(成都)有限公司 | Interconnection method and device for storage system |
CN104793904A (en) * | 2015-05-07 | 2015-07-22 | 北京银信长远科技股份有限公司 | Method for setting hard disk forbidden zone of logical volume and backing up configuration information through hard disk forbidden zone |
CN105630639A (en) * | 2015-12-25 | 2016-06-01 | 北京同有飞骥科技股份有限公司 | Thermal node replacing method for double-computer cluster |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6954834B2 (en) | Data backup including tape and non-volatile memory units and method of operating same | |
CN104461391A (en) | Method and system for managing and processing metadata of storage equipment | |
CN104035893A (en) | Method for data storage during abnormal power down of computer | |
CN101231604B (en) | Apparatus, system, and method for volume-level restoration of cluster server data | |
CN105653345A (en) | Method and device supporting data nonvolatile random access | |
CN103516736A (en) | Data recovery method of distributed cache system and a data recovery device of distributed cache system | |
CN104133740A (en) | Method for recovering abnormal power failure data | |
CN106603279A (en) | Disaster tolerance method and disaster tolerance system | |
CN112000276B (en) | Memory bank | |
CN102024021A (en) | Method for logging metadata in logical file system | |
CN110399247A (en) | A kind of data reconstruction method, device, equipment and computer readable storage medium | |
CN105718330A (en) | Linux system backup data recovery method and device | |
CN105320576A (en) | Device and method for database backup | |
CN107506266A (en) | A kind of data reconstruction method and system | |
CN111984365B (en) | Virtual machine virtual disk dual-live implementation method and system | |
WO2014075586A1 (en) | Method and device for automatically recovering storage of jbod array | |
CN104050014A (en) | Efficient storage management method based on virtualization platform | |
CN106021030A (en) | Database system and database fault processing method and device | |
CN101515259B (en) | Inserted device configuring data protecting method | |
CN104598328A (en) | File system repair method, device and system | |
CN105511978A (en) | Power-down protection method and system for file system in recording equipment | |
CN101551772A (en) | Method and apparatus for recording abnormal information of embedded communications equipment | |
CN101169705B (en) | Method for implementing file class mirror-image under multiple hard disk based on nude file system | |
CN107391037A (en) | A kind of method and device of memory system data | |
CN106909477A (en) | A kind of storage server IO stack internal storage data guard methods and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |
|
RJ01 | Rejection of invention patent application after publication |