CN110007858A - Memory allocation method and device - Google Patents
Memory allocation method and device Download PDFInfo
- Publication number
- CN110007858A CN110007858A CN201910190307.5A CN201910190307A CN110007858A CN 110007858 A CN110007858 A CN 110007858A CN 201910190307 A CN201910190307 A CN 201910190307A CN 110007858 A CN110007858 A CN 110007858A
- Authority
- CN
- China
- Prior art keywords
- capacity
- lun
- target
- minimum
- target lun
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0658—Controller construction arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Memory System (AREA)
Abstract
The embodiment of the present application provides a kind of memory allocation method and device, in the case where the capacity allocation model of target LUN to be created is simplifying mode, distributes the minimum memory space for ensureing capacity for it.When target LUN is not enough to store data to be written in use, expand its memory space, the data to be written can be stored, and the capacity after expansion is no more than the maximum capacity.In the case where the capacity allocation model of target LUN is thick configuration mode, if minimum ensures that capacity is identical with maximum capacity, and the minimum present available capacity for ensureing capacity and being no more than storage system, then it distributes the minimum memory space for ensureing capacity or maximum capacity and gives target LUN.For particular capacity size needed for uncertain target LUN, but the case where minimum capacity needed for can determine target LUN, by above-mentioned design, the memory space that meet the situation can be distributed to target LUN.
Description
Technical field
This application involves technical field of memory, in particular to a kind of memory allocation method and device.
Background technique
Storage system includes multiple storage equipment, and the memory space that these storage equipment provide is invented storage pool.?
In practical application, can according to need to be mounted on host from the memory space for distributing particular size in storage pool makes for user
With.It is a LUN (Logical Unit Number, logical unit number) that this, which is mounted to the memory space on host,.
In use, the administrator of storage system can according to need the specified allocation model and appearance for needing newly-built LUN
Amount.Storage system in the related technology usually supports following two capacity allocation model: simplify configuration (Thin Provision)
Mode does not distribute memory space for newly-built LUN, the data being written when needing and data being written to the LUN further according to needs
It measures to distribute memory space of corresponding size to the LUN;Thickness configuration (Thick Provision) mode, is distributed for newly-built LUN
The memory space of specified capacity.
However, usually there is following several situations to the capacity requirement of LUN in user: first, clearly know LUN to be created
Required capacity;Capacity needed for second, completely uncertain LUN to be created;Third is not known needed for LUN to be created
Capacity, but minimum capacity needed for can determining the LUN.Storage system in the related technology can only distribute satisfaction first and second
The memory space of two kinds of capacity requirements, but configure anyway and can not all distribute the memory space for meeting the third capacity requirement.
Summary of the invention
In view of this, the first purpose of the application is to provide a kind of memory allocation method and device, at least portion
Ground is divided to improve the above problem.
In a first aspect, the embodiment of the present application provides a kind of memory allocation method, it is applied to storage system, the method
Include:
Capacity allocation model, minimum guarantee capacity and the maximum capacity of destination logical unit LUN to be created are received,
In, the capacity allocation model is simplify configuration mode or thick configuration mode, and the minimum guarantee capacity is no more than the maximum
Capacity, the maximum capacity are no more than the total capacity of the storage system;
Determine the present available capacity of the storage system;
In the case where the capacity allocation model is thick configuration mode, if the minimum guarantee capacity is no more than described work as
Preceding active volume, and the maximum capacity is identical with the minimum guarantee capacity, then is described when creating the target LUN
Target LUN distributes the minimum memory space for ensureing capacity or the maximum capacity;
In the case where the capacity allocation model is simplify configuration mode, for described in newly-built target LUN distribution
Minimum ensures the memory space of capacity;
After creating the target LUN, if the residual capacity of the target LUN is not enough to store data to be written,
The memory space for expanding the target LUN enables the target LUN to store the data to be written, and the target
Capacity after LUN expands is no more than the maximum capacity.
Second aspect, the embodiment of the present application provide a kind of memory allocation device, are applied to storage system, described device
Include:
Receiving module, for receiving capacity allocation model, minimum guarantee capacity and the maximum appearance of target LUN to be created
Amount, wherein the capacity allocation model is simplify configuration mode or rear configuration mode, and the minimum guarantee capacity is no more than described
Maximum capacity, the maximum capacity are no more than the total capacity of the storage system;
Parameter detection module, for determining the present available capacity of the storage system;
Distribution module is used in the case where the capacity allocation model is simplify configuration mode, for the newly-built mesh
Mark LUN distributes the minimum memory space for ensureing capacity;After creating the target LUN, if the remaining of the target LUN is held
Amount is not enough to store data to be written, then expands the memory space of the target LUN, the target LUN is stored
The data to be written, and the capacity after target LUN expansion is no more than the maximum capacity.
The third aspect, the embodiment of the present application also provide a kind of controller, are applied to storage system, and the controller includes place
Device and readable storage medium storing program for executing are managed, is stored with machine-executable instruction, the machine-executable instruction on the readable storage medium storing program for executing
It is performed and processor is promoted to realize memory allocation method provided by the embodiments of the present application.
In terms of existing technologies, the embodiment of the present application has the advantages that
The embodiment of the present application provides a kind of memory allocation method and device, is additionally arranged Capacity Allocation Parameter for LUN: holding
Allocation model, minimum guarantee capacity and maximum capacity are measured, so that capacity allocation model of the storage system in target LUN to be created
In the case where for thick configuration mode, if its minimum ensures that capacity is no more than the present available capacity of storage system, and the minimum is protected
Barrier appearance is identical with maximum capacity, then distributes the minimum for target LUN and ensure capacity or the memory space of the maximum capacity.In target
In the case that the capacity allocation model of LUN is simplify configuration mode, for the newly-built minimum storage for ensureing capacity of target LUN distribution
Space;After new destination LUN, if its residual capacity is not enough to store data to be written, the storage for expanding target LUN is empty
Between, enable target LUN to store the data to be written, and the capacity after target LUN expansion is no more than the maximum of target LUN
Capacity.For particular capacity size needed for uncertain target LUN, but the feelings of minimum capacity needed for can determine target LUN
Condition can distribute the memory space for meeting the situation by above-mentioned design to target LUN.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to the attached drawing used required in embodiment
It does and simply introduces, it should be understood that the following drawings illustrates only some embodiments of the application, therefore should not be construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of interaction schematic diagram of storage system and user equipment provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of memory allocation method provided by the embodiments of the present application;
Fig. 3 is the sub-step schematic diagram of step S22 shown in Fig. 2;
Fig. 4 is the another flow diagram of memory allocation method provided by the embodiments of the present application;
Fig. 5 is a kind of hardware block diagram of controller provided by the embodiments of the present application;
Fig. 6 is a kind of functional block diagram of memory allocation device provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.The application being usually described and illustrated herein in the accompanying drawings is implemented
The component of example can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiments herein provided in the accompanying drawings is not intended to limit below claimed
Scope of the present application, but be merely representative of the selected embodiment of the application.Based on the embodiment in the application, this field is common
Technical staff's every other embodiment obtained without creative efforts belongs to the model of the application protection
It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
Fig. 1 is please referred to, Fig. 1 is the interaction signal of a kind of storage system 10 provided by the embodiments of the present application and user equipment
Figure.In the present embodiment, user equipment can be host or other any memory spaces that can be provided with carry storage system 10
Equipment.For example, host 21, host 22 shown in Fig. 1 and host 23 can serve as the user equipment in the present embodiment.
Storage system 10 includes controller 11 and multiple memory nodes 12, wherein the storage that multiple memory nodes 12 provide
Space is invented storage pool, and controller 11 is for being managed multiple memory nodes 12, for example, can be used for receiving user
The request (for example, read-write requests) of equipment transmission is simultaneously transmitted to corresponding memory node 12;It for another example, can be according to user equipment
Request is that user equipment creates corresponding LUN, and distributes corresponding memory space to the LUN, so that user sets from storage pool
It is standby to use.Wherein, the LUN of user equipment carry is rendered as a memory space mark on the user equipment, is similar to user
Disk symbol in equipment.
For example, host 21 is mounted with LUN2, host 22 is mounted with LUN3, and host 23 is mounted with LUN5.Wherein, LUN2,
LUN3 and LUN5 respectively corresponds the particular memory space in the storage pool of storage system 10.
In other words, the multiple memory node 12 can provide a user storage service by controller 11.Wherein, described
Memory node 12 can be the physical equipment that can arbitrarily store information, for example, hard disk, disk array, storage server etc..
In the present embodiment, storage system 10 can be distributed memory system or centralised storage system.Wherein, if depositing
Storage system 10 is distributed memory system, then multiple memory nodes 12 in storage system 10 can provide control management clothes
Business, in other words, multiple memory node 12 may act as controller 11.If storage system 10 is centralised storage system, control
Device 11 processed can be and the mutually independent equipment of multiple memory nodes 12 in storage system 10.
In practical applications, user (for example, system manager) can be to newly-built according to the needs of each user equipment
LUN (being about set to " target LUN " in the present embodiment) Capacity Allocation Parameter is set so that controller 11 is after creating the LUN,
It is that the LUN distributes memory space according to the Capacity Allocation Parameter.
Storage system in the related technology is supplied to the Capacity Allocation Parameter of user configuration are as follows: capacity allocation model and appearance
Amount.Wherein, capacity allocation model includes above-mentioned simplify configuration mode and thick configuration mode.
It has been investigated that for the third above-mentioned capacity requirement, it may be assumed that particular capacity needed for can not determining target LUN,
But the case where minimum capacity needed for can determining target LUN, there are the following problems for storage system in the related technology:
On the one hand, if setting thick configuration mode, the controller of storage system for the capacity allocation model of target LUN
Memory space will be distributed according to the capacity of user setting to be so easy to appear because of user setting to newly-built target LUN
Capacity it is excessive so as to cause the wasting of resources the problem of, and lead to not because the capacity of setting is too small the reality for meeting target LUN
The problem of border demand;
On the other hand, if setting simplify configuration mode, the control of storage system for the capacity allocation model of target LUN
Device processed will not distribute memory space in new destination LUN, in the data for needing to be written, further according to the data volume for needing to be written
To distribute memory space.In the case, demand of the target LUN to minimum capacity certainly will be unable to satisfy.
Based on the above analysis, configuration capacity allocation of parameters, storage system in the related technology are all unable to satisfy anyway
The third above-mentioned capacity requirement.
At least partly to improve problem above, the embodiment of the present application provides a kind of memory allocation method and device,
The LUN of storage system is provided capacity this parameter is adjusted to minimum and ensures two parameters of capacity and maximum capacity, so that depositing
The controller of storage system is according to the capacity allocation model of user configuration, minimum guarantee capacity and maximum capacity come the target to create
LUN distributes memory space.The content will be described below.
Referring to figure 2., Fig. 2 is a kind of flow diagram of memory allocation method provided by the embodiments of the present application.It should
Method can be applied to the controller 11 of storage system 10, and each step that this method includes is described below.
Step S21 receives capacity allocation model, minimum guarantee capacity and the maximum capacity of target LUN to be created,
In, the capacity allocation model is simplify configuration mode or thick configuration mode, and the minimum guarantee capacity is no more than the maximum
Capacity, the maximum capacity are no more than the total capacity of the storage system.
In the present embodiment, for newly-built target LUN is needed, user can configure target LUN's on a user device
Capacity allocation model, it is minimum ensure capacity and maximum capacity, and by corresponding trigger action by the capacity allocation model, institute
It states minimum guarantee capacity and the maximum capacity is sent to controller 11.Wherein, the trigger action for example can be click or
Choose the option for the newly-built LUN that user equipment provides.Accordingly, the capacity allocation model, the minimum guarantee capacity and institute
Stating maximum capacity can carry for requesting to be sent to controller 11 in the newly-built request for creating the target LUN.
Wherein, the minimum of user configuration ensures that capacity need to be no more than maximum capacity, and the maximum capacity need to be no more than described
The total capacity of storage system 10.In one embodiment, the minimum of user configuration can be detected by user equipment ensure capacity
Whether be more than maximum capacity, and detection user configuration maximum capacity whether be more than storage system 10 total capacity, if wherein
Any one judging result be it is yes, then user can be prompted to re-start configuration;If two judging results be it is no, by user
The capacity allocation model of configuration, minimum guarantee capacity and maximum capacity are sent to controller 11.
It in yet another embodiment, can be by user equipment directly by the capacity allocation model of user configuration, minimum guarantor
Barrier capacity and maximum capacity are sent to controller 11, controller 11 receive the capacity allocation model, it is minimum ensure capacity and
When maximum capacity, detects the minimum and ensure whether capacity is more than the maximum capacity and detects whether the maximum capacity is more than storage
The total capacity of system 10, if wherein any one judging result be it is yes, to user equipment output prompt information to prompt user
Re-start configuration;If two judging results be it is no, carry out subsequent step.
Certainly, in other embodiments, capacity and maximum capacity, which compare, to be ensured to minimum by user equipment
Compared with being compared by total capacity of the controller 11 to maximum capacity and storage system 10;Or by user equipment to maximum capacity
It is compared, is compared by 11 pairs of controller minimum guarantee capacity and maximum capacity, this reality with the total capacity of storage system 10
It applies example and is not limited system.
Step S22 determines the present available capacity of the storage system 10.
Wherein, the present available capacity of the storage system 10 refers to that the storage system 10 can be also used for the appearance of distribution
Amount.In detail, in the established LUN of the storage system 10, each the minimum of the LUN in thick configuration mode ensures capacity
It is biggish in the currently practical capacity of (or maximum capacity) and each LUN in simplify configuration mode and minimum guarantee capacity
One, be the capacity for being not used to distribution, and therefore, the total capacity removing of the storage system 10 is above-mentioned to be not used to distribute
Capacity, the as described present available capacity.
Based on this, in an embodiment of the present embodiment, step S22 may include each step shown in Fig. 3.
Step S31 determines the first LUN for being currently at thick configuration mode from the established LUN of the storage system 10,
It calculates the minimum of each first LUN and ensures the sum of capacity, or calculate the sum of the maximum capacity of each first LUN, obtain the first capacity.
Step S32, determination is currently at the second of simplify configuration mode from the storage system 10 established LUN
LUN calculates the minimum of each 2nd LUN and ensures the sum of capacity, obtains the second capacity.
In the present embodiment, it can recorde the related letter of LUN currently-established in storage system 10 in controller 11
Breath, the relevant information for example may include the currently practical capacity, minimum guarantee capacity and maximum capacity of established LUN
Deng.In addition, can also include for the first set created of the LUN in simplify configuration mode and for place in controller 11
In the second set that the LUN of thick configuration mode is created.Wherein, first set and second set can be distinguished by title,
For example, first set can be named as LUN_THIN, second set can be named as LUN_THICK.
It, can be first if the capacity allocation model of the LUN is simplify configuration mode when creating any one LUN
The identification information of the LUN is recorded in set;If the capacity allocation model of the LUN is thick configuration mode, can be in second set
The middle identification information for recording the LUN.
When implementing, the LUN that the identification information recorded in first set indicates can be determined as the first LUN, by second
The LUN of the identification information instruction recorded in set is determined as the 2nd LUN, and then the first appearance can be calculated by step S31
Amount, it may be assumed that the capacity that the LUN of all simplify configuration modes is occupied;And the second capacity is calculated by step S32, it may be assumed that institute
The capacity for thering is the LUN of thick configuration mode to occupy.Wherein, the first capacity and the second capacity can be distinguished by title, for example,
First capacity can be denoted as Capacity_thin, and the second capacity can be denoted as Capacity_thick.Certainly, in other examples
In, the first capacity and the second capacity can also use other titles.
Step S33 calculates the current capacities and minimum guarantee capacity of the 2nd LUN for identified each 2nd LUN
Difference, obtain one beyond capacity;If the capacity that exceeds is negative value, 0 is set as beyond capacity by described.
Step S34, calculate each 2nd LUN exceeds the sum of capacity, obtains beyond total capacity.
In implementation process, it is contemplated that when the LUN (that is: the first LUN) of simplify configuration mode be not enough to store it is to be written
When data, controller 11 ensure to distribute to the first LUN capacity be no more than the first LUN maximum capacity in the case where,
The first LUN dilatation can be given, therefore, the practical capacity occupied of the 2nd LUN may be that its minimum ensures capacity, it is also possible to which it is worked as
Preceding actual capacity.
In detail, if the currently practical capacity of the 2nd LUN is more than that its minimum ensures capacity, what the 2nd LUN was occupied
Capacity is its currently practical capacity;If the currently practical capacity of the 2nd LUN is not above its minimum and ensures capacity, this second
The capacity that LUN is occupied is that its minimum ensures capacity.
In this case, it is possible to the currently practical capacity of each 2nd LUN and the difference of minimum guarantee capacity be calculated, with true
Protect the accuracy for the present available capacity being calculated.
Step S35, according to the total capacity of the storage system 10, first capacity, second capacity and described super
The present available capacity of the storage system 10 is calculated in total capacity out.
In detail, total capacity and first capacity, second capacity and the institute of the storage system 10 can be calculated
The difference beyond total capacity is stated, as the present available capacity.
For example, it is assumed that: the total capacity of storage system 10 is Capacity_total, and the first capacity is Capacity_thin,
Second capacity be Capacity_thick, beyond total capacity be Capacity_exceed, then, and the storage system 10 it is current
Active volume Capacity_Max_Use=Capacity_total-Capacity_thick-Capacity_ thin-
Capacity_ex ceed。
In the other embodiments of the present embodiment, step S22 can be realized by following procedure:
It is determined from the established LUN of storage system 10 and is currently at the first LUN of thick configuration mode and is currently at
2nd LUN of simplify configuration mode;It calculates the minimum of each first LUN and ensures the sum of capacity, or calculate the maximum of each first LUN
The sum of capacity obtains the first capacity;For each 2nd LUN, by the currently practical capacity of the 2nd LUN and minimum guarantee capacity
In biggish one be determined as the 2nd LUN occupancy capacity;The sum of the capacity that each 2nd LUN is occupied is calculated, third appearance is obtained
Amount;The difference for calculating storage system 10 and first capacity and the third capacity, obtains the present available capacity.
Step S23, in the case where the capacity allocation model is thick configuration mode, if the minimum guarantee capacity does not surpass
The total capacity of the storage system 10 is crossed, and the maximum capacity is identical with the minimum guarantee capacity, then is creating the mesh
When marking LUN, the minimum memory space for ensureing capacity or the maximum capacity is distributed for the target LUN.
The Capacity Allocation Parameter for meeting the first above-mentioned capacity requirement can be configured by step S23.For example, when determining
When capacity needed for target LUN is 20TB, the capacity allocation model of target LUN can be arranged to thick configuration mode, by target
The minimum of LUM ensures that capacity and maximum guarantee capacity are all provided with and are set to 20TB.In this way, controller 11 can be newly-built target LUN
Distribute the memory space of 20TB.
Optionally, in one embodiment, if controller 11 detects the maximum capacity and the minimum guarantee
Capacity is not identical, then can input prompt information to user equipment to prompt user to re-start configuration.In another embodiment party
In formula, can by user equipment detect user configuration be target LUN configuration capacity allocation model be thick configuration mode when,
The maximum capacity of the target LUN is automatically set to value identical with the minimum guarantee capacity of user configuration.
Step S24, in the case where the capacity allocation model is simplify configuration mode, for the newly-built target LUN
Distribute the minimum memory space for ensureing capacity.
Step S25, after creating the target LUN, if the residual capacity of the target LUN be not enough to store it is to be written
Data then expand the memory space of the target LUN, and the target LUN is enabled to store the data to be written, and institute
It states the capacity after target LUN expands and is no more than the maximum capacity.
When implementing, if the capacity requirement of target LUN is the third above-mentioned situation, for example, uncertain target LUN needs
Particular capacity, but can determine that target LUN is at least needed using 10TB (Terabyte, terabyte).In this case, it is possible to
Simplify configuration mode is set by the capacity allocation model of target LUN, minimum by target LUN ensures that capacity is arranged to 10TB.
As for the maximum capacity of target LUN, there is no limit as long as be no more than the total capacity of storage system 10 herein.Certainly, at it
In his scene, in order to ensure other LUN there are enough capacity, the maximum capacity of target LUN is adjusted to being adapted to property.
By above-mentioned design, that is, the memory space for distributing to target LUN may make to meet target LUN to the need of minimum capacity
Ask, and the data of the storage needed for target LUN be more than the minimum capacity when, more memory spaces can be assigned to.In other words,
By designing above, user can configure suitable Capacity Allocation Parameter, so that the controller 11 of storage system 10 distributed
Memory space meets the third above-mentioned capacity requirement.
In addition, by above-mentioned design, suitable Capacity Allocation Parameter can also be configured, so that the distribution of controller 11 is deposited
It stores up space and meets second of capacity requirement.For example, capacity needed for completely uncertain target LUN in the case can
To set simplify configuration mode for the capacity allocation model of target LUN, the minimum guarantee capacity of target LUN is arranged to smaller
It is worth (for example, 0), the maximum capacity of target LUN is arranged to the value of the total capacity no more than storage system 10.
In this way, controller 11 can not distribute memory space for newly-built target LUN, or only distribute few memory space
To newly-built target LUN, when needing that data are written, corresponding memory space is distributed further according to the data volume for needing to be written.
On the basis of above-mentioned design, if the Capacity Allocation Parameter of user configuration is unreasonable, it is still likely to occur distribution
Memory space the case where being unable to satisfy the capacity requirement of target LUN.Based on this, the embodiment of the present application can be empty in distribution storage
Between before, detect the reasonability of the Capacity Allocation Parameter of user configuration.Accordingly, before executing step S22, the present embodiment is mentioned
The memory allocation method of confession can also include step shown in Fig. 4.
Step S41, the minimum guarantee capacity and the present available capacity.
Step S42, if the minimum guarantee capacity is no more than the present available capacity, for the newly-built target
LUN distributes the minimum memory space for ensureing capacity.
By above-mentioned design, it can be ensured that the reasonability of the Capacity Allocation Parameter of user setting, so that reasonably distribution is deposited
The memory space of storage system 10.
Optionally, if controller 11 detect it is described it is minimum ensure that capacity is more than the present available capacity, can be with
Prompt information is exported to user equipment, to prompt user configuration unreasonable or user is prompted to reconfigure Capacity Allocation Parameter.
It is worth noting that it is above-described in the case where the capacity allocation model of user configuration is thick configuration mode,
If it is by controller 11 to user configuration it is minimum ensure capacity and maximum capacity be compared and/or to the maximum capacity and
The step of total capacity of storage system 10 is compared, the two comparisons can be before executing step S41, later or parallel
It executes.
In application scenes, user may need to modify the Capacity Allocation Parameter for the LUN having built up, and control at this time
Device 11 can detect the modified Capacity Allocation Parameter of user, to ensure its reasonability.
Wherein, if user ensures capacity and/or maximum capacity to minimum in the case where not modifying capacity allocation model
It modifies, the detection of detection mode and the Capacity Allocation Parameter above-mentioned for treating newly-built target LUN that controller 11 uses
Mode is similar, and details are not described herein.
If user's modification is capacity allocation model, can be detected by mode described below.Accordingly,
After creating the target LUN, memory allocation method provided in this embodiment can also include following three steps.
First, the first modification request for the target LUN is received, described first modifies request instruction for the target
The capacity allocation model of LUN from simplify configuration schema modification be thick configuration mode.
Second, it determines in the storage system 10 for the target LUN target capacity used and the target LUN
Currently practical capacity, wherein the target capacity include the storage system 10 present available capacity and the target LUN
Currently practical capacity.
Wherein, target capacity, which refers to, is currently available for the capacity that target LUN is used in the storage system 10, specifically can wrap
The capacity that the present available capacity and target LUN for including storage system 10 have been dispensed into.
Optionally, in one embodiment, the target capacity can be calculated by step shown in Fig. 4, only
Target LUN need to be excluded from identified each first LUN when determining the LUN for being in simplify configuration mode,
Finally record a demerit according to what step shown in Fig. 4 was calculated as the target capacity.It in yet another embodiment, can be direct
The present available capacity of storage system 10 is calculated according to step shown in Fig. 4, then calculates the present available capacity and target
The sum of the currently practical capacity of LUN, the as described target capacity.
Third, in the case where meeting the first preset condition, by the capacity allocation model of the target LUN from simplify configuration
Schema modification is thick configuration mode, and the current minimum guarantee capacity of the target LUN is revised as first modification and is asked
It asks the minimum of middle instruction to ensure capacity, and the current maximum capacity of the target LUN is revised as first modification and is requested
The maximum capacity of middle instruction.
Wherein, first preset condition may include: that the minimum indicated in the first modification request ensures capacity not
More than the target capacity, and the minimum guarantee capacity indicated in the first modification request is current not less than the target LUN
It is minimum ensure capacity and the currently practical capacity, and the maximum capacity that is indicated in the first modification request and minimum protect
It is identical to hinder capacity.
Optionally, current minimum ensure of the minimum guarantee capacity and target LUN indicated in the first modification request is held
Amount may be the same or different.The current maximum capacity of the maximum capacity and target LUN indicated in the first modification request
It may be the same or different.
In the present embodiment, it limits modified minimum currently practical capacity of the guarantee capacity not less than target LUN and works as
Preceding minimum guarantee capacity, can be to avoid because the modification of Capacity Allocation Parameter lead to the loss of data in target LUN.
In addition, memory allocation method provided in this embodiment can also include following after creating the target LUN
Three steps.
First, the second modification request for the target LUN is received, described second modifies request instruction for the target
The capacity allocation model of LUN is revised as simplify configuration mode from thick configuration mode.
Second, determine the target capacity used in the storage system 10 for the target LUN, the target capacity packet
Include the present available capacity of the storage system 10 and the currently practical capacity of the target LUN.
Wherein, the meaning of the target capacity is similar with the target capacity being mentioned above, but its calculation and mentions above
And the calculation of target capacity be slightly different.In one embodiment, it can be calculated according to step shown in Fig. 3,
It only need to be when determining two LUN in thick configuration mode from the established LUN of storage system 10, from identified each the
The target LUN is excluded in two LUN, in this way, being the target capacity according to the result that step shown in Fig. 3 is calculated.?
In another embodiment, the present available capacity of storage system 10 can directly be calculated according to step shown in Fig. 3, and count
Calculate the currently practical capacity of the present available capacity and target LUN and, the as described target capacity.
The capacity allocation model of the target LUN is configured mould from thickness in the case where meeting the second preset condition by third
Formula is revised as simplify configuration mode, and the current minimum guarantee capacity of the target LUN is revised as second modification and is asked
It asks the minimum of middle instruction to ensure capacity, and the current minimum guarantee capacity of the target LUN is revised as second modification
The maximum capacity indicated in request.
Wherein, second preset condition may include: that the minimum indicated in the second modification request ensures capacity not
More than the target capacity and the minimum current not less than the target LUN ensures capacity, and in the second modification request
The maximum capacity of instruction is no more than the total capacity of the storage system 10.
It referring to figure 5., is a kind of hardware structural diagram of controller 11 provided in this embodiment.Controller 11 can wrap
Include processor 111 and machine readable storage medium 112.Processor 111 and machine readable storage medium 112 can be via system bus
Communication.Also, machine readable storage medium 112 is stored with machine-executable instruction, by reading and executing the executable finger of machine
It enables, above-described memory allocation method can be performed in processor 111.
Machine readable storage medium mentioned in this article can be any electronics, magnetism, optics or other physical stores dress
It sets, may include storage information, such as executable instruction, data.
Fig. 6 is please referred to, is a kind of functional block diagram of memory allocation device 30 provided by the embodiments of the present application.It deposits
Storage space distributor 30 includes that at least one can be stored in the function mould in machine readable storage medium 112 in a software form
Block.It functionally divides, memory allocation device 30 may include receiving module 31, parameter detection module 32 and distribution module
33。
Receiving module 31 is used to receive capacity allocation model, minimum guarantee capacity and the maximum appearance of target LUN to be created
Amount, wherein the capacity allocation model is simplify configuration mode or rear configuration mode, and the minimum guarantee capacity is no more than described
Maximum capacity, the maximum capacity are no more than the total capacity of the storage sound zone system 10.
Parameter detection module 32 is used to determine the present available capacity of storage system 10.
Optionally, parameter detection module 33 can be determined as follows the currently available appearance of the storage system 10
Amount:
It is determined from the established LUN of the storage system 10 and is currently at the first LUN of thick configuration mode, calculate each the
The minimum of one LUN ensures the sum of capacity, or calculates the sum of the maximum capacity of each first LUN, obtains the first capacity;It is deposited from described
The 2nd LUN for being currently at simplify configuration mode is determined in the established LUN of storage system 10, is calculated the minimum of each 2nd LUN and is protected
Hinder the sum of capacity, obtains the second capacity;For identified each 2nd LUN, the current capacities and minimum of the 2nd LUN are calculated
The difference for ensureing capacity obtains one beyond capacity;If the capacity that exceeds is negative value, 0 is set as beyond capacity by described;It calculates
Each 2nd LUN's exceeds the sum of capacity, obtains beyond total capacity;Held according to the total capacity of the storage system 10, described first
Amount, second capacity and the present available capacity that the storage system 10 is calculated beyond total capacity.
Distribution module 32 is used for: in the case where the capacity allocation model is thick configuration mode, if the minimum guarantee
Capacity is no more than the present available capacity, and the maximum capacity is identical with the minimum guarantee capacity, then newly-built described
When target LUN, the minimum memory space for ensureing capacity or the maximum capacity is distributed for the target LUN;In the appearance
In the case where allocation model is measured as simplify configuration mode, depositing for the minimum guarantee capacity is distributed for the newly-built target LUN
Store up space;After creating the target LUN, if the residual capacity of the target LUN is not enough to store data to be written, expand
The memory space of the big target LUN, enables the target LUN to store the data to be written, and the target LUN
Capacity after expansion is no more than the maximum capacity.
Optionally, in the present embodiment, the parameter detection module 33 is used to distribute institute for the newly-built target LUN
Before stating the minimum memory space for ensureing capacity, the minimum guarantee capacity and the present available capacity;If it is described most
Small guarantee capacity is no more than the present available capacity, then distributes the minimum guarantee capacity for the newly-built target LUN
Memory space.
Optionally, in the present embodiment, receiving module 31 can be also used for receiving the first modification for the target LUN
Request, the first modification request instruction match the capacity allocation model of the target LUN from simplify configuration schema modification for thickness
Set mode.
In the case, parameter detection module 33 can be also used for determining in the storage system 10 for the target
The currently practical capacity of target capacity and the target LUN that LUN is used, wherein the target capacity is equal to the storage
The currently practical capacity of the present available capacity of system 10 and the target LUN and.
Distribution module 32 can be also used in the case where meeting the first preset condition, by the capacity of the target LUN point
From simplify configuration schema modification it is thick configuration mode with mode, and current minimum of the target LUN is ensured into capacity modification
The minimum guarantee capacity indicated in request is modified for described first, and the current minimum of the target LUN is ensured that capacity is repaired
It is changed to the maximum capacity indicated in the first modification request.
Wherein, first preset condition includes: that the minimum guarantee capacity indicated in the first modification request is no more than
The target capacity, and the minimum guarantee capacity indicated in the first modification request is current not less than the target LUN most
Small guarantee capacity and the currently practical capacity, and the maximum capacity indicated in the first modification request and minimum ensure are held
It measures identical.
Optionally, distribution module 32 can be also used in the case where the capacity allocation model is thick configuration mode, if
The minimum guarantee capacity is no more than the present available capacity, and the maximum capacity is identical with the minimum guarantee capacity,
Then when creating the target LUN, it is empty that the minimum storage for ensureing capacity or the maximum capacity is distributed for the target LUN
Between.
Optionally, receiving module 31 can be also used for receiving modifying for the second of the target LUN and request, and described second
The capacity allocation model of the target LUN is revised as simplify configuration mode from thick configuration mode by modification request instruction.
In the case, parameter detection module 33 can be also used for determining in the storage system 10 for the target
The target capacity that LUN is used, the target capacity are equal to the present available capacity of the storage system 10 with the target LUN's
The sum of currently practical capacity.
Distribution module 32 can be also used in the case where meeting the second preset condition, by the capacity of the target LUN point
Simplify configuration mode, and the minimum guarantee capacity modification that the target LUN is current are revised as from rear configuration mode with mode
The minimum guarantee capacity indicated in request is modified for described second, and the current minimum of the target LUN is ensured that capacity is repaired
It is changed to the maximum capacity indicated in the second modification request.
Wherein, second preset condition includes: that the minimum guarantee capacity indicated in the second modification request is no more than
The target capacity and the minimum guarantee capacity current not less than the target LUN, and indicated in the second modification request
Maximum capacity be no more than the storage system 10 total capacity.
Detailed description about above-mentioned functional module specifically refers to the hereinbefore description to corresponding steps.
In conclusion the embodiment of the present application provides a kind of memory allocation method and device, capacity point is additionally arranged for LUN
With parameter: capacity allocation model, minimum guarantee capacity and maximum capacity, so that storage system 10 is target LUN's to be created
In the case that capacity allocation model is thick configuration mode, if its minimum ensures that capacity is no more than the currently available appearance of storage system
Amount, and minimum ensures that capacity is identical with maximum capacity, then distributes minimum guarantee capacity or the maximum capacity for target LUN
Memory space.In the case where the capacity allocation model of target LUN is simplify configuration mode, most for newly-built target LUN distribution
The small memory space for ensureing capacity;After new destination LUN, if its residual capacity is not enough to store data to be written, expand
The memory space of big target LUN enables target LUN to store the data to be written, and the capacity after target LUN expansion is not
More than the maximum capacity of target LUN.For particular capacity size needed for uncertain target LUN, but it can determine target LUN institute
The case where minimum capacity needed, can distribute the memory space for meeting the situation by above-mentioned design to target LUN.
In embodiment provided herein, it should be understood that disclosed device and method, it can also be by other
Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown
According to device, the architectural framework in the cards of method and computer program product, function of multiple embodiments of the application
And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code
Point, a part of the module, section or code includes one or more for implementing the specified logical function executable
Instruction.It should also be noted that function marked in the box can also be attached to be different from some implementations as replacement
The sequence marked in figure occurs.For example, two continuous boxes can actually be basically executed in parallel, they sometimes may be used
To execute in the opposite order, this depends on the function involved.It is also noted that each of block diagram and or flow chart
The combination of box in box and block diagram and or flow chart can be based on the defined function of execution or the dedicated of movement
The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.
Claims (10)
1. a kind of memory allocation method, the controller applied to storage system, which is characterized in that the described method includes:
Receive capacity allocation model, minimum guarantee capacity and the maximum capacity of destination logical unit LUN to be created, wherein
The capacity allocation model is simplify configuration mode or thickness configuration mode, and the minimum guarantee capacity is no more than the maximum appearance
Amount, the maximum capacity are no more than the total capacity of the storage system;
Determine the present available capacity of the storage system;
In the case where the capacity allocation model is thick configuration mode, if the minimum guarantee capacity currently may be used no more than described
With capacity, and the maximum capacity with it is described it is minimum ensure that capacity is identical, then be the target when creating the target LUN
LUN distributes the minimum memory space for ensureing capacity or the maximum capacity;
In the case where the capacity allocation model is simplify configuration mode, the minimum is distributed for the newly-built target LUN
Ensure the memory space of capacity;
After creating the target LUN, if the residual capacity of the target LUN is not enough to store data to be written, expand
The memory space of the target LUN enables the target LUN to store the data to be written, and the target LUN expands
Capacity after big is no more than the maximum capacity.
2. memory allocation method according to claim 1, which is characterized in that be newly-built the target LUN points
Before the minimum memory space for ensureing capacity, the method also includes:
Compare the minimum guarantee capacity and the present available capacity;
If the minimum guarantee capacity is no more than the present available capacity, described most for newly-built target LUN distribution
The small memory space for ensureing capacity.
3. according to the method described in claim 2, it is characterized in that, after creating the target LUN, the method also includes:
The first modification request for the target LUN is received, described first modifies request instruction for the capacity of the target LUN
Allocation model from simplify configuration schema modification be thick configuration mode;
It determines in the storage system for the currently practical of the target LUN target capacity used and the target LUN
Capacity, wherein the target capacity includes the present available capacity of the storage system and the currently practical appearance of the target LUN
Amount;
In the case where meeting the first preset condition, by the capacity allocation model of the target LUN from simplify configuration schema modification
For thick configuration mode, and current minimum of the target LUN ensured that capacity is revised as indicating in the first modification request
It is minimum ensure capacity, and the current maximum capacity of the target LUN is revised as indicating in the first modification request
Maximum capacity;
Wherein, first preset condition includes:
The minimum guarantee capacity indicated in the first modification request is no more than the target capacity, and the first modification request
The minimum minimum for ensureing that capacity is current not less than the target LUN of middle instruction ensures capacity and the currently practical capacity,
And the maximum capacity indicated in the first modification request ensures that capacity is identical with minimum.
4. the method according to claim 1, wherein the method also includes:
The second modification request for the target LUN is received, described second modifies request instruction for the capacity of the target LUN
Allocation model is revised as simplify configuration mode from thick configuration mode;
Determine that the target capacity used in the storage system for the target LUN, the target capacity include the storage
The currently practical capacity of the present available capacity of system and the target LUN;
In the case where meeting the second preset condition, the capacity allocation model of the target LUN is revised as from thick configuration mode
Simplify configuration mode, and the current minimum guarantee capacity of the target LUN is revised as indicating in the second modification request
It is minimum ensure capacity, and current minimum of the target LUN is ensured that capacity is revised as the second modification request middle finger
The maximum capacity shown;
Wherein, second preset condition includes:
The minimum guarantee capacity indicated in the second modification request is no more than the target capacity and not less than the target LUN
Current minimum guarantee capacity, and the maximum capacity indicated in the second modification request is no more than the total of the storage system
Capacity.
5. method described in any one of -4 according to claim 1, which is characterized in that determine that the current of the storage system can
With capacity, comprising:
The first LUN for being currently at thick configuration mode is determined from the established LUN of the storage system, calculates each first LUN
It is minimum ensure the sum of capacity, or calculate the sum of the maximum capacity of each first LUN, obtain the first capacity;
The 2nd LUN for being currently at simplify configuration mode is determined from the established LUN of the storage system, calculates each second
The minimum of LUN ensures the sum of capacity, obtains the second capacity;
For identified each 2nd LUN, the current capacities of the 2nd LUN and the difference of minimum guarantee capacity are calculated, obtain one
Beyond capacity;If the capacity that exceeds is negative value, 0 is set as beyond capacity by described;
Calculate each 2nd LUN exceeds the sum of capacity, obtains beyond total capacity;
It is calculated according to the total capacity of the storage system, first capacity, second capacity and the total capacity that exceeds
To the present available capacity of the storage system.
6. a kind of memory allocation device, the controller applied to storage system, which is characterized in that described device includes:
Receiving module, for receiving capacity allocation model, minimum guarantee capacity and the maximum capacity of target LUN to be created,
In, the capacity allocation model is simplify configuration mode or rear configuration mode, and the minimum guarantee capacity is no more than the maximum
Capacity, the maximum capacity are no more than the total capacity of the storage system;
Parameter detection module, for determining the present available capacity of the storage system;
Distribution module is used for:
In the case where the capacity allocation model is thick configuration mode, if the minimum guarantee capacity currently may be used no more than described
With capacity, and the maximum capacity with it is described it is minimum ensure that capacity is identical, then be the target when creating the target LUN
LUN distributes the minimum memory space for ensureing capacity or the maximum capacity;
In the case where the capacity allocation model is simplify configuration mode, the minimum is distributed for the newly-built target LUN
Ensure the memory space of capacity;After creating the target LUN, if the residual capacity of the target LUN be not enough to store it is to be written
The data entered then expand the memory space of the target LUN, and the target LUN is enabled to store the data to be written,
And the capacity after the target LUN expansion is no more than the maximum capacity.
7. device according to claim 6, which is characterized in that
The parameter detection module is also used to distributing the minimum storage sky for ensureing capacity for the newly-built target LUN
Between before, it is more described minimum to ensure capacity and the present available capacity;If the minimum guarantee capacity is no more than described work as
Preceding active volume then distributes the minimum memory space for ensureing capacity for the newly-built target LUN.
8. device according to claim 7, which is characterized in that
The receiving module is also used to receive the first modification request for the target LUN, the first modification request instruction
By the capacity allocation model of the target LUN from simplify configuration schema modification be thick configuration mode;
The parameter detection module, be also used to determine the target capacity that uses in the storage system for the target LUN with
And the currently practical capacity of the target LUN, wherein the target capacity include the storage system present available capacity with
The currently practical capacity of the target LUN;
The distribution module is also used in the case where meeting the first preset condition, by the capacity allocation model of the target LUN
It is thick configuration mode from simplify configuration schema modification, and that current minimum of the target LUN ensured that capacity is revised as is described
First modifies the minimum guarantee capacity indicated in request, and the current minimum of the target LUN is ensured that capacity is revised as institute
State the maximum capacity indicated in the first modification request;
Wherein, first preset condition includes:
The minimum guarantee capacity indicated in the first modification request is no more than the target capacity, and the first modification request
The minimum minimum for ensureing that capacity is current not less than the target LUN of middle instruction ensures capacity and the currently practical capacity,
And the maximum capacity indicated in the first modification request ensures that capacity is identical with minimum.
9. device according to claim 6, which is characterized in that
The receiving module is also used to receive the second modification request for the target LUN, the second modification request instruction
The capacity allocation model of the target LUN is revised as simplify configuration mode from thick configuration mode;
The parameter detection module is also used to determine the target capacity used in the storage system for the target LUN, institute
Stating target capacity includes the present available capacity of the storage system and the currently practical capacity of the target LUN;
The distribution module is also used in the case where meeting the second preset condition, by the capacity allocation model of the target LUN
Simplify configuration mode is revised as from rear configuration mode, and that current minimum of the target LUN ensured that capacity is revised as is described
Second modifies the minimum guarantee capacity indicated in request, and the current minimum of the target LUN is ensured that capacity is revised as institute
State the maximum capacity indicated in the second modification request;
Wherein, second preset condition includes:
The minimum guarantee capacity indicated in the second modification request is no more than the target capacity and not less than the target LUN
Current minimum guarantee capacity, and the maximum capacity indicated in the second modification request is no more than the total of the storage system
Capacity.
10. the device according to any one of claim 6-9, the parameter detection module determines institute in the following manner
State the present available capacity of storage system:
The first LUN for being currently at thick configuration mode is determined from the established LUN of the storage system, calculates each first LUN
It is minimum ensure the sum of capacity, or calculate the sum of the maximum capacity of each first LUN, obtain the first capacity;
The 2nd LUN for being currently at simplify configuration mode is determined from the established LUN of the storage system, calculates each second
The minimum of LUN ensures the sum of capacity, obtains the second capacity;
For identified each 2nd LUN, the current capacities of the 2nd LUN and the difference of minimum guarantee capacity are calculated, obtain one
Beyond capacity;If the capacity that exceeds is negative value, 0 is set as beyond capacity by described;
Calculate each 2nd LUN exceeds the sum of capacity, obtains beyond total capacity;
It is calculated according to the total capacity of the storage system, first capacity, second capacity and the total capacity that exceeds
To the present available capacity of the storage system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190307.5A CN110007858B (en) | 2019-03-13 | 2019-03-13 | Storage space allocation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910190307.5A CN110007858B (en) | 2019-03-13 | 2019-03-13 | Storage space allocation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110007858A true CN110007858A (en) | 2019-07-12 |
CN110007858B CN110007858B (en) | 2022-12-06 |
Family
ID=67167018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910190307.5A Active CN110007858B (en) | 2019-03-13 | 2019-03-13 | Storage space allocation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110007858B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631951A (en) * | 2020-12-22 | 2021-04-09 | 新华三大数据技术有限公司 | Storage space allocation method and device |
CN113419672A (en) * | 2021-06-04 | 2021-09-21 | 济南浪潮数据技术有限公司 | Storage capacity management method, system and storage medium |
CN114489508A (en) * | 2022-01-26 | 2022-05-13 | 重庆紫光华山智安科技有限公司 | Data management method, device, equipment and medium |
WO2023284177A1 (en) * | 2021-07-12 | 2023-01-19 | 长鑫存储技术有限公司 | Semiconductor memory and capacity configuration method for storage block thereon |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8547745B1 (en) * | 2012-11-16 | 2013-10-01 | Avalanche Technology, Inc. | Host-managed logical mass storage device using magnetic random access memory (MRAM) |
CN103678151A (en) * | 2013-12-20 | 2014-03-26 | 汉柏科技有限公司 | Configuration method and configuration device of block storage device of virtual machine |
US20140089921A1 (en) * | 2012-09-27 | 2014-03-27 | Emc Corporation | Method and system for managing virtual machine disks |
WO2014092381A1 (en) * | 2012-12-12 | 2014-06-19 | 국민대학교산학협력단 | System and method for managing scratchpad memory |
CN104023085A (en) * | 2014-06-25 | 2014-09-03 | 武汉大学 | Security cloud storage system based on increment synchronization |
CN105122202A (en) * | 2013-03-14 | 2015-12-02 | 微软技术许可有限责任公司 | File system operation on multi-tiered volume |
US20160203016A1 (en) * | 2015-01-09 | 2016-07-14 | Ixia | Methods, systems, and computer readable media for virtual machine (vm) deployment |
CN106469193A (en) * | 2016-08-30 | 2017-03-01 | 北京航空航天大学 | Multi load metadata I/O service quality performance support method and system |
CN107748756A (en) * | 2017-09-20 | 2018-03-02 | 努比亚技术有限公司 | Collecting method, mobile terminal and readable storage medium storing program for executing |
-
2019
- 2019-03-13 CN CN201910190307.5A patent/CN110007858B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140089921A1 (en) * | 2012-09-27 | 2014-03-27 | Emc Corporation | Method and system for managing virtual machine disks |
US8547745B1 (en) * | 2012-11-16 | 2013-10-01 | Avalanche Technology, Inc. | Host-managed logical mass storage device using magnetic random access memory (MRAM) |
WO2014092381A1 (en) * | 2012-12-12 | 2014-06-19 | 국민대학교산학협력단 | System and method for managing scratchpad memory |
CN105122202A (en) * | 2013-03-14 | 2015-12-02 | 微软技术许可有限责任公司 | File system operation on multi-tiered volume |
CN103678151A (en) * | 2013-12-20 | 2014-03-26 | 汉柏科技有限公司 | Configuration method and configuration device of block storage device of virtual machine |
CN104023085A (en) * | 2014-06-25 | 2014-09-03 | 武汉大学 | Security cloud storage system based on increment synchronization |
US20160203016A1 (en) * | 2015-01-09 | 2016-07-14 | Ixia | Methods, systems, and computer readable media for virtual machine (vm) deployment |
CN106469193A (en) * | 2016-08-30 | 2017-03-01 | 北京航空航天大学 | Multi load metadata I/O service quality performance support method and system |
CN107748756A (en) * | 2017-09-20 | 2018-03-02 | 努比亚技术有限公司 | Collecting method, mobile terminal and readable storage medium storing program for executing |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112631951A (en) * | 2020-12-22 | 2021-04-09 | 新华三大数据技术有限公司 | Storage space allocation method and device |
CN113419672A (en) * | 2021-06-04 | 2021-09-21 | 济南浪潮数据技术有限公司 | Storage capacity management method, system and storage medium |
CN113419672B (en) * | 2021-06-04 | 2023-06-13 | 济南浪潮数据技术有限公司 | Storage capacity management method, system and storage medium |
US11875045B2 (en) | 2021-07-02 | 2024-01-16 | Changxin Memory Technologies, Inc. | Semiconductor memory and method for density configuring of bank of semiconductor memory |
WO2023284177A1 (en) * | 2021-07-12 | 2023-01-19 | 长鑫存储技术有限公司 | Semiconductor memory and capacity configuration method for storage block thereon |
CN114489508A (en) * | 2022-01-26 | 2022-05-13 | 重庆紫光华山智安科技有限公司 | Data management method, device, equipment and medium |
CN114489508B (en) * | 2022-01-26 | 2023-09-01 | 重庆紫光华山智安科技有限公司 | Data management method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN110007858B (en) | 2022-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110007858A (en) | Memory allocation method and device | |
CN104636080B (en) | Storage system and the method for it | |
CN106055431B (en) | The method and device of backup and recovery based on the online rollback of snapshot | |
US7702865B2 (en) | Storage system and data migration method | |
CN110471688A (en) | Operation system processing method, device, equipment and storage medium | |
CN104407935B (en) | Snapshot rollback method and storage device | |
CN107111531A (en) | Use the data recovery of distribution diagram | |
JP2013509658A (en) | Allocation of storage memory based on future usage estimates | |
JP2007042034A (en) | Computer system, management computer, and method for managing logic storage domain | |
US20150236974A1 (en) | Computer system and load balancing method | |
US9792050B2 (en) | Distributed caching systems and methods | |
CN111488198A (en) | Virtual machine scheduling method, system and medium in super-fusion environment | |
US20160014200A1 (en) | Identifying workload and sizing of buffers for the purpose of volume replication | |
CN104272242A (en) | Creating encrypted storage volumes | |
CN107729536A (en) | A kind of date storage method and device | |
CN109871181A (en) | A kind of Object Access method and device | |
CN108475201A (en) | A kind of data capture method in virtual machine start-up course and cloud computing system | |
CN104715044B (en) | A kind of distributed system and its data manipulation method | |
CN109213447A (en) | A kind of SAN storage volume carry, discharging method and system | |
CN106201346B (en) | A kind of data processing method and storage equipment | |
CN113311996A (en) | OSD role adjusting method and device | |
CN107329798A (en) | Method, device and the virtualization system of data duplication | |
CN105511959A (en) | Method and device for distributing virtual resource | |
US8468303B2 (en) | Method and apparatus to allocate area to virtual volume based on object access type | |
WO2018235132A1 (en) | Distributed storage system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |