CN107765990A - A kind of system disk management method and device - Google Patents

A kind of system disk management method and device Download PDF

Info

Publication number
CN107765990A
CN107765990A CN201610682879.1A CN201610682879A CN107765990A CN 107765990 A CN107765990 A CN 107765990A CN 201610682879 A CN201610682879 A CN 201610682879A CN 107765990 A CN107765990 A CN 107765990A
Authority
CN
China
Prior art keywords
disk
data
file
system disk
memory mirror
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
CN201610682879.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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610682879.1A priority Critical patent/CN107765990A/en
Priority to PCT/CN2017/097505 priority patent/WO2018033062A1/en
Publication of CN107765990A publication Critical patent/CN107765990A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/065Replication mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1466Management of the backup or restore process to make the backup process non-disruptive
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention provides a kind of system disk management method, device and computer-readable storage medium, by memory mirror file by system disk data backup in internal memory, in the case of server apparatus does not power off, the replacing of system disk and the fast quick-recovery of business are completed, improves QoS of customer.

Description

A kind of system disk management method and device
Technical field
The present invention relates to operation system technology field, more particularly to a kind of system disk management method and device.
Background technology
In current telecommunication server market segment, because the integrated development of business, traditional blade type private server is got over To be more difficult to support the computing of high concurrent, big data quantity, equipment and service maintenance become complicated all the more.Therefore telecommunication market is hard Part buying develops to generic server direction.And it is to configure polylith in generic server market segment, the common practice of manufacturer Operating system disk slot, do the mode of RAID (Redundant Arrays of Independent Disks, disk array) To improve the stability of system disk data, wherein RAID has hard RAID and software PLC mode.Entered by hardware accumulation mode The Redundancy Design of row operating system disk data, the stability of system operation is improved, and then improve the stability of service operation, subtracted Low-maintenance workload, reach the requirement for improving user satisfaction, Information Security.
But there is the problem of following system disk changes influence business service in such scheme:
Occur that bad track or other situations result in the need for changing system disk after running a period of time due to system disk, especially It is the erasable number limitation of SSD (Solid State Drives, solid state hard disc) hard disk, can easily lead to disk failures, need Change system disk;And, it is necessary to do business datum backup when changing system disk, installation of operating system and business etc. Operation, service disconnection is caused to influence QoS of customer for a long time.
The content of the invention
System disk management method provided in an embodiment of the present invention and device, main technical problems to be solved are that system is hard Disk, which is changed, influences business service.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of system disk management method, including:
Obtain the data in magnetic disk of system disk;
By the Disk data backup in internal memory, memory mirror file is generated;
After the system disk updates, using the memory mirror file, disk is carried out to the system disk Data recovery.
The embodiment of the present invention also provides a kind of system disk managing device, including:
Backup module, for obtaining the data in magnetic disk of system disk, by the Disk data backup in internal memory, in generation Deposit image file;
Recovery module, for after the system disk updates, using the memory mirror file, to the system Disk carries out recovering disk data.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and computer is stored with the computer-readable storage medium Executable instruction, the computer executable instructions are used for the system disk management method for performing foregoing any one.
The beneficial effects of the invention are as follows:
System disk management method, device and the computer-readable storage medium provided according to embodiments of the present invention, by interior Image file is deposited by system disk data backup in internal memory, in the case of server apparatus does not power off, completes system disk Replacing and business fast quick-recovery, improve QoS of customer.
Brief description of the drawings
Fig. 1 is a kind of flow chart for system disk management method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart for system disk management method that the embodiment of the present invention two provides;
Fig. 3 is a kind of flow chart for system disk management method that the embodiment of the present invention three provides;
Fig. 4 is a kind of schematic diagram for system disk managing device that the embodiment of the present invention four provides;
Fig. 5 is a kind of schematic diagram for system disk management terminal that the embodiment of the present invention five provides.
Embodiment
The embodiment of the present invention is described in further detail below by embodiment combination accompanying drawing.
Embodiment one:
In order to reach replacing and the fast quick-recovery of business of in the case of server apparatus does not power off, completing system disk Purpose, the embodiments of the invention provide a kind of system disk management method, idiographic flow refers to Fig. 1.
S101, obtain the data in magnetic disk of system disk.
By analyzing vital document in system disk and necessary file, and the version file and data of aggregate traffic File, arrange the backed-up config file for being fabricated to and needing to be backed up.
S102, by the Disk data backup in internal memory, generate memory mirror file.
According to backed-up config file before, the file that the needs in the system disk got are backed up and data compression Memory mirror file is generated, is stored in internal memory, the backup file as existing operation operating system.
S103, after the system disk updates, using the memory mirror file, the system disk is carried out Recovering disk data.
The system disk that renewal includes more renewing occurs for system disk, and the system disk more renewed can be by hot plug more System disk is changed, avoids the need for electricity under whole server apparatus is shut down.After the completion of replacing, by the memory mirror file in internal memory New system disk is re-write, recovery system can be run rapidly.
System disk management method provided in an embodiment of the present invention, by the backup disk data in internal memory, it can take In the case of business device equipment does not power off, the replacing of system disk and the fast quick-recovery of business are completed, improves QoS of customer.
Obviously, those skilled in the art should be understood that the scheme system disk of the embodiment of the present invention occurs renewal and also wrapped Include and system is reinstalled on system disk, the memory mirror file in internal memory is re-write into system disk, restarted System operation.If the scheme of the embodiment of the present invention is applied into other scene, plan content is accordingly changed, also all should When being considered as belonging to protection scope of the present invention.
Embodiment two:
The embodiment of the present invention provides a kind of system disk management method, and idiographic flow refers to Fig. 2.
S201, backed-up config file is set.
By analyzing vital document in system disk and necessary file, and the version file and data of aggregate traffic File, arrange the backed-up config file for being fabricated to and needing to be backed up.
S202, the data of system disk storage are read, using the data read as data in magnetic disk.
According to backed-up config file, the data stored in system disk are read, using the data read as will back up Data in magnetic disk.
S203, by the Disk data backup in internal memory, generate memory mirror file.
Data in magnetic disk reading before, will backing up is compressed into generation memory mirror file, is stored in internal memory, makees For the backup file of existing operation operating system.
S204, the data in the backed-up config file of monitoring system disk.
According to backed-up config file, timing travels through the file path or directory path in configuration file, according to specific calculation Method, current data is contrasted with the memory mirror file data generated.
S205, judges whether data update.If it is not, then rotate back into S204;If so, then go to S206.
After the complete all data of cycle detection, judge whether data update according to comparing result.If it is not, then tied according to contrast Fruit judges that data are not updated, and rotates back into S204, continues the data in the backed-up config file of monitoring system disk;If so, Then judge that data are updated according to comparing result, go to S206.
S206, judge whether data are newly-increased data.If so, then go to S207;If it is not, then go to S208.
After judging that data are updated according to comparing result, the data file for judging to be updated adds attribute, point newly-increased data With update the data 2 types.Newly-increased data are that the data file is written into memory mirror file for the first time, before without this number According to file, it is necessary to be created;Update the data to have been written to memory mirror file, it is necessary to will be original before the data file Memory mirror file is deleted, then new data are added in image file by compression algorithm, completes renewal.
S207, using incremental mode, generate the memory mirror file for increasing data newly.
Now, the data file being updated is newly-increased data, and using incremental mode, the memory mirror for generating newly-increased data is literary Part.Incremental mode refers to when it is entirely to generate for the first time that the data in magnetic disk of renewal, which is newly-increased data i.e. data file, directly by institute There are data according to compression algorithm, packing creates into an image file and is stored in internal memory, as memory mirror file.
S208, using differential mode, generate the memory mirror file updated the data.
Now, the data file being updated, using differential mode, generates the memory mirror text updated the data to update the data Part.Differential mode refers in the presence of data in magnetic disk is updates the data i.e. before data file, by original memory mirror text Part is deleted, then new data are added in image file by compression algorithm, internal memory is stored in, as memory mirror file.
S209, monitor the new information for characterizing renewal system disk.
Renewal system disk includes more renewing disk or repairs disk, it is necessary to re-write operating system phase on disk The data of pass.The system disk more renewed can change system disk by hot plug, avoid the need for whole server apparatus The lower electricity of shutdown.
S210, read-write operation of the shielding internal memory to system disk.
When listening to new information, illustrate that system disk needs to update, now shield read-write of the internal memory to system disk Operation and related other actions, internal memory cannot carry out any change to the data in system disk again, it is ensured that now internal memory The information and operating system disk of middle operation separate, and ensure that operating system will not change during the renewal disk operating such as removable disk Reset.Because data in backed up in synchronization system disk always before, read-write operation of the internal memory to system disk is now shielded, It can also avoid importing this periods of data again in difference, there is real data with the data in memory mirror file in disk System is unstable after difference causes system disk replacing.
S211, monitor the recovery message for characterizing recovery system disk.
It is to need to write the memory mirror file in internal memory into present system disk to recover message.Can be in more new system After disk, issued by user.
S212, memory mirror file is written back to the system disk after renewal, image file corresponding to generation.
When listening to recovery message, memory mirror file is extracted from internal memory, the system disk being written back to after renewal Memory mirror file is re-write into system disk, in image file corresponding to the generation of corresponding Disk Locality.
S213, decompress image file.
After image file generation after, image file is decompressed, be discharged into corresponding to specific catalogue, realize system environments, The reduction of business release and data.
S214, judge to update whether system disk succeeds.If so, then go to S215;If it is not, then go to S216.
After the completion of recovery system disk, whether detection data update completion, operating system whether can normal operation, if It is then to judge renewal system disk success, goes to S215;If it is not, then go to S216.
S215, reduce all system disk operating functions.
Internal memory is shielded before to the read-write operation of system disk and related other actions, now reduces all systems to system The operating function of disk, system normal operation.
S216, prompt to need manual intervention processing.
If judging renewal system disk failure, prompt message, which is informed, needs manually intervention to handle, and can hold again Row renewal system disk processing etc..
System disk management method provided in an embodiment of the present invention, by the backup disk data in internal memory, it can complete The recovery of system disk and data in magnetic disk is updated, is not required to interrupting service service, improves QoS of customer.
Obviously, if those skilled in the art should be understood that when the scheme of the embodiment of the present invention is applied into other scene, Plan content is accordingly changed, also should all be considered as belonging to protection scope of the present invention.
Embodiment three:
The embodiment of the present invention provides a kind of system disk management method, and idiographic flow refers to Fig. 3.
S301, backed-up config file is set.
Backed-up config file includes the catalogue of the data such as the essential document that operating system needs, and is by system magnetic Vital document and necessary file are analyzed in disk, and set Miscellaneous Documents arrange what is be fabricated to.
S302, establish the disk mirroring file of system disk.
According to backed-up config file, the data stored in system disk are read, the disk corresponding to foundation in system disk Image file, using disk mirroring file as data in magnetic disk.
S303, establish the memory mirror file of system disk.
According to the disk mirroring file established in system disk as data in magnetic disk, disk mirroring file is corresponded in internal memory Establish memory mirror file.
S304, monitor disk mirroring file.
According to backed-up config file, timing travels through the file path or directory path in configuration file, according to specific calculation Method, current data is contrasted with the disk mirroring file data generated.
S305, judges whether data update.If it is not, then rotate back into S304;If so, then go to S306.
After the complete all data of cycle detection, judge whether data update according to comparing result.If it is not, then tied according to contrast Fruit judges that data are not updated, and rotates back into S304, continues to monitor;If so, then judging that data are updated according to comparing result, turn To S306.
S306, update disk mirroring file.
After judging that data are updated according to comparing result, the data file for judging to be updated adds attribute, point newly-increased data With update the data 2 types.Newly-increased data are that the data file is written into disk mirroring file for the first time, before without this number According to file, now using incremental mode, hard disk mirror-image file is updated.Incremental mode refers to when the data in magnetic disk is to increase data newly i.e. Data file is entirely when generating for the first time, directly creates all data into an image file according to compression algorithm, packing Disk is stored in, as disk mirroring file.
Update the data to have been written to disk mirroring file before the data file, now using differential mode, renewal Hard disk mirror-image file.Differential mode refers in the presence of the data in magnetic disk is updates the data i.e. before data file, by original The disk mirroring file come is deleted, then new data are added in image file by compression algorithm, disk is stored in, as magnetic Disk mirroring file.
S307, memory mirror file is updated, is consistent with disk mirroring file.
After disk mirroring file is updated, memory mirror file is updated, keeps the uniformity of two mirror image datas.Also may be used Periodically to compare disk mirroring file and memory mirror file, to judge whether two mirror image datas are consistent.In renewal internal memory mirror As that before file, can shield internal memory to the read-write operation of system disk and related other actions, internal memory cannot be again to system Data in disk carry out any change, it is ensured that system disk data no longer change, so as to which disk mirroring file no longer becomes Change, avoid when memory mirror file is updated, disk mirroring file changes, and causes memory mirror file and disk mirroring text Two mirror image datas of part can not be consistent.After the completion of memory mirror file is updated, internal memory can be recovered to system disk Read-write operation and related other actions.
The data file that renewal memory mirror file needs to judge to be updated adds attribute, divides newly-increased data and updates the data 2 types.Newly-increased data are that the data file is written into memory mirror file for the first time, directly will renewal using incremental mode Data according to compression algorithm, packing creates into an image file and is stored in internal memory, as memory mirror file.
Update the data to have been written to memory mirror file before the data file, will be original using differential mode Memory mirror file is deleted, then new data are added in image file by compression algorithm, internal memory is stored in, as internal memory mirror As file.
S308, monitor the new information for characterizing renewal system disk.
Renewal system disk includes more renewing disk or repairs disk, it is necessary to re-write operating system phase on disk The data of pass.The system disk more renewed can change system disk by hot plug, avoid the need for whole server apparatus The lower electricity of shutdown.
S309, read-write operation of the shielding internal memory to system disk.
When listening to new information, read-write operation and related other actions of the shielding internal memory to system disk, internal memory Any change cannot be carried out to the data in system disk again, it is ensured that the information and operating system disk now run in internal memory Separate, ensure that operating system will not change reset during the renewal disk operating such as removable disk.Because before always synchronous standby Data in part system disk, internal memory is now shielded to the read-write operation of system disk, can also avoid importing data again This period in difference, real data and the data in memory mirror file are variant in disk causes the system disk to be after changing Unite unstable.
S310, monitor the recovery message for characterizing recovery system disk.
It is to need to write the memory mirror file in internal memory into present system disk to recover message.Can be in more new system After disk, issued by user.
S311, memory mirror file is written back to the system disk after renewal, image file corresponding to generation.
When listening to recovery message, memory mirror file is extracted from internal memory, the system disk being written back to after renewal Memory mirror file is re-write into system disk, in image file corresponding to the generation of corresponding Disk Locality.
S312, decompress image file.
After image file generation after, image file is decompressed, be discharged into corresponding to specific catalogue, realize system environments, The reduction of business release and data.
S313, judge to update whether system disk succeeds.If so, then go to S314;If it is not, then go to S315.
After the completion of recovery system disk, whether detection data update completion, operating system whether can normal operation, if It is then to judge renewal system disk success, goes to S314;If it is not, then go to S315.
S314, reduce all system disk operating functions.
Internal memory is shielded before to the read-write operation of system disk and related other actions, now reduces all systems to system The operating function of disk, system normal operation.
S315, prompt to need manual intervention processing.
If judging renewal system disk failure, prompt message, which is informed, needs manually intervention to handle, and can hold again Row renewal system disk processing etc..
System disk management method provided in an embodiment of the present invention, by establishing disk mirroring file backup magnetic in disk Disk data, then memory mirror file is synchronously established in internal memory, can in backup procedure substep archive memory image file, it is interior Deposit without traversal backed-up config file every time, only timing and disk mirroring file synchronization, reduce the read-write IO between disk (Input/Output, input/output interface) operates, while also reduces CPU (Central Processing Unit, centre Manage device) utilization rate, when can effectively solve the problem that the synchronization that high frequency is carried out between existing RAID disk, the IO of CPU and system disk leaps high The problem of, while complete to update the recovery of system disk and data in magnetic disk, interrupting service service is not required to, improves user service matter Amount.
Obviously, if those skilled in the art should be understood that when the scheme of the embodiment of the present invention is applied into other scene, Plan content is accordingly changed, also should all be considered as belonging to protection scope of the present invention.
Example IV:
The embodiment of the present invention provides a kind of system disk managing device, and specific schematic diagram refers to Fig. 4.Below to each module And function is further described, including:
Backup module 401, for obtaining the data in magnetic disk of system disk, by Disk data backup in internal memory, in generation Deposit image file.
Need to set backed-up config file before obtaining the data in magnetic disk of system disk, backed-up config file includes operating system Run the catalogue of the data such as essential document needed, be by analyzing vital document in system disk and necessary file, Set Miscellaneous Documents arrange what is be fabricated to.
Wherein obtaining the data in magnetic disk of system disk includes reading the data of system disk storage according to backed-up config file, Using the data read as data in magnetic disk.By corresponding to the Disk data backup data generation that i.e. basis is read in internal memory Memory mirror file.
Obtaining the data in magnetic disk of system disk also includes the disk mirroring file that monitoring is established in system disk, by disk mirror As file is as data in magnetic disk.This mode needs to establish disk mirroring file in system disk, then according to disk mirroring File, the memory mirror file corresponding to foundation in internal memory.
, it is necessary to which whether the data in magnetic disk monitored always in backed-up config file changes after generation memory mirror file, change Illustrate that data in magnetic disk needs to update.If change, it is necessary to which the data file attribute for judging to update is newly-increased data or more New data.It is different according to attribute, using different update methods.It is raw using incremental mode when data in magnetic disk is newly-increased data Into the memory mirror file of newly-increased data;When data in magnetic disk for when updating the data, using differential mode, generate update the data it is interior Deposit image file.Newly-increased data are that the data file is written into memory mirror file for the first time, before this no data file, Need to be created;Update the data to have been written to memory mirror file before the data file, it is necessary to by original internal memory mirror As file deletion, then new data are added in image file by compression algorithm, complete renewal.
Recovery module 402, for after system disk updates, using memory mirror file, being carried out to system disk Recovering disk data.
Recovery module is used to monitor the new information for being used for characterizing renewal system disk, and updating the system disk is included more Renew disk or repair disk.When listening to new information, shielding internal memory is to the read-write operation of system disk, and internal memory is just not Any change can be carried out to the data in system disk again, it is ensured that information and the operating system disk separation now run in internal memory Come, ensure that operating system will not change reset during the renewal disk operating such as removable disk.Because before always in backed up in synchronization system The data united in disk, now shield internal memory to the read-write operation of system disk, can also avoid import again data this In the section time difference, data in disk in real data and memory mirror file are variant cause system disk change after system not It is stable.
Recovery module is additionally operable to monitor the recovery message for being used for characterizing recovery system disk.When listening to recovery message, Memory mirror file is written back to the system disk after renewal, generates image file, image file is decompressed, is discharged into corresponding tool Body catalogue, realize the reduction of system environments, business release and data.
System disk managing device provided in an embodiment of the present invention, by the backup disk data in internal memory, it can complete The recovery of system disk and data in magnetic disk is updated, is not required to interrupting service service, improves QoS of customer.
Obviously, if those skilled in the art should be understood that when the device of the embodiment of the present invention is applied into other scene, Apparatus module is accordingly increased and decreased, also should all be considered as belonging to protection scope of the present invention.
Embodiment five:
The embodiment of the present invention provides a kind of terminal, includes the system disk management of system disk, internal memory and embodiment 4 Device, refer to Fig. 5.
Terminal provided in an embodiment of the present invention, by system disk managing device, can in internal memory backup disk data, The recovery of renewal system disk and data in magnetic disk is completed, is not required to interrupting service service, improves QoS of customer.
Obviously, those skilled in the art should be understood that each module of the embodiments of the present invention or each step can be used General computing device realizes that they can be concentrated on single computing device, or be distributed in multiple computing device institutes On the network of composition, alternatively, they can be realized with the program code that computing device can perform, it is thus possible to by they It is stored in computer-readable storage medium (ROM/RAM, magnetic disc, CD) and is performed by computing device, and in some cases, can With to perform shown or described step different from order herein, or they are fabricated to each integrated circuit die respectively Block, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So the present invention does not limit Combined in any specific hardware and software.
Above content is to combine the further description that specific embodiment is made to the embodiment of the present invention, it is impossible to is recognized The specific implementation of the fixed present invention is confined to these explanations.For general technical staff of the technical field of the invention, Without departing from the inventive concept of the premise, some simple deduction or replace can also be made, should all be considered as belonging to the present invention Protection domain.

