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

Method for achieving container supporting file system expansion

A technology that supports files and implementation methods. Applied in the field of cloud computing, it can solve problems such as size limitation, inability to expand container capacity, and difficulty in container migration, and achieve the effects of avoiding long time, ensuring timeliness, and providing good support

Inactive Publication Date: 2017-02-22
G CLOUD TECH
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. Container expansion is not possible
The container is directly created on the local directory of the node, occupying the disk space of the node's file system. As the container file system continues to grow, subsequent use will be limited by the size of the node's disk space
[0007] 2. Containers are difficult to migrate
Since the container runs directly on the local directory of the node, when the container needs to be migrated to other nodes, it can only be realized by copying the entire directory to the remote node. The migration method takes a long time and it is difficult to guarantee the migration. runnable line

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 for achieving container supporting file system expansion
  • Method for achieving container supporting file system expansion

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] See figure 1 , 2 , is a flowchart of a method for implementing a container supporting file system expansion provided by an embodiment of the present invention. The specific implementation of each process is described below.

[0036] In this embodiment, the RBD volume is used as a container block device for storage, and the LXC container technology is used as an example for illustration.

[0037] First create an RBD volume and map it to the container node:

[0038] 1. Create rbd volume

[0039] #rbd create volumes / lxc_rbd1 --size 20000

[0040] volumes pool name

[0041] software_base volume name

[0042] 100000 volume size in MB

[0043] 2. Map the RBD volume to the local node

[0044] #rbd map volumes / lxc_rbd1

[0045] After executing the above command, a mapped physical path will be returned, such as / dev / rbd / rbd87

[0046] Then format the mapped block device on the local container node. Since the container uses the linux system, the format program ext4 file...

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 relates to the technical field of cloud computing, in particular to a method for achieving a container supporting file system expansion. The method includes the steps that firstly, a block device is established and mapped to a container node; secondly, the block device is formatted and mounted to a container catalog; finally, a system is injected into the container catalog, and the container is started. The container established with the method can dynamically expand the file system in the following use process, and can also be conveniently migrated; the method can be used for providing a container for isolating running space for an application.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a container implementation method supporting file system expansion. Background technique [0002] The continuous development of cloud computing has driven the continuous innovation of underlying virtualization technologies, from virtual machines at the system level to container technologies at the application level. Containers provide an isolated running space for applications: each container contains an exclusive complete user environment space, and changes in one container will not affect the running environment of other containers. Container technology enables multiple applications to share the same node operating system. Compared with virtual machine technology, it saves the node's resource expenditure on each virtual machine operating system. Various cloud platform vendors have invested in support for containers. [0003] LXC [0004] LXC is the abbreviation of Lin...

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): G06F17/30G06F3/06
CPCG06F3/0647G06F3/0676G06F16/119
Inventor 熊梦杨松季统凯
Owner G CLOUD TECH
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