Dynamic file mounting method and system, computer equipment and readable storage medium

A technology for dynamic files and mounting systems, applied in the computer field, can solve problems such as prolonging the creation time of virtual machines and wasting disk space, and achieve the effect of shortening creation time, saving disk space, and concise and easy-to-understand purposes and advantages

Pending Publication Date: 2022-01-21
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a dynamic file mounting method, system, computer equipment and readable storage medium to at least solve the problem of prolonging the creation time of the virtual machine when there are many files to be copied and the volume is large in the related art , and during the mounting process, the same file will be copied repeatedly by different virtual machines, resulting in a waste of disk 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
  • Dynamic file mounting method and system, computer equipment and readable storage medium
  • Dynamic file mounting method and system, computer equipment and readable storage medium
  • Dynamic file mounting method and system, computer equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0032] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. In addition, it can also be understood that although such development efforts may be complex and lengthy, for those of ...

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 a dynamic file mounting method and system, computer equipment and a readable storage medium. The dynamic file mounting method comprises the steps of calling an agent device to create n samba users related to a virtual machine, wherein each samba user is configured with corresponding user information; sending file mounting information related to the virtual machine to the agent device; and when the proxy device receives the file mounting information, creating a virtual machine mounting directory according to the file mounting information, and linking a to-be-mounted file to the corresponding virtual machine mounting directory. Through the invention, the problems that the creation time of a virtual machine is prolonged when a large file is copied, and the same file is repeatedly copied by different virtual machines to cause waste of a disk space are solved, dynamic mounting is realized, the creation time under the condition of mounting large files is shortened, and disk space is greatly saved.

Description

technical field [0001] The present application relates to the computer field, in particular to a dynamic file mounting method, system, computer equipment and readable storage medium. Background technique [0002] In the Linux operating system, mounting is to mount a device (usually a storage device) on an existing directory, and access the storage device by accessing this directory. [0003] At present, the major cloud platforms usually use disks to mount files for virtual machines. That is, before the virtual machine starts, an empty disk is created, and the files to be mounted are copied to the disk. When the virtual machine starts Mount the disk into the virtual machine to implement dynamic file mounting. However, in this way, there are obviously two major defects: first, files need to be copied to an empty disk during the process of creating a virtual machine. Second, when the same file is mounted by multiple virtual machines, the file will be copied multiple times, th...

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 Applications(China)
IPC IPC(8): G06F16/16G06F9/455
CPCG06F16/16G06F9/45558G06F2009/45575
Inventor 顾文斌范渊苗春雨
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
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