Recovery of in-core disk data
AssigneeAT&T Bell Laboratories
InventorsDaniel E. Lutz, Jorge D. Penaranda
Life of this patent
Estimating the term…
Abstract
Upon a computer system crash, the operating system writes data such as stored in an in-core disk to an external nonvolatile disk drive. During a reboot of the system, volatile memory is cleared; and the location of the stored user data in the nonvolatile disk drive is determined. The location of the in-core disk in the nonvolatile disk drive is identified and the in-core disk's data is written back to memory, thereby preventing the loss of the user data due to a system crash.
Claims10
In a computer system having a processor, an operating system, volatile random access core memory, nonvolatile storage device, and a first portion of the core memory (ICD memory) partitioned to function as an in-core disk that controls the storing and retrieving of data, the operating system having an in-core disk driver containing a beginning and end address of the ICD memory and other conventional information for enabling data to be written to and read from the ICD memory in the same way data is written to and read from a disk drive device, a computer implemented method for recovering X data stored in said ICD memory comprising the steps of:
- the operating system monitoring for a system crash;
- upon a system crash determination, the operating system causing at least the X data stored in said ICD memory and driver data stored in said in-core disk driver to be written to the nonvolatile (NV) storage device which comprises a disk drive;
- initializing said core memory;
- reloading said operating system;
- said operating system locating said in-core disk driver data in the nonvolatile storage device;
- said operating system recovering the beginning and end address of the ICD memory from the driver data located in the NV storage device and restoring said in-core disk driver data;
- restoring said X data stored in the NV storage device in ICD memory defined by said beginning and end addresses, thereby preventing the loss of the in-core disk data in the event of a system crash.
In a computer system having a processor, an operating system, volatile random access core memory, nonvolatile storage device, and a first portion of the core memory (ICD memory) partitioned to function as an in-core disk that controls the storing and retrieving of data, the operating system having an in-core disk driver containing a beginning and end address of the ICD memory and other conventional information for enabling data to be written to and read from the ICD memory in the same way data is written to and read from a disk drive device, the improvement comprising:
- monitoring means for monitoring for a system crash;
- writing means, responsive to said monitoring means making a system crash determination, for causing at least X data stored in said ICD memory and driver data stored in said in-core disk driver to be written to the nonvolatile (NV) storage device which comprises a disk drive device;
- initializing means responsive to said writing means storing said X data in the disk drive device for initializing said core memory and reloading said operating system;
- locating means responsive to said initializing means reloading said operating system for locating said driver data in the nonvolatile storage device;
- recovery means responsive to said locating means locating said driver data for recovering the beginning and end address of the ICD memory from the driver data located in the NV stored data and restoring said driver data;
- restoring means responsive to said recovery means recovering said beginning and end address for restoring said X data stored in the NV storage device in ICD memory defined by said beginning and end addresses, thereby preventing the loss of the in-core disk data in the event of a system crash.
Dependencies are inferred from the claim text.