Device and method for data recovery in a file system
First Claim
Patent Images
1. A device for data recovery, comprising:
- a flash memory coupled to a computer system and including an area for storing a control structure used by a file system of said computer system;
a nonvolatile memory coupled to said computer system for storing recovery data, with said recovery data including data contained in a recovery step flag and with said nonvolatile memory including a predetermined area for storage of said recovery step flag; and
a processing unit coupled to said flash memory and to said nonvolatile memory and selectively storing in said predetermined area of said nonvolatile memory a mark indicating a position of said recovery step flag corresponding to a specified step of a file management task being executed by said file system, with a corresponding said mark representing completion of a corresponding said specified step of said file management task by said file system.
1 Assignment
0 Petitions
Accused Products
Abstract
A device and method for recovering data in a file system. The method includes the steps of performing a given function that effects a change in a control structure of the file system and concurrently saving data relevant to the function in a state as data for a recovery, and recovering the interrupted function by using the data saved for a recovery, to prevent the loss of file data and maintain the consistency of the file system. The device includes a flash memory to store the control structure.
-
Citations
18 Claims
-
1. A device for data recovery, comprising:
-
a flash memory coupled to a computer system and including an area for storing a control structure used by a file system of said computer system; a nonvolatile memory coupled to said computer system for storing recovery data, with said recovery data including data contained in a recovery step flag and with said nonvolatile memory including a predetermined area for storage of said recovery step flag; and a processing unit coupled to said flash memory and to said nonvolatile memory and selectively storing in said predetermined area of said nonvolatile memory a mark indicating a position of said recovery step flag corresponding to a specified step of a file management task being executed by said file system, with a corresponding said mark representing completion of a corresponding said specified step of said file management task by said file system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for recovering data, comprising the steps of:
-
performing a specified step of a file management task for a file system of a computer system, with said file management task effecting a change to a control structure of said file system and being defined by a predetermined procedure including said specified step; storing in a predetermined area of a nonvolatile memory a mark indicating a position of a recovery step flag stored in said predetermined area, with said position corresponding to a corresponding said specified step, with a corresponding said mark representing completion of a corresponding said specified step, and with said nonvolatile memory being coupled to said computer system; and re-entering said predetermined procedure at a step subsequent to a last completed said specified step indicated by a corresponding said mark and completing said file management task to effect said change to said control structure when a restart event interrupts said file management task after a corresponding said mark has been stored. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18)
-
Specification