CN105786985A - Automatic method and device for expanding file systems automatically - Google Patents

Automatic method and device for expanding file systems automatically Download PDF

Info

Publication number
CN105786985A
CN105786985A CN201610086270.8A CN201610086270A CN105786985A CN 105786985 A CN105786985 A CN 105786985A CN 201610086270 A CN201610086270 A CN 201610086270A CN 105786985 A CN105786985 A CN 105786985A
Authority
CN
China
Prior art keywords
file system
expansion space
target file
parameter
utilization rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610086270.8A
Other languages
Chinese (zh)
Other versions
CN105786985B (en
Inventor
杨敏
刘相乐
张会健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201610086270.8A priority Critical patent/CN105786985B/en
Publication of CN105786985A publication Critical patent/CN105786985A/en
Application granted granted Critical
Publication of CN105786985B publication Critical patent/CN105786985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an automatic method and device for expanding file systems automatically.The method comprises the steps of obtaining the system utilization rate of each file system contained in a storage system in real time, and determining the file systems with the system utilization rates higher than the maximum threshold value in the file systems as target file systems; according to the system utilization rate of each target file system, the number of file systems contained in the storage system and reserved expansion space used for expanding the target file systems, determining the actual expansion space of each target file system; according to the actual expansion space, expanding the corresponding target file system.In this way, when the system utilization rate of a certain file system is higher than the maximum threshold value, the actual expansion space of the corresponding file system is determined automatically, the corresponding file system is expanded according to the actual expansion space, thereby no worker needs to get involved, the target file systems can be processed in time and accurately, and the situations that in the background art, user data are lost and user service is interrupted due to the fact that processing is not conducted in time are avoided.

Description

A kind of automatic expansion method of file system and device
Technical field
The present invention relates to technical field of data storage, more particularly, it relates to a kind of automatic expansion method of file system and device.
Background technology
The software mechanism being responsible for and storing fileinfo in operating system is called file management system, is called for short file system.The amount of capacity of file system often determines the storage service ability of storage system, and in the use procedure of file system, the user data accumulated over a long period will exhaust the space of file system, and now, dilatation is the unique method improving this document power system capacity.
Prior art is usually utilized the dilatation interface that file system provides that file system is carried out dilatation by staff, specifically, file system is internally provided with threshold value, when the amount of storage of file system reaches corresponding threshold value, warning message can be sent to staff, once the amount of storage of this document system reaches threshold peak, upper layer application will be unable to be written into data again, now file system is in suspended state, accordingly, it would be desirable to staff utilizes dilatation interface that file system is carried out dilatation according to warning message in time.But inevitably, there will be and do not receive warning message such as staff for a certain reason, but just within this time period, upper layer application has substantial amounts of significant data need to write file system, then there will be not process in time due to staff and cause that file system is suspended for a long time, the demand of upper layer application is not being met, and will cause the loss of user data, and user's service also will be forced to interrupt.
In sum, prior art existence is likely to occur owing to process causes user data loss, the problem of the situation of user's service disruption not in time.
Summary of the invention
It is an object of the invention to provide a kind of automatic expansion method of file system and device, cause user data loss, the problem of the situation of user's service disruption with being likely to occur of solving to exist in prior art not in time owing to processing.
To achieve these goals, the present invention provides following technical scheme:
A kind of automatic expansion method of file system, including:
Obtain in real time the system utilization rate of each file system comprised in storage system, and determine that system utilization rate in described file system is target file system more than the file system of most high threshold;
The quantity of the described file system comprised in the system utilization rate according to each described target file system, described storage system and for described target file system being carried out the reserved expansion space of dilatation, it is determined that the actual expansion space of each described target file system;
The described target file system being corresponding according to described actual expansion space carries out dilatation.
Preferably, also include:
Determine that the system utilization rate that comprises in described storage system is less than most high threshold and the file system more than warning threshold, and send warning message to the terminal corresponding with this document system according to predetermined manner;Wherein, described warning threshold is less than described most high threshold.
Preferably, also include:
Determine that the system utilization rate that comprises in described storage system is less than warning threshold and more than the file system of lowest threshold, and send the status information of this document system to the terminal corresponding with this document system according to predetermined manner;Wherein, described lowest threshold is less than described warning threshold, and described status information includes system utilization rate.
Preferably, it is determined that in described file system, system utilization rate is after target file system more than the file system of most high threshold, also includes:
Judge whether the configuration information of described target file system comprises the information opening dilatation function, if it is, determine the actual expansion space of correspondence for described target file system.
Preferably, it is determined that the actual expansion space of each described target file system, including:
The capacity of each described target file system is compared, and it is more big according to capacity, the principle that priority is more high is each described target file system distribution priority, determines the actual expansion space of each described target file system according to the priority of each described target file system.
Preferably, also include:
If the priority of each described target file system is all identical, then determining first parameter that initial expansion space is respective file system of each file system comprised in described storage system, described first parameter is the described reserved expansion space ratio with the quantity of described file system of the first preset ratio;Determine second parameter that capacity is respective file system of each file system of the second preset ratio;Determine that being deducted, by described reserved expansion space, the value that the initial expansion space of each described file system obtains is the 3rd parameter;And choose the actual expansion space that the parameter being not more than other parameters in described first parameter, described second parameter and described 3rd parameter is corresponding target file system.
Preferably, it is determined that in described file system, system utilization rate is after target file system more than the file system of most high threshold, also includes:
If there is no described reserved expansion space, then output error message.
A kind of automatic flash chamber of file system, including:
Acquisition module, for obtaining in real time the system utilization rate of each file system comprised in storage system, and determines that system utilization rate in described file system is target file system more than the file system of most high threshold;
Analysis module, for the quantity of described file system comprised in the system utilization rate according to each described target file system, described storage system and for described target file system being carried out the reserved expansion space of dilatation, it is determined that the actual expansion space of each described target file system;
Dilatation module, for carrying out dilatation according to the described target file system that described actual expansion space is correspondence.
Preferably, analysis module includes:
First analytic unit, for the capacity of each described target file system is compared, and it is more big according to capacity, the principle that priority is more high is each described target file system distribution priority, determines the actual expansion space of each described target file system according to the priority of each described target file system.
Preferably, analysis module includes:
Second analytic unit, if the priority for each described target file system is all identical, then determining first parameter that initial expansion space is respective file system of each file system comprised in described storage system, described first parameter is the described reserved expansion space ratio with the quantity of described file system of the first preset ratio;Determine second parameter that capacity is respective file system of each file system of the second preset ratio;Determine that being deducted, by described reserved expansion space, the value that the initial expansion space of each described file system obtains is the 3rd parameter;And choose the actual expansion space that the parameter being not more than other parameters in described first parameter, described second parameter and described 3rd parameter is corresponding target file system.
A kind of automatic expansion method of file system provided by the invention and device, the method includes: obtain in real time the system utilization rate of each file system comprised in storage system, and determines that system utilization rate in described file system is target file system more than the file system of most high threshold;The quantity of the described file system comprised in the system utilization rate according to each described target file system, described storage system and for described target file system being carried out the reserved expansion space of dilatation, it is determined that the actual expansion space of each described target file system;The described target file system being corresponding according to described actual expansion space carries out dilatation.By above-mentioned technical characteristic disclosed in the present application, when the system utilization rate of file system is more than most high threshold, automatically determine its actual expansion space, dilatation is carried out for it further according to actual expansion space, from the intervention without staff, promptly and accurately target file system can be processed, it is to avoid what exist in background technology causes user data loss, the generation of the situation of user's service disruption not in time owing to processing.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
The flow chart of the automatic expansion method of a kind of file system that Fig. 1 provides for the embodiment of the present invention;
The structural representation of the automatic flash chamber of a kind of file system that Fig. 2 provides for the embodiment of the present invention;
The program structure schematic diagram of the automatic flash chamber of a kind of file system that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Refer to Fig. 1, it illustrates the flow chart of the automatic expansion method of a kind of file system that the embodiment of the present invention provides, it is possible to comprise the following steps:
S11: obtain in real time the system utilization rate of each file system comprised in storage system, and determine that system utilization rate in file system is target file system more than the file system of most high threshold.
When the system utilization rate of file system is more than most high threshold, illustrate that its system utilization rate is higher than rational scope, accordingly, it would be desirable to it is carried out dilatation.Then it is carried out dilatation when the system utilization rate of file system is more than most high threshold, actually also for choosing for dilatation time point, the selection of dilatation time point determines the meaning of the automatic dilatation of file system, and this is due to too early dilatation, it is possible to can waste memory space, dilatation too late, may result in the loss of user data, therefore, in the application when the utilization rate of file system is more than most high threshold, determine that this document system is target file system, and carry out dilatation for it.Wherein, most choosing of high threshold can be determined according to actual needs, such as 95% etc..
S12: according to the quantity of the file system comprised in the system utilization rate of each target file system, storage system and for target file system being carried out the reserved expansion space of dilatation, it is determined that the actual expansion space of each target file system.
It should be noted that this step implies the step of the size of quantity and the reserved expansion space obtaining file system.Further, dilatation operation usually occurs in following environment: comprise multiple file system in (1) storage system, and the amount of capacity of each file system is different with system utilization rate, as IBMV7000 allows 256 file system of carry simultaneously;(2) storage device that during All Files system creation, staff specifies reserved expansion space is corresponding is same path;(3) synchronization would be likely to occur multiple file system, namely there is multiple target file system and concurrently carries out dilatation operation.At this time, it may be necessary to consider above-mentioned factor, and then determine the actual expansion space of target file system, and carry out dilatation for it.
S13: the target file system being corresponding according to actual expansion space carries out dilatation.
By above-mentioned technical characteristic disclosed in the present application, when the system utilization rate of file system is more than most high threshold, automatically determine its actual expansion space, dilatation is carried out for it further according to actual expansion space, from the intervention without staff, promptly and accurately target file system can be processed, it is to avoid what exist in background technology causes user data loss, the generation of the situation of user's service disruption not in time owing to processing.
Additionally, by above-mentioned technical characteristic disclosed in the present application, suitable dilatation time point can be selected to make the dilatation operation held water, and user is almost not felt by the impact because own service is brought by dilatation, greatly improves the overall storage service ability of storage system and adaptive capacity.And, the method realizes at User space, therefore different product, different file is had the good suitability.
In the automatic expansion method of a kind of file system that the embodiment of the present invention provides, it is also possible to including:
Determine that the system utilization rate that comprises in storage system is less than most high threshold and the file system more than warning threshold, and send warning message to the terminal corresponding with this document system according to predetermined manner;Wherein, warning threshold is less than most high threshold.
Wherein, the concrete setting of predetermined manner and warning threshold can be determined according to actual needs.It is 80% as warning threshold can be defined, and when the system utilization rate of file system is more than 80%, send the warning message of file system to terminal corresponding to staff, and when utilization rate is between 80% and 95%, periodically send warning message to terminal corresponding to staff, and the frequency sending warning message increases as well as the rising of system utilization rate.Wherein, warning message can comprise system utilization rate, to point out staff, if needs artificially to process.
And when determine that the system utilization rate that comprises in storage system is less than warning threshold and more than the file system of lowest threshold, and send the status information of this document system to the terminal corresponding with this document system according to predetermined manner;Wherein, lowest threshold is less than warning threshold, and status information includes system utilization rate.
Wherein, lowest threshold can be determined according to actual needs, and, when the system utilization rate of file system is less than warning threshold and more than lowest threshold, it is possible to often reach a default value, then send above-mentioned status information, or often through a default time period, then send above-mentioned status information.As arrived 20%, 40%, 50% when system utilization rate, when 60%, sending status information respectively to terminal corresponding to staff, the terminal that namely file system is corresponding, so that staff can know the service condition of file system in time.
It should be noted that when staff creates file system, storage system can point out whether staff is that this document system opens automatic dilatation function, if opened, then needing staff is the path that this document system specifies reserved expansion space.Corresponding, it is determined that in file system, system utilization rate is after target file system more than the file system of most high threshold, it is also possible to including:
Judge whether the configuration information of target file system comprises the information opening dilatation function, if it is, determine the actual expansion space of correspondence for target file system, if it is not, then stop operation.
In the automatic expansion method of a kind of file system that the embodiment of the present invention provides, it is determined that the actual expansion space of each target file system, it is possible to including:
The capacity of each target file system is compared, and more big according to capacity, and the principle that priority is more high is each target file system distribution priority, determines the actual expansion space of each target file system according to the priority of each target file system.
There are multiple file system of different capabilities size in storage system, when synchronization has multiple file system to need to carry out dilatation operation, when namely there is multiple target file system, the amount of capacity of target file system is depended in the judgement of " hunger " degree.If tri-target file system of app1_fs, app2_fs, app3_fs need to carry out dilatation operation simultaneously, wherein the amount of capacity of target file system meets: app1_fs > app2_fs > app3_fs, then judge app1_fs more " hunger ", it should preferentially by dilatation.Reason is exactly the file system storage space approach exhaustion of bigger capacity, illustrates that its application is bigger to the demand of storage resource.Therefore, it can according to priority is that each target file system distributes actual expansion space, can be specifically the expansion space etc. for the corresponding proportion of each priority distribution.
Additionally, if the priority of each target file system is all identical, then determining first parameter that initial expansion space is respective file system of each file system comprised in storage system, the first parameter is the reserved expansion space ratio with the quantity of file system of the first preset ratio;Determine second parameter that capacity is respective file system of each file system of the second preset ratio;Determine that being deducted, by reserved expansion space, the value that the initial expansion space of each file system obtains is the 3rd parameter;And choose the actual expansion space that the parameter being not more than other parameters in the first parameter, the second parameter and the 3rd parameter is corresponding target file system.
Wherein, the first preset ratio and the second preset ratio all can be determined according to actual needs, and if the first preset ratio can be 1/8th, the second preset ratio can be 1/4th, corresponding, the first parameter S is:
S=M/N/8
Wherein, M is reserved expansion space, and N is the quantity of the file system comprised in storage system.
Second parameter L is:
L=m/4
Wherein, m is the amount of capacity of respective file system.
3rd parameter P is:
P=M-∑ Sm1+Sm2 ...+Smn
Wherein, Sm1 represents the initial expansion space of first file system, and Sm2 is the initial expansion space of second file system, and by that analogy, Smn is the initial expansion space of n-th file system.
In the automatic expansion method of a kind of file system that the embodiment of the present invention provides, it is determined that in file system, system utilization rate is after target file system more than the file system of most high threshold, it is also possible to including:
If there is no reserved expansion space, then output error message.
That is, before carrying out dilatation operation, checking whether there is the subregion/volume that can be used for dilatation in currently stored product, namely whether there is reserved expansion space, if it is present perform step S12, otherwise, then output error message, to facilitate staff to know in time.
Corresponding with said method embodiment, the embodiment of the present invention additionally provides a kind of automatic flash chamber of file system, as in figure 2 it is shown, may include that
Acquisition module 11, for obtaining in real time the system utilization rate of each file system comprised in storage system, and determines that system utilization rate in file system is target file system more than the file system of most high threshold;
Analysis module 12, for according to the quantity of the file system comprised in the system utilization rate of each target file system, storage system and for target file system carries out the reserved expansion space of dilatation, it is determined that the actual expansion space of each target file system;
Dilatation module 13, for carrying out dilatation according to the target file system that actual expansion space is correspondence.
It should be noted that said apparatus can be the User space program of individually exploitation, storage system needs this program integrated just can support the automatic dilatation function of file system.Detailed description of the invention is:
(1) said procedure runs along with the operation of storage system;
(2), when creating file system, whether prompting staff's this document system opens automatic dilatation function (acquiescence is opened);
(3) after staff determines that this document system opens automatic dilatation function, prompting staff arranges the path (this storage device is for the dilatation of file system) of storage device corresponding to reserved expansion space;
(4) said procedure circulation obtains the system utilization rate of the file system of the automatic dilatation function of all unlatchings, and then performs corresponding dilatation operation.
As shown in Figure 3, the program structure diagram of automatic flash chamber for a kind of file system that the embodiment of the present invention provides, it adopts the mode of finger daemon, perform AUTO_GROWFS program code periodically, GET_FS_STATE program code is for obtaining the status information of file system, including the quantity of file system, the amount of capacity of each file system and the system utilization rate of file system and other need the information that obtains according to actual needs, User space interface that the mode that obtains provides for file system and/proc file of being correlated with;ANALYSIS program code is for analyzing the GET_FS_STATE status information obtained, determine to need to carry out the actual expansion space size of the target file system of dilatation, target file system, the GROW_FS program code analysis result according to ANALYSIS, performs dilatation operation.
After said apparatus starts and brings into operation, owing to it is finger daemon executive mode, when only receiving interrupt signal, system just can terminate to exit, therefore without end mark in figure.First device reads file system all activated in current storage system, and will, in the Information encapsulation of these file system to structure, be stored in an orderly chained list, the big minispread according to file system current capacities of the order of chained list;During the state of Study document system, judge the current system utilization rate of each file system, and then to needing the target file system carrying out dilatation to carry out dilatation, if without dilatation, then again reading off the status information of file system and update in corresponding structure, if desired perform automatic dilatation operation, then by after this document System Expansion, performing again to obtain file system state information, circulating, until being forced to exit always.
In the automatic flash chamber of a kind of file system that the embodiment of the present invention provides, it is also possible to including:
Alert module, for determining that the system utilization rate that comprises in storage system is less than most high threshold and the file system more than warning threshold, and sends warning message to the terminal corresponding with this document system according to predetermined manner;Wherein, warning threshold is less than most high threshold.
In the automatic flash chamber of a kind of file system that the embodiment of the present invention provides, it is also possible to including:
State-output module, for determining that the system utilization rate that comprises in storage system is less than warning threshold and more than the file system of lowest threshold, and sends the status information of this document system to the terminal corresponding with this document system according to predetermined manner;Wherein, lowest threshold is less than warning threshold, and status information includes system utilization rate.
In the automatic flash chamber of a kind of file system that the embodiment of the present invention provides, it is also possible to including:
Judge module, for judging whether to comprise the information opening dilatation function in the configuration information of target file system, if it is, determine corresponding actual expansion space for target file system.
In the automatic flash chamber of a kind of file system that the embodiment of the present invention provides, it is also possible to including:
Mistake output module, for if there is no reserving expansion space, then output error message.
In the automatic flash chamber of a kind of file system that the embodiment of the present invention provides, analysis module may include that
First analytic unit, for the capacity of each target file system is compared, and more big according to capacity, the principle that priority is more high is each target file system distribution priority, determines the actual expansion space of each target file system according to the priority of each target file system.
In the automatic flash chamber of a kind of file system that the embodiment of the present invention provides, analysis module includes:
Second analytic unit, if the priority for each target file system is all identical, then determining first parameter that initial expansion space is respective file system of each file system comprised in storage system, the first parameter is the reserved expansion space ratio with the quantity of file system of the first preset ratio;Determine second parameter that capacity is respective file system of each file system of the second preset ratio;Determine that being deducted, by reserved expansion space, the value that the initial expansion space of each file system obtains is the 3rd parameter;And choose the actual expansion space that the parameter being not more than other parameters in the first parameter, the second parameter and the 3rd parameter is corresponding target file system.
Described above to the disclosed embodiments, makes those skilled in the art be capable of or uses the present invention.The multiple amendment of these embodiments be will be apparent from for a person skilled in the art, and generic principles defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (10)

1. the automatic expansion method of file system, it is characterised in that including:
Obtain in real time the system utilization rate of each file system comprised in storage system, and determine that system utilization rate in described file system is target file system more than the file system of most high threshold;
The quantity of the described file system comprised in the system utilization rate according to each described target file system, described storage system and for described target file system being carried out the reserved expansion space of dilatation, it is determined that the actual expansion space of each described target file system;
The described target file system being corresponding according to described actual expansion space carries out dilatation.
2. method according to claim 1, it is characterised in that also include:
Determine that the system utilization rate that comprises in described storage system is less than most high threshold and the file system more than warning threshold, and send warning message to the terminal corresponding with this document system according to predetermined manner;Wherein, described warning threshold is less than described most high threshold.
3. method according to claim 2, it is characterised in that also include:
Determine that the system utilization rate that comprises in described storage system is less than warning threshold and more than the file system of lowest threshold, and send the status information of this document system to the terminal corresponding with this document system according to predetermined manner;Wherein, described lowest threshold is less than described warning threshold, and described status information includes system utilization rate.
4. method according to claim 1, it is characterised in that determine in described file system that system utilization rate is after target file system more than the file system of most high threshold, also include:
Judge whether the configuration information of described target file system comprises the information opening dilatation function, if it is, determine the actual expansion space of correspondence for described target file system.
5. method according to claim 1, it is characterised in that determine the actual expansion space of each described target file system, including:
The capacity of each described target file system is compared, and it is more big according to capacity, the principle that priority is more high is each described target file system distribution priority, determines the actual expansion space of each described target file system according to the priority of each described target file system.
6. method according to claim 5, it is characterised in that also include:
If the priority of each described target file system is all identical, then determining first parameter that initial expansion space is respective file system of each file system comprised in described storage system, described first parameter is the described reserved expansion space ratio with the quantity of described file system of the first preset ratio;Determine second parameter that capacity is respective file system of each file system of the second preset ratio;Determine that being deducted, by described reserved expansion space, the value that the initial expansion space of each described file system obtains is the 3rd parameter;And choose the actual expansion space that the parameter being not more than other parameters in described first parameter, described second parameter and described 3rd parameter is corresponding target file system.
7. method according to claim 6, it is characterised in that determine in described file system that system utilization rate is after target file system more than the file system of most high threshold, also include:
If there is no described reserved expansion space, then output error message.
8. the automatic flash chamber of file system, it is characterised in that including:
Acquisition module, for obtaining in real time the system utilization rate of each file system comprised in storage system, and determines that system utilization rate in described file system is target file system more than the file system of most high threshold;
Analysis module, for the quantity of described file system comprised in the system utilization rate according to each described target file system, described storage system and for described target file system being carried out the reserved expansion space of dilatation, it is determined that the actual expansion space of each described target file system;
Dilatation module, for carrying out dilatation according to the described target file system that described actual expansion space is correspondence.
9. device according to claim 8, it is characterised in that analysis module includes:
First analytic unit, for the capacity of each described target file system is compared, and it is more big according to capacity, the principle that priority is more high is each described target file system distribution priority, determines the actual expansion space of each described target file system according to the priority of each described target file system.
10. device according to claim 9, it is characterised in that analysis module includes:
Second analytic unit, if the priority for each described target file system is all identical, then determining first parameter that initial expansion space is respective file system of each file system comprised in described storage system, described first parameter is the described reserved expansion space ratio with the quantity of described file system of the first preset ratio;Determine second parameter that capacity is respective file system of each file system of the second preset ratio;Determine that being deducted, by described reserved expansion space, the value that the initial expansion space of each described file system obtains is the 3rd parameter;And choose the actual expansion space that the parameter being not more than other parameters in described first parameter, described second parameter and described 3rd parameter is corresponding target file system.
CN201610086270.8A 2016-02-15 2016-02-15 A kind of automatic expansion method of file system and device Active CN105786985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610086270.8A CN105786985B (en) 2016-02-15 2016-02-15 A kind of automatic expansion method of file system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610086270.8A CN105786985B (en) 2016-02-15 2016-02-15 A kind of automatic expansion method of file system and device

Publications (2)

Publication Number Publication Date
CN105786985A true CN105786985A (en) 2016-07-20
CN105786985B CN105786985B (en) 2019-02-15

Family

ID=56403359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610086270.8A Active CN105786985B (en) 2016-02-15 2016-02-15 A kind of automatic expansion method of file system and device

Country Status (1)

Country Link
CN (1) CN105786985B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227472A (en) * 2016-08-19 2016-12-14 浪潮(北京)电子信息产业有限公司 A kind of from simplification volume expansion method and system
CN106227839A (en) * 2016-07-26 2016-12-14 浪潮电子信息产业股份有限公司 The expansion method of a kind of lustre file system and device
CN107220340A (en) * 2017-05-26 2017-09-29 郑州云海信息技术有限公司 The method and apparatus that CFS stores automatic dilatation in a kind of virtualization system
CN110825703A (en) * 2019-11-01 2020-02-21 浪潮云信息技术有限公司 Method for realizing elastic expansion and contraction of file system based on timing task
CN110968414A (en) * 2018-09-28 2020-04-07 阿里巴巴集团控股有限公司 Resource scaling method and device
CN111752489A (en) * 2020-06-30 2020-10-09 重庆紫光华山智安科技有限公司 Expansion method of PVC (polyvinyl chloride) module in Kubernetes and related device
CN113190503A (en) * 2021-05-08 2021-07-30 重庆紫光华山智安科技有限公司 File system capacity expansion method and device, electronic equipment and storage medium
CN115408442A (en) * 2022-08-15 2022-11-29 云南大学 Land cover distribution relation mining method based on expansion space apposition mode

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855093A (en) * 2012-08-16 2013-01-02 浪潮(北京)电子信息产业有限公司 System and method for realizing automatic thin provisioning dynamic capacity expansion of storage system
CN104699807A (en) * 2015-03-23 2015-06-10 上海新炬网络信息技术有限公司 Automatic monitoring and expansion method for ORACLE data table space
CN105262680A (en) * 2015-10-21 2016-01-20 浪潮(北京)电子信息产业有限公司 Multi-threaded NAS Gateway applied to cloud storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855093A (en) * 2012-08-16 2013-01-02 浪潮(北京)电子信息产业有限公司 System and method for realizing automatic thin provisioning dynamic capacity expansion of storage system
CN104699807A (en) * 2015-03-23 2015-06-10 上海新炬网络信息技术有限公司 Automatic monitoring and expansion method for ORACLE data table space
CN105262680A (en) * 2015-10-21 2016-01-20 浪潮(北京)电子信息产业有限公司 Multi-threaded NAS Gateway applied to cloud storage system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227839A (en) * 2016-07-26 2016-12-14 浪潮电子信息产业股份有限公司 The expansion method of a kind of lustre file system and device
CN106227472A (en) * 2016-08-19 2016-12-14 浪潮(北京)电子信息产业有限公司 A kind of from simplification volume expansion method and system
CN107220340A (en) * 2017-05-26 2017-09-29 郑州云海信息技术有限公司 The method and apparatus that CFS stores automatic dilatation in a kind of virtualization system
CN107220340B (en) * 2017-05-26 2021-03-02 苏州浪潮智能科技有限公司 Method and device for automatic capacity expansion of CFS storage in virtualization system
CN110968414A (en) * 2018-09-28 2020-04-07 阿里巴巴集团控股有限公司 Resource scaling method and device
CN110825703A (en) * 2019-11-01 2020-02-21 浪潮云信息技术有限公司 Method for realizing elastic expansion and contraction of file system based on timing task
CN110825703B (en) * 2019-11-01 2023-04-11 浪潮云信息技术股份公司 Method for realizing elastic expansion and contraction of file system based on timing task
CN111752489A (en) * 2020-06-30 2020-10-09 重庆紫光华山智安科技有限公司 Expansion method of PVC (polyvinyl chloride) module in Kubernetes and related device
CN111752489B (en) * 2020-06-30 2022-06-17 重庆紫光华山智安科技有限公司 Expansion method of PVC (polyvinyl chloride) module in Kubernetes and related device
CN113190503A (en) * 2021-05-08 2021-07-30 重庆紫光华山智安科技有限公司 File system capacity expansion method and device, electronic equipment and storage medium
CN115408442A (en) * 2022-08-15 2022-11-29 云南大学 Land cover distribution relation mining method based on expansion space apposition mode

Also Published As

Publication number Publication date
CN105786985B (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN105786985A (en) Automatic method and device for expanding file systems automatically
CN109684228B (en) Performance test method, device, system and storage medium
CN106302632A (en) The method for down loading of a kind of foundation image and management node
CN105786549B (en) Smart machine and its upgrade method
CN103763748A (en) Data transmission method and device
CN107301093B (en) Method and device for managing resources
CN110196836A (en) A kind of date storage method and device
CN109412841A (en) Method of adjustment, device and the cloud platform of resources of virtual machine
CN103473142A (en) Virtual machine transferring method and device under cloud computing operating system
CN107395521B (en) Big data information processing method and system based on Internet of things
CN112650575B (en) Resource scheduling method, device and cloud service system
CN109324983A (en) A kind of method, storage medium, equipment and the system of automatic cleaning cache file
WO2014117682A1 (en) Method, apparatus and terminal for releasing memory
CN108696911A (en) A kind of selection method and device of data transmission of internet of things mode
CN104320855A (en) Resource scheduling method and device
CN108231132B (en) NAND flash memory verification device and verification system
CN104270362A (en) Request handling method and device
CN108234551B (en) Data processing method and device
CN103631586A (en) Method and system for carrying out contextualization interactive processing
CN107912063A (en) A kind of method for recovering internal storage and device
CN105763616A (en) Resource-downloading method and device
US11431795B2 (en) Method, apparatus and storage medium for resource configuration
CN111143064A (en) Method and system for processing memory
CN115951845A (en) Disk management method, device, equipment and storage medium
CN113258679B (en) Power grid monitoring system channel distribution method based on server instance capacity reduction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant