Systems and methods for processing instructions while repairing and providing access to a copied volume of data
AssigneeCirrus Data Solutions, Inc.
InventorsWai Lam, Wayne Lam
Life of this patent
Estimating the term…
Abstract
A volume of data is copied from a first location to a second location. A procedure to repair a volume of data is initiated. A first instruction associated with the repair procedure is selectively redirected to a staging storage, based on a determination that the first instruction relates to an action that makes a change to the volume. A second instruction is selectively redirected to one of the staging storage and the volume, based on data stored in the staging storage.
Claims8
A method of copying and providing access to a copied volume of data, the method comprising:
- copying a first volume stored at a first location, the first volume comprising a first plurality of blocks, to a second volume stored at a second location, the second volume comprising a second plurality of blocks;
- generating a staging storage having a plurality of records corresponding to the second plurality of blocks;
- receiving, during a repair procedure, a first instruction to write specified data to a first specified block of the second volume;
- writing the specified data to a record of the staging storage that corresponds to the first specified block, in response to the first instruction;
- mounting the second volume after completion of the repair operation;
- receiving a second instruction to read data from the first specified block of the second volume;
- determining that the record of the staging storage includes valid data;
- and
- reading the specified data from the record of the staging storage, in response to determining that the record of the staging storage includes valid data.
A method of repairing and providing access to a volume of data, the method comprising:
- initiating a procedure to repair a volume of data;
- selectively redirecting a first instruction associated with the repair procedure to a staging storage, based on a determination that the first instruction relates to an action that makes a change to the volume;
- selectively redirecting a second instruction to one of the staging storage and the volume, based on data stored in the staging storage;
- selectively redirecting the first instruction to the staging storage, based on a determination that the first instruction comprises an instruction to write specified data to a specified block of the volume;
- and
- writing the specified data to a record of the staging storage that corresponds to the specified block;
- wherein the second instruction comprises an instruction to read data from a second specified block of the volume, the method further comprising:
- redirecting the second instruction to the staging storage, if a second record in the staging storage that corresponds to the second specified block includes valid data;
- and
- redirecting the second instruction to the volume, if the second record does not include valid data.
A device comprising:
- a memory storing computer program instructions;
- and
- a processor configured to execute the computer program instructions which, when executed on the processor, cause the processor to perform operations comprising:
- initiating a procedure to repair a volume of data;
- selectively redirecting a first instruction associated with the repair procedure to a staging storage, based on a determination that the first instruction relates to an action that makes a change to the volume;
- selectively redirecting a second instruction to one of the staging storage and the volume, based on data stored in the staging storage;
- selectively redirecting the first instruction to the staging storage, based on a determination that the first instruction comprises an instruction to write specified data to a specified block of the volume;
- and
- writing the specified data to a record of the staging storage that corresponds to the specified block;
- wherein the second instruction comprises an instruction to read data from a second specified block of the volume, the operations further comprising:
- redirecting the second instruction to the staging storage, if a second record in the staging storage that corresponds to the second specified block includes valid data;
- and
- redirecting the second instruction to the volume, if the second record does not include valid data.
An apparatus comprising:
- means for initiating a procedure to repair a volume of data;
- means for selectively redirecting a first instruction associated with the repair procedure to a staging storage, based on a determination that the first instruction relates to an action that makes a change to the volume;
- means for selectively redirecting a second instruction to one of the staging storage and the volume, based on data stored in the staging storage;
- means for selectively redirecting the first instruction to the staging storage, based on a determination that the first instruction comprises an instruction to write specified data to a specified block of the volume;
- and
- means for writing the specified data to a record of the staging storage that corresponds to the specified block;
- wherein the second instruction comprises an instruction to read data from a second specified block of the volume, the apparatus further comprising:
- means for redirecting the second instruction to the staging storage, if a second record in the staging storage that corresponds to the second specified block includes valid data;
- and
- means for redirecting the second instruction to the volume, if the second record does not include valid data.
Dependencies are inferred from the claim text.