[go: up one dir, main page]

CN111367466B - Disk retirement method and device - Google Patents

Disk retirement method and device Download PDF

Info

Publication number
CN111367466B
CN111367466B CN201811603251.3A CN201811603251A CN111367466B CN 111367466 B CN111367466 B CN 111367466B CN 201811603251 A CN201811603251 A CN 201811603251A CN 111367466 B CN111367466 B CN 111367466B
Authority
CN
China
Prior art keywords
disk
data
marked
migrated
block
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.)
Active
Application number
CN201811603251.3A
Other languages
Chinese (zh)
Other versions
CN111367466A (en
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.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201811603251.3A priority Critical patent/CN111367466B/en
Publication of CN111367466A publication Critical patent/CN111367466A/en
Application granted granted Critical
Publication of CN111367466B publication Critical patent/CN111367466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0614Improving the reliability of storage systems
    • G06F3/0616Improving the reliability of storage systems in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a disk retirement method, which comprises the steps of counting the total number N of disks to be marked which are not marked as retired state by monitoring the use time T1 of the disks in real time, counting the current use time T1 which is larger than a first preset time T2, determining a numerical value M based on the difference value between the total number N and the use time T1, judging whether M is larger than or equal to 1, marking the state of the current corresponding use time T1 of the N disks to be marked as a retired state from long to short in the N disks to be marked as the retired state, migrating the data in the disks marked as the retired state to a target disk, and updating the disk state of the retired state as the retired state when the data in the disks in the retired state are completely migrated. By the disc retirement method, the disc which uses a certain working time is retired according to a plan, so that the problem of data loss caused by damage of a large number of discs due to service life of the disc is solved.

Description

Disk retirement method and device
Technical Field
The invention relates to the technical field of computers, in particular to a disk retirement method and a disk retirement system.
Background
A server is a device for providing computing services for a computer, and the server is similar to a general-purpose computer architecture in terms of processing capacity, stability, reliability, security, scalability, manageability, etc. because of the need to provide highly reliable services. The hard disk in a server is also called a magnetic disk, in a server, at least hundreds of magnetic disks, more than thousands of magnetic disks, a large amount of data information is stored in the magnetic disks, and the server provides services for users by using the data information.
However, when a disk is used for three years, damage occurs to the disk, and at least hundreds of disks, and thousands of disks exist in a server, if a new disk is replaced after the disk is used for three years, the disk may be damaged collectively when the disk is about to be used for three years, and data stored in the disk is lost due to untimely transfer.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a method and a system for disk retirement, which are used for retireing disks in a server to prevent the data loss in the disks due to collective damage of the disks.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
the first aspect discloses a disk retirement method, comprising:
the method comprises the steps of monitoring the using time T1 of a magnetic disk in real time, wherein the using time T1 is a time difference value between the current system time and the first online time of the magnetic disk;
counting the total number N of the magnetic disks to be marked which are not marked as retired states and are not marked as positive integers with the total number N being more than or equal to 1, wherein the current use time T1 is more than a first preset time T2;
determining a value M based on the total number N, the difference between the disc life time T and the use time T1, wherein,m is a rounded positive integer;
if the value M is greater than or equal to 1, marking the state of M magnetic disks to be marked, which are currently corresponding to the service time T1 from long to short, as a pre-retired state in N magnetic disks to be marked, wherein M is less than or equal to N;
migrating data in the disk marked as the retired state to a target disk;
and when all the data in the disk in the pre-retired state is migrated, updating the disk state in the pre-retired state to be the retired state.
Preferably, the migrating the data in the disk marked as the retired state to the target disk includes:
Acquiring the id of a disk block with a use mark in the disk in the pre-retired state;
determining a disk block to be migrated based on the id and the use flag;
and determining a target disk, and migrating the data in the disk block to be migrated to the target disk, wherein the target disk is a disk which is not marked as a retired state.
Preferably, the determining the target disk, and migrating the data in the disk block to be migrated to the target disk includes:
obtaining a disk which is not marked as a retired state in a preset time interval by using time T1;
determining a disk with an idle disk block in the disk which is not marked as a retired state as a target disk;
determining that the disk block to which the data in the disk block to be migrated belongs is a disk block to be migrated, and migrating the data in the disk block to be migrated to the idle disk block;
and replacing the id of the disk block to be migrated in the disk block list with the id of the idle disk block.
Preferably, the method further comprises:
reading data in the disk in the pre-retired state in the process of migrating the data in the disk marked in the pre-retired state to a target disk;
Determining whether data in the disk in the retired state is migrated;
if the data is migrated, the data is read from a target disk block to which the data is migrated;
and if the data is being migrated or the data is not migrated, reading the data in the disk in the retired state.
Preferably, the method further comprises:
in the process of migrating the data in the disk marked as the pre-retired state to the target disk, if the disk in the pre-retired state is damaged, acquiring the id of a disk block with a use mark in the disk in the pre-retired state;
acquiring original data and coded data corresponding to the disk block with the use mark from a backup disk based on the id;
generating data to be migrated corresponding to the disk block with the use mark based on the original data and the encoded data;
and determining a target disk, and storing the data to be migrated into the target disk, wherein the target disk is a disk to be marked which is not marked as a retired state.
Preferably, the method further comprises:
in the process of migrating the data in the disk marked as the pre-retired state to the target disk, if the disk block of the data to be migrated in the disk in the pre-retired state is damaged, acquiring the id of the damaged disk block, and acquiring the original data and the coded data corresponding to the damaged disk block in the backup disk based on the id;
Generating migration data corresponding to the damaged disk block based on the original data and the encoded data;
and determining a target disk, and storing the migration data into the target disk, wherein the target disk is a disk to be marked which is not marked as a retired state.
A second aspect discloses a disk retirement system comprising:
the monitoring module is used for monitoring the use time T1 of the magnetic disk in real time, wherein the use time T1 is the time difference between the current system time and the first online time of the magnetic disk;
the counting module is used for counting the total number N of the magnetic disks to be marked which are not marked as retired states and the current use time T1 is larger than a first preset time T2, wherein N is a positive integer which is larger than or equal to 1;
an acquisition module for determining a value M based on the total number N, the difference between the disk life time T and the use time T1, wherein,m is a rounded positive integer;
the marking module is used for marking the state of M magnetic disks to be marked from long to short in the current corresponding service time T1 as a retired state in N magnetic disks to be marked if the numerical value M is equal to 1, wherein M is smaller than or equal to N;
the migration module is used for migrating the data in the disk marked as the retired state to a target disk;
And the updating module is used for updating the disk state of the pre-retired state into the retired state when all data in the disk of the pre-retired state is migrated.
Preferably, the migration module includes:
an obtaining unit, configured to obtain an id of a disk block with a use flag in the disk in the retired state;
a first determining unit configured to determine a disk block to be migrated based on the id and the use flag;
and the second determining unit is used for determining a target disk, and migrating the data in the disk block to be migrated to the target disk, wherein the target disk is not marked as a disk in a retired state.
Preferably, the second determining unit includes:
an acquisition subunit, configured to acquire a disk that is not marked as a retired state in a preset time interval during a use time T1;
a first determining subunit, configured to determine, as a target disk, a disk with an idle disk block in the disk that is not marked as a retired state;
a second determining subunit, configured to determine that a disk block to which data in the disk block to be migrated belongs is a disk block to be migrated, and migrate the data in the disk block to be migrated to the idle disk block;
And the processing subunit is used for replacing the id of the disk block to be migrated in the disk block list with the id of the idle disk block.
Preferably, the method further comprises:
a determining unit, configured to determine, when data in the disk in the retired state is read during a process of migrating data in the disk in the retired state to a target disk, whether the data in the disk in the retired state is migrated, if the data is migrated, execute a first reading unit, and if the data is being migrated or the data is not migrated, execute a second reading unit;
the first reading unit is used for reading the data in the target disk block to which the data are migrated;
and the second reading unit is used for reading the data in the disk in the pre-retired state.
As can be seen from the above, in the disk retirement method and system according to the present invention, the time difference between the current system time and the first time of the disk on-line time is monitored in real time, the time difference between the current system time and the first time of the disk on-line time is monitored, the current time T1 is counted and is greater than the first preset time T2, the total number N of the disks to be marked, which are not marked as retired, is a positive integer greater than or equal to 1, the value M is determined based on the difference between the total number N, the disk life time T and the time T1, and then whether the value M is greater than or equal to 1 is determined, if the value M is greater than or equal to 1, in the N disks to be marked, the state of the disk to be marked which is currently corresponding to the time T1 from long to short is marked as a retired state, and then the data in the disk to be marked as retired state is migrated to the target, and when the data in the retired state is completed, the disk to be in the retired state is updated as the retired state. By the disc retirement method, the disc which uses a certain working time is retired according to a plan, so that the problem of data loss caused by damage of a large number of discs due to service life of the disc is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for retirement of a disk according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for disk retirement according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for disk retirement according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for disk retirement according to an embodiment of the present invention;
FIG. 5 is a flowchart of another method for disk retirement according to an embodiment of the present invention;
FIG. 6 is a flowchart of another method for disk retirement according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a disk retirement system according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another embodiment of a disk retirement system;
FIG. 9 is a schematic diagram of another embodiment of a disk retirement system;
FIG. 10 is a schematic diagram of another embodiment of a disk retirement system.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the present disclosure, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the invention provides a method for retirement of a disk, and a flow chart of the method is shown in fig. 1, and the method at least comprises the following steps:
step S101: the use time T1 of the disk is monitored in real time.
The usage time T1 is a time difference between a current system time and a first time on-line time of the disk, and is usually in days. The use time T1 is a dynamic time. For example, when the first time the disk is on-line is 1 day of 12 months in 2018 and the current system time is 6 days of 12 months in 2018, the usage time T1 monitored in real time in step S101 is 5 days. And continuing to monitor, and after continuing to use for one day, that is, until the current system time is 2018, 12, 7 days, the current monitored use time T1 of the magnetic disk is 6 days.
It should be noted that, all disks in the storage server cluster are uniformly managed in an information management module, where the information management module includes disk numbers disk of physical devices of all disks, servers ip and port, retirement marks, and online time. Wherein, the disk id is uniformly allocated with a unique id from disk management when the disk is first on line. The disk disc is recorded in the disk, and if the disk is on line, a management program corresponding to the disk reports the disk id, the ip and the port of the server to the information management module. Therefore, the use time of the disk can be monitored in real time through the current system time and the first online time of the disk recorded in the information management module.
Step S102: counting the total number N of the magnetic disks to be marked which are not marked as the pre-retired state and are not marked as the positive integers of which the total number N is more than or equal to 1, wherein the current use time T1 is more than the first preset time T2.
It should be noted that, the first preset time T2 is set according to the service life of the disks and the number of the disks in the storage server cluster, and in the present invention, the time unit is preferably, but not limited to, days. Counting the total number N of the to-be-marked disks which are not marked as the retired state when the current use time T1 is larger than the first preset time T2, wherein the disks marked as the retired state do not need to be counted because the disks for storing data are not stored in the disks marked as the retired state in the invention.
Step S103: based on the total number N, the difference between the disk life time T and the use time T1, a numerical value M is obtained by using a formula (1).
The formula (1) is:
(1)
it should be noted that, the lifetime T of the disk refers to the time that the disk can be actually used, that is, the lifetime of the disk. T-T1 is obtained as the remaining life of the disk, N is divided by the difference of T-T1, if a value larger than or equal to 1 is obtained, the value is rounded to obtain a value M, wherein M is the number of disks needing to be retired in the current day of the remaining life of the disk, the number of disks retired in the current day can be understood as the number of disks retired in the current day, the retiring can be carried out before the arrival of the disk life reaches the preset time, the workload of a storage server cluster system is reduced, and the occurrence of the event that a plurality of disks are damaged together can be prevented.
For ease of understanding, the following is illustrative.
For example, in a disk group, the first preset time T2 is 548 days, the service time of the disk is 1094 days, the service life T of the disk is 1096 days, the difference between the service time T of the disk and the service time T1 is 1096-1094=2, and if the number N of disks greater than 548 days is 7, the number N of disks is divided by 2, so as to obtain a non-integer number 3.5, and the number 3 is obtained after rounding 3.5, even if the number of disks retired on the same day is required, namely the number M.
Step S104: and judging whether M is greater than or equal to 1, returning to the step S101 if M is less than 1, and executing the step S106 if M is greater than or equal to 1.
It should be noted that, M is greater than or equal to 1, it is indicated that there are more than T2 disks to retire in the first preset time T2; m is less than 1, it indicates that there are no disks to retire or a small number of disks to retire in the first preset time T2. Because there are no disks to be retired or the number of disks to be retired is small, there is no need to retire the online disks, if the disks reaching the preset time are damaged in the running process, the storage server cluster can restore the data in the damaged disk through other backup disks.
The storage server cluster adopts a distributed storage system, and the system is a backup system or a coding system, namely, the system can recover through the data information in other disk blocks according to the data block information in the damaged disk.
Step S105: and marking the states of M magnetic disks to be marked from long to short corresponding to the current using time T1 as a retired state in the N magnetic disks to be marked, wherein M is less than or equal to N.
It should be noted that, since the lifetime of a disk is limited, and the longest line time also represents the most vulnerable, it is necessary to select the disk that needs to be retired for retirement with the longest line time.
Step S106: and migrating the data in the disk marked as the retired state to a target disk.
It should be noted that, the meaning of the existence of the disk itself is that the data is stored, and in the present invention, the disk storing the data needs to be retired, so that the data needs to be migrated to another disk before the disk is retired, so as to ensure that the data is not lost.
Step S107: and when all the data in the disk in the pre-retired state is migrated, updating the disk state in the pre-retired state to be the retired state.
There are several disk blocks in a disk, so when the data in these several disk blocks are needed to be migrated, the data in the disk is migrated completely, and the disk state of the retired state is updated to be the retired state.
It should be noted that, since the disk marked as the pre-retired state is itself at a damaged edge, the data of the disk in the pre-retired state cannot be stored into the disk in the pre-retired state, and in order to avoid storing the data into the disk in the pre-retired state, the disk in the pre-retired state is marked as a retired disk after all the data in the disk in the pre-retired state is migrated, so that the data is prevented from being stored into the disk.
According to the embodiment of the invention, the use time T1 of the disk is monitored in real time, wherein the use time T1 is the time difference between the current system time and the first online time of the disk; counting the total number N of the magnetic disks to be marked which are not marked as retired states and are not marked as positive integers with the total number N being more than or equal to 1, wherein the current use time T1 is more than a first preset time T2; determining a numerical value M based on the total number N and the difference value between the disc life time T and the use time T1, judging whether the M is greater than or equal to 1, and if the numerical value M is greater than or equal to 1, marking the state of M discs to be marked, which are currently corresponding to the use time T1 from long to short, as a retired state in the N discs to be marked; migrating data in the disk marked as the retired state to a target disk; and when all the data in the disk in the pre-retired state is migrated, updating the disk state in the pre-retired state to be the retired state. By the disc retirement method, the disc which uses a certain working time is retired according to a plan, so that the problem of data loss caused by damage of a large number of discs due to service life of the disc is solved.
Based on the disk retirement method disclosed in the embodiment of the present invention, the specific implementation process of step S106 shown in fig. 1, as shown in fig. 2, includes the following steps:
step S201: and obtaining the id of the disk block with the use mark in the disk in the pre-retired state.
It should be noted that, when each disk is divided into a plurality of disk blocks and the disk is initialized, all the disk blocks in the disk are numbered sequentially, and the number of the largest disk block is the number-1 of the disk blocks, the number of the disk block is the id of the disk, and the id of the disk is stored in the information management module.
The information management module comprises an id of a disk block, a use flag and a file identifier, if one disk block is used, the use flag of the disk block is used, the file identifier is set to be the id of a corresponding file, if the file corresponding to the file id is deleted, the data block is also set to be in an initialized state, the use flag is set to be 0, and the file identifier is set to be 0.
Step S202: and determining a disk block to be migrated based on the id and the use flag.
It should be noted that, since the information of all the disk blocks is stored in the information management module, the disk block corresponding to the id can be found in the information management module through the id, so as to determine the disk block to be migrated.
Step S203: and determining a target disk, and migrating the data in the disk block to be migrated to the target disk, wherein the target disk is a disk which is not marked as a retired state.
It should be noted that, in the present invention, the disk marked as the retired state is a disk that needs to be retired immediately, if the target disk is a disk marked as the retired state, and there are two or more disks that need to be retired on the same day, the migration of the data marked as the retired state to another disk marked as the retired state is a dead cycle process, and the object of the present invention cannot be achieved. Thus, the target disk must not be a disk that is marked as a retired state.
In executing step S203, as shown in fig. 3, the specific implementation procedure includes the following steps:
step S301: and acquiring the disk which is not marked as a retired state in the using time T1 in a preset time interval.
It should be noted that, the present invention is built in a disk set having a large number of disks, such as a storage server cluster, and there are a large number of disks that are not marked as retired, but there may be a large number of disks that are not marked as retired on the open day. Therefore, it is necessary to find a suitable disk among the disks not marked as the retired state as a target disk, that is, a disk whose use time is within a predetermined time interval.
The predetermined time interval is a use time interval, and the time interval is necessarily within the service life of the magnetic disk, so as to facilitate understanding, and will be illustrated below.
For example, in a disk group, there are 100 disks, and the 100 disks are all on-line one disk per day, so in the disk group, the use time of the 100 disks is 0 to 600 days, and if the preset time is 200 to 300 days, then the disk that is not marked as a retired state is selected from 200 to 300 days.
Step S302: and determining the disk with the idle disk block in the disk which is not marked as the retired state as a target disk.
In the case of a large number of unmarked disks in a retired state, there are no free blocks in some of the disks to store data, that is, there are full data stored in some of the disks and other data cannot be stored, so that it is necessary to select a disk having a free block as a target disk.
Step S303: and determining the disk block to which the data in the disk block to be migrated belongs as the disk block to be migrated, and migrating the data in the disk block to be migrated to the idle disk block.
It should be noted that, since there are many disk blocks in the disk, and each disk block separately stores data, it is necessary to migrate the data of the disk block to be migrated to the spare disk block after the disk block to which the data of the disk block to be migrated belongs is the disk block to be migrated.
Step S304: and replacing the id of the disk block to be migrated in the disk block list with the id of the idle disk block.
It should be noted that, in the information management module of the disk blocks, the id of the data file recorded by the id of each disk block in each disk is corresponding, the data in the disk block is migrated to another disk block, and in order to be able to read the migrated data file, the data file stored in the disk block needs to be found by the id of the disk, so that the id of the original disk block in the disk block list in the information management module needs to be replaced by the id of the existing disk block, so that the corresponding data file is found by the id of the disk block.
According to the embodiment of the invention, the id of the disk block with the use mark in the disk in the retired state is obtained, the disk block to be migrated is determined based on the id and the use mark, then the target disk is determined, and the data in the disk block to be migrated is migrated to the target disk, wherein the target disk is not marked as the disk in the retired state. Through the disk retirement method disclosed by the invention, the data in the disk in the retired state is migrated to the target disk.
Based on the above-mentioned method for pre-retiring a disk disclosed in the embodiment of the present invention, in the process of executing step S106 to migrate data in a disk marked as the pre-retiring state to a target disk, if the data in the disk in the pre-retiring state needs to be read, the embodiment of the present invention also correspondingly discloses a corresponding process of reading the data in the disk in the pre-retiring state, as shown in fig. 4, including the following steps:
step S401: determining whether the data in the disk in the retired state is migrated, if the data is migrated, executing step S402, and if the data is being migrated or the data is not migrated, executing step S403.
It should be noted that, when the disk in the retired state is being retired, the user reads the data, and after the data is migrated, the original disk block is in a non-data state, so that the user cannot acquire the data in the original disk block through the id of the original disk block. It is therefore necessary to determine whether the disk read by the user migrates to determine in which disk block the user acquired the data.
Step S402: and reading the data in the target disk block to which the data is migrated.
It should be noted that, since the data in the disk block has been migrated, the disk block id corresponding to the data file in the disk block list has been replaced with the id of the new disk block, so that the corresponding data file in the disk block can be read by the id of the new disk, that is, the data is read in the target disk.
Step S403: and reading the data in the disk in the retired state.
It should be noted that, because the data is being migrated or the data is not migrated, the disk block id corresponding to the data file in the disk block list is unchanged, the data corresponding to the disk block id may be stored in the original disk block or may be stored in a new disk block, if the data corresponding to the disk block id is stored in the original disk block, the data may be directly obtained through the disk block id, and if the data corresponding to the disk block id is stored in the new disk block, the new disk block id may be found through the id of the original disk block, and the data stored in the new disk block may be obtained, that is, the data may be read in the disk in the retired state.
According to the embodiment of the invention, whether the data in the disk in the retired state is migrated is judged, and if the data is migrated, the data is read from a target disk block to which the data is migrated; and if the data is being migrated or the data is not migrated, reading the data in the disk in the retired state. By reading the data in the disk in the pre-retired state in the disk retirement process, the data in the disk in the pre-retired state can be read in the disk retirement process.
Based on the above-mentioned method for pre-retiring a disk disclosed in the embodiment of the present invention, in the process of executing step S106 to migrate data in a disk marked as the pre-retiring state to a target disk, if the disk in the pre-retiring state is damaged, the embodiment of the present invention also correspondingly discloses a data migration process of the damaged disk in the corresponding pre-retiring state, as shown in fig. 5, including the following steps:
step S501: and obtaining the id of the disk block with the use mark in the disk in the pre-retired state.
It should be noted that, due to the inconsistent life of the disk, the disk may be damaged during the disk retirement process, so that in order to avoid the data loss in the disk, the data in the disk needs to be recovered, and there are multiple disk blocks in the disk, where there are used disk blocks in the multiple disk blocks, there are unused disk blocks, and there are using marks in the used disk blocks, where the data is stored. Therefore, it is necessary to acquire the disk block id with the use flag in the disk in the retired state first.
Step S502: and acquiring the original data and the coded data corresponding to the disk block with the use mark from the backup disk based on the id.
It should be noted that, in the storage server cluster, a backup system or an encoding system is adopted, that is, data in a disk block of lost data is recovered by data of other disk blocks, a data file id corresponding to an id of each disk block is stored in a disk block list, an id of a backup disk block corresponding to the file id is also stored, and in the backup disk block, data corresponding to original data and encoded data in the disk block or a data copy in the disk block is stored.
The coding system is to code a group of original data to obtain coded data, divide the original data and the coded data into a plurality of parts and store the parts in different disk blocks of different disks.
The backup system is to copy the original data and the coded data into multiple copies and store the copies in different disk blocks of different disks.
Step S503: and generating data to be migrated corresponding to the disk block with the use mark based on the original data and the coded data.
It should be noted that, generating the data to be migrated corresponding to the disc block with the use flag by the original data and the encoded data is in the prior art, and no further description is given here.
Step S504: and determining a target disk, and storing the data to be migrated into the target disk, wherein the target disk is a disk to be marked which is not marked as a retired state.
It should be noted that the execution and specific execution of step S504 are the same as the execution principle and specific implementation of step S203 shown in fig. 2, and reference is made to the corresponding description above, and no further description is given here.
According to the embodiment of the invention, the id of the disk block with the use mark in the disk in the pre-retired state is obtained, then the original data and the coded data corresponding to the disk block with the use mark are obtained in the backup disk based on the id, then the data to be migrated corresponding to the disk block with the use mark is generated based on the original data and the coded data, finally a target disk is determined, the data to be migrated is stored in the target disk, and the target disk is the disk to be marked which is not marked in the retired state. By the disc retirement method, the original data and the coded data of the damaged disc are obtained from the backup disc, and the data in the damaged disc is generated, so that the problem of data loss caused by the damage of the target disc in the process of migrating the data in the disc marked as the retired state to the target disc can be solved.
Based on the above-mentioned method for pre-retiring a disk disclosed in the embodiment of the present invention, in the process of executing step S106 to migrate data in a disk marked in the pre-retiring state to a target disk, if a disk block of data to be migrated in the disk marked in the pre-retiring state is damaged, the embodiment of the present invention also correspondingly discloses a data migration process of a corresponding damaged disk block of data to be migrated, as shown in fig. 6, the process of migrating data in a disk marked in the pre-retiring state to a target disk includes the following steps:
Step S601: and acquiring the id of the damaged disk block, and acquiring the original data and the coded data corresponding to the damaged disk block in the backup disk based on the id.
It should be noted that, due to the life of the disk block, there may be damage to the disk block in the disk during the disk retirement process, and in order to avoid the data loss in the disk block, the data in the disk block needs to be recovered, so that the id of the disk block needs to be obtained first, and the original data and the encoded data corresponding to the damaged disk block need to be obtained in the backup disk through the id of the disk block.
Step S602: and generating migration data corresponding to the damaged disk block based on the original data and the encoded data.
Step S603: and determining a target disk, and storing the migration data into the target disk, wherein the target disk is a disk to be marked which is not marked as a retired state.
It should be noted that the execution and specific execution of step S602 and step S603 are the same as the execution principle and specific implementation of step S502 and step S503 shown in fig. 5, and reference should be made to the corresponding descriptions above, and no further description is given here.
According to the embodiment of the invention, the id of the damaged disk block is obtained, the original data and the coded data corresponding to the damaged disk block are obtained in the backup disk based on the id, the migration data corresponding to the damaged disk block is generated based on the original data and the coded data, then a target disk is determined, the migration data is stored in the target disk, and the target disk is a disk to be marked which is not marked as a retired state. By the disc retirement method, the original data and the coded data of the damaged disc blocks are obtained from the backup disc, and the data in the damaged disc blocks are generated, so that the problem of data loss caused by disc block damage in the target disc in the process of migrating the data in the disc marked as the retired state to the target disc can be solved.
Based on the above-mentioned method for pre-retiring a disk disclosed in the embodiment of the present invention, the embodiment of the present invention also correspondingly discloses a system for pre-retiring a disk, as shown in fig. 7, where the system for pre-retiring a disk mainly includes:
the monitoring module 701 is configured to monitor a usage time T1 of a disk in real time, where the usage time T1 is a time difference between a current system time and a first online time of the disk.
The counting module 702 is configured to count the total number N of the disks to be marked that are not marked as retired state, where N is a positive integer greater than or equal to 1, where the current usage time T1 is greater than the first preset time T2.
An obtaining module 703, configured to determine a value M based on the total number N, a difference between the disc lifetime T and the usage time T1, where,and M is a rounded positive integer.
And a marking module 704, configured to mark, in the N to-be-marked disks, the state of M to-be-marked disks from long to short corresponding to the current use time T1 as a retired state, where M is less than or equal to N, if the value M is greater than or equal to 1.
Whether or not M is equal to or greater than 1 may be determined by a separate determination module or by the flag module 705.
And a migration module 705, configured to migrate data in the disk marked as the retired state to a target disk.
And an updating module 706, configured to update the disk state of the retired state to a retired state when all data in the disk of the retired state has been migrated.
Preferably, the migration module 705, as shown in fig. 8, includes:
an obtaining unit 801, configured to obtain an id of a disk block with a use flag in the disk in the retired state.
A first determining unit 802, configured to determine a disk block to be migrated based on the id and the usage flag.
And a second determining unit 803, configured to determine a target disk, and migrate data in the disk block to be migrated to the target disk, where the target disk is a disk that is not marked as a retired state.
Preferably, the second determining unit 803, as shown in fig. 9, includes:
an obtaining subunit 901, configured to obtain a disk that is not marked as a retired state during a preset time interval during the use time T1.
A first determining subunit 902, configured to determine, as a target disk, a disk with a free disk block in the disk that is not marked as a retired state.
A second determining subunit 903 is configured to determine that a disk block to which data in the disk block to be migrated belongs is a disk block to be migrated, and migrate the data in the disk block to be migrated to the spare disk block.
And the processing subunit 904 is configured to replace the id of the disk block to be migrated in the disk block list with the id of the free disk block.
Preferably, the disk retirement system, as shown in fig. 10, further includes:
a determining unit 1001, configured to determine, when data in the disk in the retired state is read during a process of migrating data in the disk marked as the retired state to a target disk, whether the data in the disk in the retired state is migrated, if the data is migrated, execute a first reading unit, and if the data is migrated or the data is not migrated, execute a second reading unit.
A first reading unit 1002, configured to read the data in a target disk block to which the data is migrated.
A second reading unit 1003, configured to read the data from the disk in the retired state.
Preferably, the disk retirement system further comprises:
the first obtaining unit is used for obtaining the id of the disk block with the use mark in the disk in the pre-retired state if the disk in the pre-retired state is damaged in the process of migrating the data in the disk marked in the pre-retired state to the target disk.
And the second acquisition unit is used for acquiring the original data and the coded data corresponding to the disk block with the use mark in the backup disk based on the id.
And the data generation unit is used for generating data to be migrated corresponding to the disk block with the use mark based on the original data and the coded data.
The data storage unit is used for determining a target disk, storing the data to be migrated into the target disk, wherein the target disk is a disk to be marked which is not marked as a retired state.
Preferably, the disk retirement system further comprises:
the obtaining unit is used for obtaining the id of the damaged disk block if the disk block of the data to be migrated in the disk in the pre-retired state is damaged in the process of migrating the data in the disk marked in the pre-retired state to the target disk, and obtaining the original data and the coded data corresponding to the damaged disk block in the backup disk based on the id.
And the data generation unit is used for generating migration data corresponding to the damaged disk block based on the original data and the coded data.
The data storage unit is used for determining a target disk, storing the migration data into the target disk, and enabling the target disk to be a disk to be marked which is not marked as a retired state.
The specific execution principle and execution process of each module and unit in the disk retirement system disclosed in the above embodiment of the present invention are the same as those of the disk retirement method disclosed in the above embodiment of the present invention, and may refer to corresponding parts in the disk retirement method disclosed in the above embodiment of the present invention, and will not be described herein again.
In the embodiment of the invention, the use time T1 of the magnetic disk is monitored in real time through the monitoring module, wherein the use time T1 is the time difference between the current system time and the first online time of the magnetic disk; counting the current use time T1 to be larger than a first preset time T2, and marking the state of M to be marked as a pre-retired state in N to be used for the use time T1, wherein N is a positive integer larger than or equal to 1, determining a numerical value M based on the difference value between the total number N and the disc life time T and the use time T1, judging whether M is larger than or equal to 1, executing a processing module if M is larger than or equal to 1, marking the state of M to be marked from long to short in the current use time T1 as the pre-retired state in N to be used for the disc, migrating the data in the disc marked as the pre-retired state to a target disc, and updating the disc state of the pre-retired state to be the retired state when the data in the disc in the pre-retired state is completely migrated by an updating module. By the disc retirement system, the disc which uses a certain working time is retired according to a plan, so that the problem of data loss caused by damage of a large number of discs due to service life of the disc is solved.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for a system or system embodiment, since it is substantially similar to a method embodiment, the description is relatively simple, with reference to the description of the method embodiment being made in part. The systems and system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of disk retirement, comprising:
the method comprises the steps of monitoring the using time T1 of a magnetic disk in real time, wherein the using time T1 is a time difference value between the current system time and the first online time of the magnetic disk;
counting the total number N of the magnetic disks to be marked which are not marked as retired states and are not marked as positive integers with the total number N being more than or equal to 1, wherein the current use time T1 is more than a first preset time T2;
determining a value M based on the total number N, the difference between the disc life time T and the use time T1, wherein,m is a rounded positive integer;
if the value M is greater than or equal to 1, marking the state of M magnetic disks to be marked, which are currently corresponding to the service time T1 from long to short, as a pre-retired state in N magnetic disks to be marked, wherein M is less than or equal to N;
Migrating data in the disk marked as the retired state to a target disk;
and when all the data in the disk in the pre-retired state is migrated, updating the disk state in the pre-retired state to be the retired state.
2. The method of claim 1, wherein migrating data in the disk marked as the retired state to a target disk comprises:
acquiring the id of a disk block with a use mark in the disk in the pre-retired state;
determining a disk block to be migrated based on the id and the use flag;
and determining a target disk, and migrating the data in the disk block to be migrated to the target disk, wherein the target disk is a disk which is not marked as a retired state.
3. The method of claim 2, wherein the determining a target disk, and migrating data in the disk block to be migrated to the target disk, comprises:
obtaining a disk which is not marked as a retired state in a preset time interval by using time T1;
determining a disk with an idle disk block in the disk which is not marked as a retired state as a target disk;
determining that the disk block to which the data in the disk block to be migrated belongs is a disk block to be migrated, and migrating the data in the disk block to be migrated to the idle disk block;
And replacing the id of the disk block to be migrated in the disk block list with the id of the idle disk block.
4. A method according to any one of claims 1-3, further comprising:
reading data in the disk in the pre-retired state in the process of migrating the data in the disk marked in the pre-retired state to a target disk;
determining whether data in the disk in the retired state is migrated;
if the data is migrated, the data is read from a target disk block to which the data is migrated;
and if the data is being migrated or the data is not migrated, reading the data in the disk in the retired state.
5. A method according to any one of claims 1-3, further comprising:
in the process of migrating the data in the disk marked as the pre-retired state to the target disk, if the disk in the pre-retired state is damaged, acquiring the id of a disk block with a use mark in the disk in the pre-retired state;
acquiring original data and coded data corresponding to the disk block with the use mark from a backup disk based on the id;
generating data to be migrated corresponding to the disk block with the use mark based on the original data and the encoded data;
And determining a target disk, and storing the data to be migrated into the target disk, wherein the target disk is a disk to be marked which is not marked as a retired state.
6. A method according to any one of claims 1-3, further comprising:
in the process of migrating the data in the disk marked as the pre-retired state to the target disk, if the disk block of the data to be migrated in the disk in the pre-retired state is damaged, acquiring the id of the damaged disk block, and acquiring the original data and the coded data corresponding to the damaged disk block in the backup disk based on the id;
generating migration data corresponding to the damaged disk block based on the original data and the encoded data;
and determining a target disk, and storing the migration data into the target disk, wherein the target disk is a disk to be marked which is not marked as a retired state.
7. A disk retirement system, comprising:
the monitoring module is used for monitoring the use time T1 of the magnetic disk in real time, wherein the use time T1 is the time difference between the current system time and the first online time of the magnetic disk;
the counting module is used for counting the total number N of the magnetic disks to be marked which are not marked as retired states and the current use time T1 is larger than a first preset time T2, wherein N is a positive integer which is larger than or equal to 1;
An acquisition module for determining a value M based on the total number N, the difference between the disk life time T and the use time T1, wherein,m is a rounded positive integer;
the marking module is used for marking the state of M magnetic disks to be marked from long to short in the current corresponding service time T1 as a retired state in N magnetic disks to be marked if the numerical value M is equal to 1, wherein M is smaller than or equal to N;
the migration module is used for migrating the data in the disk marked as the retired state to a target disk;
and the updating module is used for updating the disk state of the pre-retired state into the retired state when all data in the disk of the pre-retired state is migrated.
8. The system of claim 7, wherein the migration module comprises:
an obtaining unit, configured to obtain an id of a disk block with a use flag in the disk in the retired state;
a first determining unit configured to determine a disk block to be migrated based on the id and the use flag;
and the second determining unit is used for determining a target disk, and migrating the data in the disk block to be migrated to the target disk, wherein the target disk is not marked as a disk in a retired state.
9. The system according to claim 8, wherein the second determining unit comprises:
an acquisition subunit, configured to acquire a disk that is not marked as a retired state in a preset time interval during a use time T1;
a first determining subunit, configured to determine, as a target disk, a disk with an idle disk block in the disk that is not marked as a retired state;
a second determining subunit, configured to determine that a disk block to which data in the disk block to be migrated belongs is a disk block to be migrated, and migrate the data in the disk block to be migrated to the idle disk block;
and the processing subunit is used for replacing the id of the disk block to be migrated in the disk block list with the id of the idle disk block.
10. The system according to any one of claims 7-9, further comprising:
a determining unit, configured to determine, when data in the disk in the retired state is read during a process of migrating data in the disk in the retired state to a target disk, whether the data in the disk in the retired state is migrated, if the data is migrated, execute a first reading unit, and if the data is being migrated or the data is not migrated, execute a second reading unit;
The first reading unit is used for reading the data in the target disk block to which the data are migrated;
and the second reading unit is used for reading the data in the disk in the pre-retired state.
CN201811603251.3A 2018-12-26 2018-12-26 Disk retirement method and device Active CN111367466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811603251.3A CN111367466B (en) 2018-12-26 2018-12-26 Disk retirement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811603251.3A CN111367466B (en) 2018-12-26 2018-12-26 Disk retirement method and device

Publications (2)

Publication Number Publication Date
CN111367466A CN111367466A (en) 2020-07-03
CN111367466B true CN111367466B (en) 2023-08-15

Family

ID=71209020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811603251.3A Active CN111367466B (en) 2018-12-26 2018-12-26 Disk retirement method and device

Country Status (1)

Country Link
CN (1) CN111367466B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10199118A (en) * 1997-01-10 1998-07-31 Sony Corp Data recording and reproducing device and lifetime control method for hard disk drive
CN101689130A (en) * 2006-12-06 2010-03-31 弗森多系统公司(dba弗森-艾奥) Device, system and method for storing data using progressive RAID
CN102147714A (en) * 2011-03-17 2011-08-10 杭州宏杉科技有限公司 Management method and management device of network storage system
CN104461824A (en) * 2014-12-01 2015-03-25 北京同有飞骥科技股份有限公司 Magnetic disk health information optimal management method and device
WO2015042778A1 (en) * 2013-09-24 2015-04-02 华为技术有限公司 Data migration method, data migration apparatus and storage device
US9250823B1 (en) * 2014-05-20 2016-02-02 Emc Corporation Online replacement of physical storage in a virtual storage system
CN107799157A (en) * 2017-11-24 2018-03-13 苏州韦科韬信息技术有限公司 A kind of method for refreshing data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4651913B2 (en) * 2003-02-17 2011-03-16 株式会社日立製作所 Storage system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10199118A (en) * 1997-01-10 1998-07-31 Sony Corp Data recording and reproducing device and lifetime control method for hard disk drive
CN101689130A (en) * 2006-12-06 2010-03-31 弗森多系统公司(dba弗森-艾奥) Device, system and method for storing data using progressive RAID
CN102147714A (en) * 2011-03-17 2011-08-10 杭州宏杉科技有限公司 Management method and management device of network storage system
WO2015042778A1 (en) * 2013-09-24 2015-04-02 华为技术有限公司 Data migration method, data migration apparatus and storage device
US9250823B1 (en) * 2014-05-20 2016-02-02 Emc Corporation Online replacement of physical storage in a virtual storage system
CN104461824A (en) * 2014-12-01 2015-03-25 北京同有飞骥科技股份有限公司 Magnetic disk health information optimal management method and device
CN107799157A (en) * 2017-11-24 2018-03-13 苏州韦科韬信息技术有限公司 A kind of method for refreshing data

Also Published As

Publication number Publication date
CN111367466A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
US12222901B2 (en) Programmatically choosing preferred storage parameters for files in large-scale distributed storage systems
US10467105B2 (en) Chained replication techniques for large-scale data streams
US10795905B2 (en) Data stream ingestion and persistence techniques
US10691716B2 (en) Dynamic partitioning techniques for data streams
US10635644B2 (en) Partition-based data stream processing framework
US9794135B2 (en) Managed service for acquisition, storage and consumption of large-scale data streams
US11210183B2 (en) Memory health tracking for differentiated data recovery configurations
US9276959B2 (en) Client-configurable security options for data streams
CA2930026C (en) Data stream ingestion and persistence techniques
CN114995771B (en) Redundant array of independent disks format scheduling method, device, equipment and medium
CN115756955A (en) Data backup and data recovery method and device and computer equipment
CN111104051A (en) Method, apparatus and computer program product for managing a storage system
US9411817B2 (en) Programmatically choosing preferred storage parameters for files in large-scale distributed storage systems based on desired file reliability or availability
US10909094B1 (en) Migration scheduling for fast-mutating metadata records
CN113157645A (en) Cluster data migration method, device, equipment and storage medium
CN113254271B (en) Data sequence recovery method, device, equipment and storage medium
CN111367466B (en) Disk retirement method and device
US11074002B2 (en) Object storage system with meta object replication
US11093465B2 (en) Object storage system with versioned meta objects
CN111857560A (en) Method, apparatus and computer program product for managing data
CN116401122A (en) Method, system, device and medium for processing node faults of distributed storage system
US10936225B1 (en) Version history of files inside a backup
CN115878381A (en) Data recovery method and device based on SRM disc, storage medium and electronic device
CN115543919A (en) Archive processing method and device, computer equipment and storage medium
CN114138187A (en) Method and device for managing volume mapping copy service plug-in timed snapshot volumes

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
GR01 Patent grant
GR01 Patent grant