Claims (11)

  1. A kind of 1. system disk management method, it is characterised in that including:
    Obtain the data in magnetic disk of system disk;
    By the Disk data backup in internal memory, memory mirror file is generated;
    After the system disk updates, using the memory mirror file, data in magnetic disk is carried out to the system disk Recover.
  2. 2. the system as claimed in claim 1 disk management method, it is characterised in that the data in magnetic disk for obtaining system disk Including:
    The data of the system disk storage are read, using the data read as the data in magnetic disk;
    Or
    The disk mirroring file of the system disk is monitored, using the disk mirroring file as the data in magnetic disk.
  3. 3. the system as claimed in claim 1 disk management method, it is characterised in that described by including the Disk data backup In depositing, generation memory mirror file includes:
    When the data in magnetic disk is newly-increased data, using incremental mode, the memory mirror file of the generation newly-increased data;
    Or
    When the data in magnetic disk for when updating the data, using differential mode, the memory mirror file that is updated the data described in generation.
  4. 4. the system as claimed in claim 1 disk management method, it is characterised in that described to be updated in the system disk Afterwards, using the memory mirror file, carrying out recovering disk data to the system disk includes:
    Monitor the recovery message for recovering the system disk for characterizing;
    When listening to the recovery message, the memory mirror file is written back to the system disk after renewal, generation is corresponding Image file;
    Decompress the image file.
  5. 5. the system disk management method as described in any one of Claims 1-4, it is characterised in that also include:
    The new information that the system disk is updated for characterizing is monitored, the renewal system disk includes more renewing disk Or repair disk;
    When listening to the new information, read-write operation of the shielding internal memory to the system disk.
  6. A kind of 6. system disk managing device, it is characterised in that including:
    Backup module, for obtaining the data in magnetic disk of system disk, by the Disk data backup in internal memory, generate internal memory mirror As file;
    Recovery module, for after the system disk updates, using the memory mirror file, to the system disk Carry out recovering disk data.
  7. 7. system disk managing device as claimed in claim 6, it is characterised in that the backup module is used to read the system The data of system disk storage, using the data read as the data in magnetic disk;Or monitor the disk mirror of the system disk As file, using the disk mirroring file as the data in magnetic disk.
  8. 8. system disk managing device as claimed in claim 6, it is characterised in that the backup module is used to work as the disk When data are newly-increased data, using incremental mode, the memory mirror file of the generation newly-increased data;Or when the disk Data is when updating the data, using differential mode, the memory mirror file that is updated the data described in generation.
  9. 9. system disk managing device as claimed in claim 6, it is characterised in that the recovery module, which is used to monitor, is used for table Sign recovers the recovery message of the system disk, and when listening to the recovery message, the memory mirror file is written back to System disk after renewal, image file is generated, decompresses the image file.
  10. 10. the system disk managing device as described in any one of claim 6 to 9, it is characterised in that the recovery module is also used Be used to characterizing the new information for updating the system disk in monitoring, the renewal system disk include more renewing disk or Person repairs disk, when listening to the new information, read-write operation of the shielding internal memory to the system disk.
  11. 11. a kind of terminal, it is characterised in that including system disk, internal memory and as described in any one of claim 6 to 10 System disk managing device.
