Storage space recycling method and storage system

A storage space and storage system technology, applied in the fields of methods, storage systems, and storage space recycling, can solve problems such as low utilization rate and wasted storage space, and achieve the effect of improving utilization rate and speed

Inactive Publication Date: 2015-12-09
SHANGHAI QINIU INFORMATION TECH
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a storage space reclamation method and a storage system, which are used to solve the problem of st

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
  • Storage space recycling method and storage system
  • Storage space recycling method and storage system
  • Storage space recycling method and storage system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0044] In order to solve the problem of low storage space utilization in the storage system in the prior art, an embodiment of the present invention provides a storage space recovery method. The method includes: detecting the first storage space in the storage system , Obtain the idle ratio corresponding to the first storage space, determine whether the idle ratio of the first storage space is greater than or equal to a preset threshold, and when the idle ratio is greater than or equal to the preset threshold, configure a second storage space, and set the first storage space Files that have not been deleted from are sequentially stored in the second storage space. That is to say, when there are many holes (that is, idle storage space) in the first storage space of the storage system that are left due to file deletion, the storage system will configure the second storage space, and then store the storage space in the first storage space. The data is sequentially stored in the se...

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 storage space recycling method and a storage system. The storage space recycling method comprises the following steps: detecting a first storage space in the storage system, obtaining an idle proportion corresponding to the first storage space, judging whether the idle proportion of the first storage space is more than or equal to a pre-set threshold value or not, configuring a second storage space when the idle proportion corresponding to the first storage space is more than or equal to the pre-set threshold value, and sequentially storing files, which are not deleted in the first storage space, in the second storage space. Namely, when more residual storage spaces reserved due to file deletion exist in the first storage space of the storage system, the storage system sequentially stores the files, which are not deleted in the first storage space, in the second storage space, so that the storage space occupied by the deleted files in the first storage space can be eliminated; therefore, the idle storage space in the storage system can be recycled; and the utilization rate of the storage space is improved.

Description

technical field [0001] The present application relates to the technical field of computer storage, and in particular to a storage space recovery method and a storage system. Background technique [0002] At present, in many distributed storage systems, in order to read files faster, a large storage space, such as 50G or 100G storage space, will be established first, and then the actual user files will be placed sequentially in the in the larger storage space. [0003] Therefore, the current storage system stores each file in sequence on a large continuous storage space, and externally uses the offset parameter as the index key value to read the corresponding file, that is, read through the offset parameter to the file in the corresponding location. [0004] However, the current storage system usually does not write the information of the new file or data to the disk location where the deleted file is located when storing new files or data, but sequentially writes the infor...

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
IPC IPC(8): G06F3/06
Inventor 时嘉赟许式伟江文龙
Owner SHANGHAI QINIU INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products