Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for storage space control

A storage space and control method technology, applied in the input/output process of data processing, instruments, input/output to record carriers, etc., can solve the problems of difficult space capacity expansion, difficult storage capacity expansion, and inability to meet various storage spaces Changes in demand, etc.

Active Publication Date: 2020-02-07
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, a hard disk can only be mounted to one directory, and a directory can only be mounted to one hard disk. When the space capacity of a mounted space is used up, it is generally difficult to expand the space capacity
When there is a demand for more capacity in a storage space and a single super-large file needs to be stored, it is difficult to expand the storage capacity due to the mounted space, and it cannot meet our diverse needs for storage space.

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
  • A method and system for storage space control
  • A method and system for storage space control
  • A method and system for storage space control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] The present invention proposes a storage space control method and system, such as figure 1 As shown, a storage space control method is given.

[0035] In step S101, when the hard disk file system is formatted, a mounted hard disk space management area is set on the hard disk for storing the information of the hard disk, the list of mounted hard disks and the list of file inodes.

[0036]Taking the ext3 file system as an example, when formatting the hard disk with the ext3 file system, the hard disk will be divided into an index area and a data area. The index area contains several inodes, and each inode corresponds to a file, including file-related description information, file data storage address, etc., such as figure 2 As shown, the inode information table in a storage space control method proposed based on Embodiment 1 of the present invention is given.

[0037] When the hard disk is formatted with the file system, the mounted hard disk space management area is s...

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 provides a method and a system for storage space control, and the method comprises the steps: achieving the batch mounting through the mount, and mounting a to-be-mounted hard disk whenthe to-be-mounted hard disk is not recorded in a mounting hard disk list of a mounting hard disk space management region; when the to-be-mounted hard disk is recorded in the mounting hard disk list ofthe mounting hard disk space management area and the universal unique identification code of the to-be-mounted hard disk is recorded in the mounting hard disk space management area, mounting the to-be-mounted hard disk; wherein the mounted hard disk space management area is pre-configured on the hard disk and is used for storing a mounted hard disk list and a UUID. The umount is mounted to all hard disks under the catalogue to be fully unloaded; and a mountshow displays all the hard disk information mounted under the catalogue by the count. The method further comprises writing or reading thefile into or from the directory after the hard disk is mounted. Based on the method, the invention provides a storage space control system. According to the method, a plurality of hard disks are mounted to a certain same directory in batches, so that a larger storage space is formed by the plurality of hard disks.

Description

technical field [0001] The invention belongs to the technical field of hardware storage, and in particular relates to a storage space control method and system. Background technique [0002] In the LINUX operating system, the mount command is generally used to mount the local hard disk, storage-mapped hard disk, NFS mapping space, etc. to the local directory of the operating system for reading, writing and storing data. This is a flexible, simple and convenient way to obtain How to store directories. Similar to the following command mount / dev / sdb1 / data, the / dev / sdb1 local hard disk is mounted to the / data directory, and then unmounted by umount / data after use. [0003] In the prior art, one hard disk can only be mounted to one directory, and one directory can only be mounted to one hard disk. When a mounted space capacity is used up, it is generally difficult to expand the space capacity. When there is a demand for more capacity in a storage space and a single super-large...

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
CPCG06F3/0608G06F3/0644G06F3/0674
Inventor 马国良
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products