Method and device for exporting files to magnetic tape

A tape and file technology, used in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of time and resource waste, and achieve the effect of saving storage space

Active Publication Date: 2014-02-12
HUAWEI TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And these data blocks may be stored on multiple tapes, so that restoring an original file involves loading, removing, reading data and rewinding operations of multiple tapes, and the waste of time and resources consumed will be unacceptable

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for exporting files to magnetic tape
  • Method and device for exporting files to magnetic tape
  • Method and device for exporting files to magnetic tape

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] The method for exporting files to tape according to an embodiment of the present invention is used to export at least two original files saved in the form of deduplication data to tape, the deduplication data including a stub file set, a single instance library, and a fingerprint Library. The original file saved in the form of deduplicated data can be stored in such as figure 1 In the storage server shown, such as figure 1 As shown, the single instance library includes all single data blocks divided from each of the original files, such as data block DB11, data block DB12, and so on. The stub file set includes at least two stub files corresponding to each of the original files, each of the stub files includes at least one fingerprint data, the fingerprint data includes fingerprints and location information, and the fingerprints are used to identify slaves and The data block divided by the original file corresponding to the stub file, and the location information indica...

Embodiment 2

[0050] image 3 Shows a flow chart of a method for exporting files to tape according to another embodiment of the present invention, image 3 Win the mark and figure 2 The same components have the same functions. For the sake of brevity, detailed descriptions of these components are omitted.

[0051] Such as image 3 As shown, image 3 The method of exporting files to tape shown is the same as figure 2 The main difference of the shown method of exporting files to tape is that, in a possible implementation manner, the specific operation steps of step S220 in Embodiment 1 may include:

[0052] Step S321: Modify the fingerprint data in the stub file in the stub file subset, so that the location information in the modified fingerprint data indicates that the data block corresponding to the fingerprint data is in the sub-single instance database. position.

[0053] Step S322: Export the modified stub file subset to the tape.

[0054] Step S323: Export the sub-single instance library to t...

Embodiment 3

[0057] Figure 4 Shows a flowchart of a method for exporting a file to a tape according to another embodiment of the present invention, Figure 4 Win the mark and image 3 The same components have the same functions. For the sake of brevity, detailed descriptions of these components are omitted.

[0058] Such as Figure 4 As shown, Figure 4 The method of exporting files to tape shown is the same as image 3 The main difference of the shown method of exporting files to tape is that, in a possible implementation manner, before step S321, it may further include:

[0059] Step S410: Determine a first data block in the sub-single instance library, where the first data block is a data block referenced by one of the stub files.

[0060] Step S420: Replace the fingerprint data corresponding to the first data block in the stub file in the stub file subset with the first data block.

[0061] Step S430: Remove the first data block from the sub-single instance library.

[0062] The physical charac...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for exporting files to a magnetic tape. The method is used for exporting at least two original files stored in the form of de-duplicated data to the magnetic tape, wherein the de-duplicated data comprises a stub file set, a single instance database and a fingerprint database. The method comprises the following steps: selecting at least one stub file to be exported to the magnetic tape from the stub file set to form a stub file subset; exporting the stub file subset and a sub single instance database to the magnetic tape; repeating the above two steps under the circumstance that the stub file set comprises stub files not exported to the magnetic tape. According to the method disclosed by the embodiment of the invention, the original files still can be stored in the form of the de-duplicated data, namely the data de-duplication value is maintained and the storage space of the magnetic tape is saved; the original files can be quickly restored and read by guaranteeing de-duplication regions in the same magnetic tape.

Description

Technical field [0001] The present invention relates to the field of data storage, in particular to a method and device for exporting files to magnetic tape. Background technique [0002] Data deduplication technology refers to dividing a file into data blocks, calculating a fingerprint for each data block, and comparing it with an existing fingerprint; if the fingerprint already exists, it means that the data block already exists, then You don’t need to save it anymore, just add one to the reference count of the data block to indicate that the data block has been referenced one more time; if the fingerprint does not exist, it means that the data block is unique, and you need to This fingerprint and the corresponding data block are saved. [0003] After data deduplication is performed, the storage system usually forms deduplicated data including the following three parts. The first part is the single instance repository (Single Instance Repository, abbreviation: SIR) used to stor...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06F17/30
CPCG06F16/172G06F16/1748
Inventor李育国
OwnerHUAWEI TECH CO LTD