Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and electronic equipment for changing disk volume to cluster

A technology of disk volumes and target clusters, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problem of low efficiency of changing clusters

Active Publication Date: 2021-09-28
CHENGDU YIWO TECH DEV CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present application provides a method, device and electronic equipment for changing clusters of disk volumes, so as to solve the technical problem of low clustering efficiency in the prior art, as follows:

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, device and electronic equipment for changing disk volume to cluster
  • Method, device and electronic equipment for changing disk volume to cluster
  • Method, device and electronic equipment for changing disk volume to cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The inventor of the present application found when studying the cluster change scheme of the disk volume: in the implementation of the cluster change, the method of copying is usually used to copy the content of the disk volume to the free space of the disk volume in the format of the cluster change, and then Rebuild meta information, that is, manage data information, to achieve the effect of changing clusters. But this method has the following defects:

[0067] First of all, there are requirements for disk space usage: if the free space of the disk volume is not enough to move data, the operation cannot be performed, and this judgment is sometimes only discovered during the operation, resulting in data loss.

[0068] The most important thing is that the efficiency of changing clusters is low: since all content needs to be copied, and copying cannot be performed in continuous space, the entire operation is inefficient.

[0069] In view of this, the inventor of the pres...

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 present application discloses a method, device and electronic equipment for clustering a disk volume. The method includes: obtaining the data running set of each file in the disk volume; the data running set of the file contains at least one data running information, and the data running The information corresponds to physical sector count, virtual sector count, and sector length; the disk volume uses the sector number of the first value as the current cluster; at least according to the sector number of the second value in the target cluster, the data in the running set The data operation information is at least marked as a first set or a second set; wherein, the physical sector count and the virtual sector count of the data operation information corresponding to the first set are both divisible by the second value, and the data operation information corresponding to the second set The physical sector count or the virtual sector count cannot be divisible by the second value; the sectors corresponding to the data operation information corresponding to the second set are moved, so that the moved files are stored in the disk volume according to the target cluster.

Description

technical field [0001] The present application relates to the technical field of disk storage, in particular to a method, device and electronic equipment for changing disk volumes into clusters. Background technique [0002] In disk space, files are stored in clusters as the basic unit, and the size of a cluster is related to the specifications of the disk. For example, each cluster of a floppy disk usually has one sector, and the number of sectors per cluster of a hard disk is related to the total capacity of the hard disk, which may be 4 sectors or 64 sectors, and so on. Users who need to optimize the use of disk space will want to: adjust the clusters in the specified volume to the optimal size without data loss, that is, change clusters. [0003] In the current cluster change scheme, the copy method is usually used to copy the files in the specified volume to the free space of the current volume in the format of cluster change, and then rebuild the meta information of t...

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 & Authority Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/0644
Inventor 谢蜀岷
Owner CHENGDU YIWO TECH DEV CO LTD