Method, article of manufacture and apparatus for copying...

Error detection/correction and fault detection/recovery – Data processing system error or fault handling – Reliability and availability

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S006130

Reexamination Certificate

active

06779129

ABSTRACT:

BACKGROUND OF THE DISCLOSURE
1. Field of the Invention
The invention relates to computers and computer memory. More particularly, the invention relates to a method, article of manufacture and apparatus for copying information from a source storage medium to a target storage medium.
2. Description of the Background Art
A computer system generally includes at least one memory unit or storage medium to store important data files. To prevent the loss of these data files, the computer system typically performs a periodic backup of the storage medium. The backup of the (source) storage medium copies the contents of the (source) storage medium to another (target) storage medium.
In one method to backup the source storage medium, each file in the source storage medium is individually copied to the target storage medium. This method of “file by file” copying utilizes a directory or list of all files in the source storage medium. Examples of the “file by file” copying include the DOS (disk operating system) “copy *.*” command or the copy of a folder in the Windows operating system. To copy a file, the “file by file” method traverses the list to locate the file, reads the file from the source storage medium and writes the file to the target storage medium.
Although the “file by file” method provides a quick identification of errors identified during copying of the source storage medium, the “file by file” method often requires a high overhead to copy files. First, the copying of each file requires seeking or traversing the directories in both the source and target storage media. Second, the copying of each file requires an update of the directory data in the target storage medium. With source media possibly containing up to hundreds of thousands of files, the cumulative time to traverse and update the directory introduces a considerable delay to copy files from the source storage medium.
In another method to backup the source storage medium, each memory block in the source storage medium is sequentially copied to the target storage medium without regard to what type of data is being copied. An example of this “block by block” method is the DOS diskcopy command. To copy a block, the “block by block” method simply reads the block from the source storage medium and writes this block to the target storage medium.
Although the “block by block” method provides a quick copy of the source storage medium to the target storage medium, the “block by block” method fails if any errors exist in the source or target storage media. For example, the copying fails if a block in the source storage medium cannot be read. Additionally, the copying fails if a bad block exists in the target storage medium and cannot be moved somewhere else.
Moreover, the “block by block ” copying of unused blocks may cause problems in some types of media. For example, magneto optical (MO) disks require an explicit erase of an unused block before rewriting the block with different data. Writing to an unused block without first explicitly erasing the block causes an error during reading of the block. Moreover, if the “block by block” method attempts to read an explicitly erased block, an optical disk drive would halt the read and initiate an error recovery procedure. However, the error recovery procedure is slow and significantly delays the copying process.
To overcome the disadvantages associated with the conventional “block by block” copying method, a “map” of source storage medium may be created. The map identifies the used, and erased blocks in the source storage medium. However, if a read error occurs while copying the source storage medium, the location of the read error is unknown. This limits the ability of the computer system to perform error handling on the source storage medium.
Therefore, a need exists for a method and apparatus for copying information from the source storage medium to the target storage medium in an efficient manner, while improving error handling.
SUMMARY OF THE INVENTION
The invention provides a method, apparatus and article of manufacture for copying information from a first storage medium to a second storage medium. Specifically, the method initially maps at least one data block and at least one directory block from a plurality of memory blocks contained on the first storage medium. The method then copies each data block from the first storage medium to a second storage medium. If a read error occurs while copying a data block, the method identifies a location of the data block and a data file stored in the data block where the read error occurred. The method then copies each directory block from the first storage medium to the second storage medium.
In another embodiment of the invention, an apparatus comprising a main memory, a source storage medium, and a processor is provided. The main memory stores a disk copy program. The source storage medium contains information to be copied to a target storage medium. The processor performs a method upon executing the disk copy program retrieved from the memory. The method performed initially maps at least one data block and at least one directory block from a plurality of memory blocks contained on a first storage medium. The method then copies each data block from the first storage medium to a second storage medium. If a read error occurs while copying a data block, the method identifies a location of the data block and a data file stored in the data block where the read error occurred. The method then copies each directory block from the first storage medium to the second storage medium.
Additionally, a computer readable medium storing a software program is provided, where the software program, when executed by a processor of a computer, causes the computer to perform a method. In one embodiment of the computer readable medium, the method initially maps at least one data block and at least one directory block from a plurality of memory blocks contained on a first storage medium. The method then copies each data block from the first storage medium to a second storage medium. If a read error occurs while copying a data block, the method identifies a location of the data block and a data file stored in the data block where the read error occurred. The method then copies each directory block from the first storage medium to the second storage medium.


REFERENCES:
patent: 6044444 (2000-03-01), Ofek
patent: 6049874 (2000-04-01), McClain et al.
patent: 6148412 (2000-11-01), Cannon et al.
patent: 6243827 (2001-06-01), Renner, Jr.
patent: 6260069 (2001-07-01), Anglin
patent: 6269424 (2001-07-01), Katsuragi et al.
patent: 6341333 (2002-01-01), Schreiber et al.
patent: 6581167 (2003-06-01), Gotoh et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method, article of manufacture and apparatus for copying... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method, article of manufacture and apparatus for copying..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method, article of manufacture and apparatus for copying... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3312576

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.