CN201610682879.1A 2016-08-17 2016-08-17 A kind of system disk management method and device Pending CN107765990A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610682879.1A CN107765990A (en) 2016-08-17 2016-08-17 A kind of system disk management method and device
PCT/CN2017/097505 WO2018033062A1 (en) 2016-08-17 2017-08-15 System disk management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610682879.1A CN107765990A (en) 2016-08-17 2016-08-17 A kind of system disk management method and device

Publications (1)

Publication Number Publication Date
CN107765990A true CN107765990A (en) 2018-03-06

Family

ID=61197250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610682879.1A Pending CN107765990A (en) 2016-08-17 2016-08-17 A kind of system disk management method and device

Country Status (2)

Country Link
CN (1) CN107765990A (en)
WO (1) WO2018033062A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932113A (en) * 2018-06-28 2018-12-04 郑州云海信息技术有限公司 A kind of disk management method, device, equipment and readable storage medium storing program for executing
WO2020119213A1 (en) * 2018-12-11 2020-06-18 海信视像科技股份有限公司 Methods for generating and loading mirror file, and device
WO2022242665A1 (en) * 2021-05-21 2022-11-24 华为技术有限公司 Data storage method and related device
WO2023184875A1 (en) * 2022-03-30 2023-10-05 苏州浪潮智能科技有限公司 Bare metal disk backup method and device, and computer-readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115827323B (en) * 2022-12-01 2024-02-02 摩尔线程智能科技(北京)有限责任公司 Method, apparatus and computer readable medium for restoring files

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545657A (en) * 2001-08-31 2004-11-10 () Method for backing up and recovering data in hard disk of computer
CN1873632A (en) * 2005-06-03 2006-12-06 英业达股份有限公司 Identification system and method for hot plug peripheral unit
CN1940875A (en) * 2005-09-26 2007-04-04 英业达股份有限公司 Fast data standby processing method and system for computer platform
US20070128899A1 (en) * 2003-01-12 2007-06-07 Yaron Mayer System and method for improving the efficiency, comfort, and/or reliability in Operating Systems, such as for example Windows
CN1991777A (en) * 2005-12-27 2007-07-04 英业达股份有限公司 Data prepackage system and method for mirror document
CN101110036A (en) * 2007-08-22 2008-01-23 中兴通讯股份有限公司 Method and device for batch installing operating system
CN103019804A (en) * 2012-12-28 2013-04-03 中国人民解放军国防科学技术大学 VPS (virtual private server) quick migration method for OpenVZ virtualization
CN105353982A (en) * 2015-10-28 2016-02-24 浪潮(北京)电子信息产业有限公司 Data access processing method and apparatus based on circular array

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1297907C (en) * 2003-03-31 2007-01-31 联想(北京)有限公司 Realization method of computer hard disk data restoring and back-up
CN103019890B (en) * 2012-12-24 2015-04-29 清华大学 Block-level disk data protection system and method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545657A (en) * 2001-08-31 2004-11-10 () Method for backing up and recovering data in hard disk of computer
US20070128899A1 (en) * 2003-01-12 2007-06-07 Yaron Mayer System and method for improving the efficiency, comfort, and/or reliability in Operating Systems, such as for example Windows
CN1873632A (en) * 2005-06-03 2006-12-06 英业达股份有限公司 Identification system and method for hot plug peripheral unit
CN1940875A (en) * 2005-09-26 2007-04-04 英业达股份有限公司 Fast data standby processing method and system for computer platform
CN1991777A (en) * 2005-12-27 2007-07-04 英业达股份有限公司 Data prepackage system and method for mirror document
CN101110036A (en) * 2007-08-22 2008-01-23 中兴通讯股份有限公司 Method and device for batch installing operating system
CN103019804A (en) * 2012-12-28 2013-04-03 中国人民解放军国防科学技术大学 VPS (virtual private server) quick migration method for OpenVZ virtualization
CN105353982A (en) * 2015-10-28 2016-02-24 浪潮(北京)电子信息产业有限公司 Data access processing method and apparatus based on circular array

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932113A (en) * 2018-06-28 2018-12-04 郑州云海信息技术有限公司 A kind of disk management method, device, equipment and readable storage medium storing program for executing
WO2020119213A1 (en) * 2018-12-11 2020-06-18 海信视像科技股份有限公司 Methods for generating and loading mirror file, and device
WO2022242665A1 (en) * 2021-05-21 2022-11-24 华为技术有限公司 Data storage method and related device
WO2023184875A1 (en) * 2022-03-30 2023-10-05 苏州浪潮智能科技有限公司 Bare metal disk backup method and device, and computer-readable storage medium

Also Published As

Publication number Publication date
WO2018033062A1 (en) 2018-02-22

Similar Documents

Publication Publication Date Title
CN107765990A (en) A kind of system disk management method and device
US10732888B1 (en) Seamless transitioning among replication modes in a storage system
CN103098016B (en) De-duplication based backup of file systems
US10437671B2 (en) Synchronizing replicated stored data
US9940206B2 (en) Handling failed cluster members when replicating a database between clusters
US8868858B2 (en) Method and apparatus of continuous data backup and access using virtual machines
CN110389858B (en) Method and device for recovering faults of storage device
US11144405B2 (en) Optimizing database migration in high availability and disaster recovery computing environments
CN103810058A (en) Backup method, equipment and system for virtual machine
CN102667711A (en) Virtual database system
CN110321339B (en) Data migration method, device, equipment and storage medium
US20230004330A1 (en) Sizing A Virtual Storage System
CN109086425B (en) Data processing method and device for database
US11550677B2 (en) Client-less database system recovery
CN103619008A (en) System and method for performing backup and restoration on data
WO2024103977A1 (en) Metadata configuration method and apparatus, and nonvolatile readable storage medium
CN106815096A (en) A kind of data managing method and device
CN110188068A (en) A kind of volume grade backup method and device guaranteeing file system data consistency
CN104615511A (en) Host batch recovery processing method and device based on double centers
CN113886143A (en) Virtual machine continuous data protection method and device and data recovery method and device
CN107066346A (en) A kind of data back up method, data reconstruction method and device
CN115955488A (en) Distributed storage copy cross-computer room placement method and device based on copy redundancy
CN105871987A (en) High available system and method for data writing
CN115080309A (en) Data backup system, method, storage medium, and electronic device
CN112256201A (en) Distributed block storage system and volume information management method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180306