CN109725844A - A kind of disk distribution method, device and storage system - Google Patents
A kind of disk distribution method, device and storage system Download PDFInfo
- Publication number
- CN109725844A CN109725844A CN201711052830.9A CN201711052830A CN109725844A CN 109725844 A CN109725844 A CN 109725844A CN 201711052830 A CN201711052830 A CN 201711052830A CN 109725844 A CN109725844 A CN 109725844A
- Authority
- CN
- China
- Prior art keywords
- disk
- user
- resource
- distributed
- allowance
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A kind of disk distribution method, device and storage system, storage system receive user to the demand information of memory space and storage performance;The disk resource of one seed type disk is distributed to the user or the disk resource of multiple types disk combines and distribute to the user by the storage system according to the demand information.The storage device of the application includes memory, processor and computer program, and the processor realizes the processing of the application method when executing the calculation procedure.The application can voluntarily be selected as user according to user demand and distribute a type of disk or a plurality of types of disks, to preferably meet user to the various demands of memory space and storage performance.
Description
Technical field
The present invention relates to memory technologies, more particularly, to a kind of disk distribution method, device and storage system.
Background technique
Demand of the user to storage is based on two dimensions: memory space and storage performance at present.Memory space is to store
Capacity, storage performance are generally characterized with parameters such as IPOS, handling capacities.Wherein, IOPS, that is, I/O per second, i.e., reading per second
Write (I/O) number of operations.The write-in of the flow of the handling capacity of disk i.e. magnetic disc i/o per second, i.e. disk is plus the data read
Size, the two be it is associated, the common counter for embodying storage performance is IOPS.
Common disk type includes: SATA (Serial Advanced Technology Attachment, serial ATA
Interface specification) disk, SCSI (Small Computer System Interface, small computer system interface) disk,
SAS (Serial Attached SCSI, Serial Attached SCSI (SAS)) disk, NVME (: Non-Volatile Memory Express:
Nonvolatile memory standard) disk, etc..
The memory space and storage performance that some illustrative disk types can be provided is given below:
3,5 " revolving speed is the SATA disk of 7.200rpm, IOPS 65, space 4T;
3,5 " revolving speed is the SAS disk of 15.000rpm, IOPS 146, space 2T;
3,5 " revolving speed is the SAS disk of 15.000rpm, IOPS 146, space 4T;
Low side SSD disk, IOPS 1XXXX-3XXXX, space 800G, " X " can be an arbitrary number in 0~9
Word;
Middle-end SSD disk, IOPS 3XXXX-6XXXX, space 800G;
High-end SSD disk, IOPS 6XXXX-1XXXXX, space 800G;
Nvme disk, IOPS 3xxxxx, space 800G.
As can be seen that memory space provided by different type disk and storage performance are different, for example, 100 pieces of SAS
Hard disk could provide the IOPS close to low side SSD disk, but the memory space that provides of 100 pieces of SAS hard disks is considerably beyond low side SSD
The memory space that disk can be provided.For same type of disk, storage performance and memory space are substantially positively correlated
's.For example, memory space increases by 2 times, and IOPS also substantially increases by 2 times when the quantity of disk increases by 2 times.
With the continuous development of public cloud, there is multiple types disk in storage cluster internal mix in the storage system on backstage
The case where deployment, such as.What the part server in storage cluster was disposed is SATA disk, and another part server disposition
It is SAS disk, it is also possible to which there are three types of above type of disks for deployment.In the related technology, the front end system of public cloud can be by backstage
Different type pack disk is sold at different grades of cloud disk, by user according to oneself demand to memory space and storage performance
The cloud disk of a certain grade is voluntarily selected, this is inconvenient for a user, and user is to memory space and storage performance
The opposite cloud disk that can be selected of demand for be not always it is positively related, when this makes user select the cloud disk of a certain grade,
When meeting the needs of storage performance, memory space may be many beyond demand, to cause to waste.In addition, medium and small user
When buying cloud disk, may consider cost performance and select comparatively cheap low performance cloud disk, such cloud disk backstage is mostly be by
SATA disk is constituted.During the business development of user, demand of the user to memory space and storage performance often changes
's.
At present cloud computing in the market, each manufacturer is empty for storage when designing storage system such as cloud storage system
Between increased requirement, provide solution for user with can be convenient, such as increase the quantity of disk.But if user couple
The demand of memory space and storage performance is in non-positive off status, such as requires space invariance and performance increases by 4 times, can adopt
With the following methods:
Mode one buys more same type disks to meet storage performance demand, if selecting this mode, user is frequent
Need to buy the memory space well beyond oneself demand to obtain required storage performance, cost is very high.
Mode two buys the higher another type disk of storage performance.If selecting this mode, it is also difficult to there is a type
Type disk not will cause waste while meeting user to the needs of memory space and storage performance.And data are moved
Shifting amount is very big, and user needs oneself to solve the problems, such as the data thermophoresis from old disk to new disk, this is that user is reluctant to face
Technical problem.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of disk distribution methods, comprising:
Storage system receives user to the demand information of memory space and storage performance;
The storage system according to the demand information, by the disk resource of a seed type disk distribute to the user or
The disk resource of multiple types disk is combined and distributes to the user by person.
In view of this, the embodiment of the invention also provides a kind of storage system, including front end subsystem and control subsystem,
Wherein:
The front end subsystem, for receiving user to the demand information of memory space and storage performance, by the demand
Information is sent to the control subsystem;
The control subsystem, for according to the demand information, the disk resource of a seed type disk to be distributed to institute
It states user or the disk resource of multiple types disk combines and distribute to the user.
In view of this, the embodiment of the invention also provides a kind of disk distributor, including memory, processor and storage
On the memory and the computer program that can run on the processor, when the processor executes the calculation procedure
Realize following processing:
User is obtained to the demand information of memory space and storage performance;
According to the demand information, the disk resource of a seed type disk is distributed into the user or by multiple types
The disk resource of disk, which combines, distributes to the user.
In view of this, being stored thereon with computer the embodiment of the invention also provides a kind of computer readable storage medium
Program, which is characterized in that following processing is realized when the computer program is executed by processor:
User is obtained to the demand information of memory space and storage performance;
According to the demand information, the disk resource of a seed type disk is distributed into the user or by multiple types
The disk resource of disk, which combines, distributes to the user.
In above-described embodiment, storage system can voluntarily be selected as user according to user demand and distribute a type of disk
Or a plurality of types of disks, to preferably meet user to the various demands of memory space and storage performance.
Detailed description of the invention
Fig. 1 is the flow chart of one disk distribution method of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of one storage system of the embodiment of the present invention;
Fig. 3 be the embodiment of the present invention two based on storage system schematic diagram;
Fig. 4 is the illustrative flow chart that the embodiment of the present invention two realizes user demand adjustment.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature can mutual any combination.
Embodiment one
The storage system of the present embodiment is by taking the block storage system of public cloud as an example, and there are many types for deployment in the storage system
Disk, can demand according to user to memory space and storage performance, provide two kinds of methods of salary distribution, one is by a type
The disk resource of type disk distributes to user, and another kind is that the disk resource of multiple types disk combines to distribute to use
Family.The memory space and storage performance that the disk resource combination of multiple types disk can be provided are more diversified, thus more hold
Easily meet the diversified demand of user storage space and storage performance.
The disk distribution method of the present embodiment is as shown in Figure 1, comprising: step 110, it is empty to storage that storage system receives user
Between and storage performance demand information;Step 120, the storage system is according to the demand information, by a seed type disk
Disk resource, which distributes to the user or the disk resource of multiple types disk combines, distributes to the user.It is above-mentioned
User to the demand information of memory space and storage performance can be user for the first time propose demand information, i.e., storage system it
It is preceding not distribute cloud disk for user, it is also possible to the new demand proposed when user upgrades existing cloud disk.The application disk
Type division is not limited to divide according to interface specification, and the different disk in the space and/or performance provided is different type
Disk, the disk resource of different type disk can be provided.
In the present embodiment, if demand of the user to memory space and to the ratio between the demand of storage performance, and appoint
Ratio gap between the memory space that one seed type disk provides and storage performance is larger, at this time if by a seed type disk
Disk resource distribute to user, then may have the biggish wasting of resources.It is assumed that in one example, user is empty to storage
Between demand be 10T, the demand to IOPS (representing storage performance) be 10000 (unit as time/second, omit below), memory space
It is 1: 1000 with the ratio between IOPS;The disk type that can be distributed in storage system has 2 kinds: first kind disk and Second Type magnetic
Disk, it is assumed that the memory space of 1 piece of first kind disk (such as SAS) is 2T and IOPS is 150, and the ratio between memory space and IOPS are 1:
75.The memory space of 1 piece of Second Type disk (such as low side SSD) is 0.8T and IOPS is 10000, the ratio between memory space and IOPS
It is 1: 12500.
Disk resource for user's distribution must satisfy demand of the user to memory space and storage performance, then, if
The disk resource of first kind disk is distributed into user, then needs to distribute 70 pieces of first kind disks and (does not account for here superfluous
It is remaining, if there is the requirement of redundancy, can again more points it is some), the IOPS provided at this time is 10500, slightly above the 10000 of demand,
And the memory space provided is 140T, the significantly larger than 10T of demand.If the disk resource of Second Type disk is distributed to use
Family then needs to distribute 13 pieces of Second Type disks, and the memory space provided at this time is 10.4T, the slightly above 10T of demand, and is mentioned
The IOPS of confession is 130000, significantly larger than the 10000 of demand.Thus, either distribution first kind disk still distributes second
Type disk always has a meeting far beyond demand in the memory space provided and storage performance, results in waste of resources, also improve
User cost.
In view of above situation, storage system described in the present embodiment is according to the demand information, by a seed type disk
Disk resource, which distributes to the user or the disk resource of multiple types disk combines, distributes to the user, uses
Following strategy:
Judge whether that an at least seed type disk meets to impose a condition:
If so, the disk resource of one seed type disk of selection distributes to the user;
If not, the disk resource of multiple types disk is distributed to the user, provide distributed disk resource
The allowance of memory space and the allowance of storage performance of offer be less than corresponding maximum allowance;
The setting condition is: when the disk resource of the type disk is distributed to the user, the disk distributed is provided
The allowance of the storage performance of the allowance and offer for the memory space that source provides is less than corresponding maximum allowance.
The allowance of above-mentioned memory space refers to that the memory space that the storage resource of distribution provides removes and meets user to memory space
Demand outside remaining amount.And the allowance of storage performance refers to storage performance that the storage resource of distribution provides except meeting user to depositing
Store up remaining amount outside the demand of performance.In the present embodiment, the storage of the allowance remaining memory space and demand of memory space
The ratio between space indicates, the ratio between allowance storage performance of remaining storage performance and demand of storage performance indicates.But
In other embodiments, the allowance of memory space can also be indicated directly with the quantity of remaining memory space, storage performance it is abundant
Amount can also be indicated directly with the quantity of remaining storage performance.
In the examples described above, if the disk resource of first kind disk is distributed to user, the memory space provided
Allowance be (140T-10T)/10T=13, indicate that then for 1300%, the allowance of the storage performance provided is with percentage
(10500-10000)/10000=0.05.And if the disk resource of Second Type disk is distributed to user, what is provided deposits
The allowance for storing up space is (10.4T-10T)/10T=0.04, the allowance of the storage performance provided be (130000-10000)/
10000=12 indicates then to be 1200% with percentage.
It is above-mentioned strategy in, maximum allowance be it is preset, in the present embodiment, the maximum allowance of memory space is set as 3,
I.e. remaining memory space at most can be 3 times of the memory space of demand.The maximum allowance of IOPS is set as 5, i.e., remaining
IOPS at most can be 5 times with the IOPS of demand.In order to avoid causing the excessive wasting of resources.In other embodiments, if deposited
The allowance in storage space directly indicates that then the maximum allowance of memory space can be directly disposed as with the quantity of remaining memory space
The quantity of memory space such as 10T, storage performance are also similar.
In the examples described above, when making decisions, because when the disk resource of distribution first kind disk is to user, storage
The allowance in space is 13, has been more than the maximum allowance 3 of memory space, and distributes the disk resource of Second Type disk to user
When, the allowance of storage performance is 12, has been more than the maximum allowance of storage performance, therefore, has judged whether an at least seed type
When disk meets setting condition, whether judging result, the disk resource of multiple types disk should be distributed to the user at this time,
The allowance of the storage performance of the allowance and offer for the memory space for providing distributed disk resource is less than accordingly most
Big allowance.Specifically, 5 pieces of first kind disks and 1 piece of Second Type disk can be distributed, at this point, the disk resource of distribution mentions
The memory space of confession is 10.8T, and allowance 0.08 is less than maximum allowance 3;And the IOPS provided is 10750, allowance 0.075,
Less than maximum allowance 5.Using this method of salary distribution, the memory space and storage performance provided is all slightly higher than demand, in this way may be used
To save many system resource, the use cost of user can also be substantially reduced.
This allocation strategy can be adapted for being assigned the demand that the user of cloud disk proposes, be readily applicable to for the first time
Distribute the user of the cloud disk demand proposed.
In the present embodiment, for a kind of specific demand that the user for being assigned cloud disk proposes, i.e., if having distributed to institute
The disk resource for stating the first kind disk of user meets the needs of user is to memory space, but is unsatisfactory for the user couple
The demand of storage performance can use the method for salary distribution below: increase the disk resource of Second Type disk for the user,
And/or the disk resource of part first kind disk is changed to the disk resource of the Second Type disk, wherein described
The storage performance of two type disks is better than the storage performance of the first kind disk.It is readily appreciated that, when user upgrades cloud disk
When, if merely desiring to promote storage performance, traditional disk method of salary distribution is not to be able to satisfy this demand, and the present embodiment passes through
The disk resource of multiple types disk is combined and distributes to user, so that it may easily meet user demand.
In the present embodiment, the disk resource of a seed type disk is distributed to the user or will be more by the storage system
The disk resource of seed type disk combines distribute to the user after, the method also includes: if the storage be
System is that the disk resource of user distribution includes the disk resource that newly-increased disk provides, and the storage system is automatically by the use
The data at family move on the newly-increased disk from some or all of user disk has been distributed to.The heat of the present embodiment is moved
Shifting is automatically performed by system, and user no longer needs to be implemented complicated migration operation.
The present embodiment additionally provides a kind of storage system, as shown in Fig. 2, including front end subsystem 10 and control subsystem
20, in which:
Front end subsystem 10 believes the demand for receiving user to the demand information of memory space and storage performance
Breath is sent to the control subsystem;
Control subsystem 20, for the disk resource of a seed type disk being distributed to described according to the demand information
The disk resource of multiple types disk is combined and distributes to the user by user.
In the present embodiment, the control subsystem is according to the demand information, by the disk resource of a seed type disk point
User described in dispensing, comprising: judge whether that an at least seed type disk meets and impose a condition, if so, one seed type of selection
The disk resource of disk distributes to the user;The setting condition is: the disk resource of the type disk being distributed to described
When user, the allowance of the storage performance of the allowance and offer for the memory space that the disk resource distributed provides is less than accordingly
Maximum allowance.
In the present embodiment, the control subsystem is according to the demand information, by the disk resource group of multiple types disk
The user is distributed to altogether, comprising: is judged whether that an at least seed type disk meets and is imposed a condition, if not, by more
The disk resource of seed type disk distributes to the user, the allowance for the memory space for providing distributed disk resource and mentions
The allowance of the storage performance of confession is less than corresponding maximum allowance;The setting condition is: the disk of the type disk is provided
When the user is distributed in source, the allowance of the storage performance of the allowance and offer for the memory space that the disk resource distributed provides
It is less than corresponding maximum allowance.
In the present embodiment, the control subsystem is according to the demand information, by the disk resource group of multiple types disk
The user is distributed to altogether, comprising: if the disk resource for having distributed to the first kind disk of the user meets institute
Demand of the user to memory space is stated, but is unsatisfactory for demand of the user to storage performance, then increases by second for the user
The disk resource of type disk, and/or the disk resource of part first kind disk is changed to the Second Type disk
Disk resource, wherein the storage performance of the Second Type disk is better than the storage performance of the first kind disk.
In the present embodiment, the disk resource of a seed type disk is distributed to the user or will by the control subsystem
The disk resource of multiple types disk combines distribute to the user after, be also used in the disk distributed for the user
When resource includes the disk resource that newly-increased disk provides, automatically by the data of the user from the part for having distributed to the user
Or whole disks move on the newly-increased disk.
Demand of the above scheme of the present embodiment according to user to memory space and storage performance distributes magnetic automatically for user
Disk resource.In demand of the user to storage performance and memory space with respect to the non-positive of disk resource that any kind disk provides
In the case where pass, suitable solution is provided.Data thermophoresis can be also further realized automatically, it is transparent to user.This implementation
Example scheme can be used for publicly-owned cloud storage product, realize smooth upgrade requirement of the user to cloud disk performance.
Embodiment two
The present embodiment provides a specific examples to be illustrated, and in this example, user is distributed by storage system
There is SAS disk, which needs to promote existing memory space and storage performance because of business development.
This example shown in Fig. 3 based on storage system schematic diagram, which includes front end subsystem 40, master control
Module 50, file system control module 60 and multiple storage service nodes 70 and carry are a variety of on storage service node 70
The disk of type.The control subsystem of embodiment one includes main control module 50 and file system control module 60, wherein front terminal
System 40 can receive user's request Concurrency and give main control module 50, and main control module 50 can ask the direct read/write of front end user
Carry out load balancing is sought, and is requested to carry out the functions such as the spatial distribution management of multi-user according to user;File system controls mould
Block 60 is the control axis of file system, for managing the information of the disk of carry under each storage service node 70, such as disk number
Amount, disk type, Disk State and service condition etc. are also used to manage the data block of user and the mapping relations of disk.Originally show
In example, two storage service nodes 70 are shown, each storage service node 70 descends a plurality of types of disks of carry, shows in figure
Out be SATA, SAS and SSD, but can be other kinds of disk completely, the disk type of different storage service node carries
It can also be different.
As shown in figure 4, this exemplary disk distribution method includes:
Step 210, front end subsystem receives the adjustment request that user sends, by the user wherein carried to memory space and
The demand information of storage performance is sent to control subsystem;
Step 220, control subsystem calculates available memory space and storage according to the service condition of existing disk
The upper limit of performance judges whether that can satisfy demand of the user to memory space and storage performance holds if be not able to satisfy
Row step 230 executes step 240 if can satisfy;
Control subsystem can add up the memory space and storage performance that various types of free disks can provide
Come, determines the upper limit of system currently available memory space and storage performance.Specifically, main control module receives adjustment request
Afterwards, the service condition of existing disk is inquired to file system control module.Calculating system according to existing free disk can mention
The capacity and UPS upper performance score of confession, while main control module can inquire the disk sort that the user uses to file system control module
Type, number of disks information.
Step 230, adjustment failure is returned, and suggests that user reduces demand, is terminated;
Control subsystem can return to the response of adjustment failure by front end system to user, and give the user system resource
The prompt such as deficiency.
Step 240, control subsystem provides the disk of SAS disk and low side SSD disk according to disk allocation strategy, selection
Source, which combines, distributes to the user, and wherein existing disk can be used in SAS disk;
Step 250, the control subsystem is by the data block migration in the part SAS disk of the user to SSD disk,
Entire transition process carries out on backstage completely.
In this example, it is assumed that user needs the memory space of 50T, and 10000 IOPS then can be used 25 pieces of 2T's
SAS disk provides the IOPS in the space 50T and 3650, in addition distributes 2 pieces of low side SSD and provides 20000IOPS and (considers that performance is superfluous
It is remaining, do not use 1 piece of SSD).When user performance requires to increase, for example IOPS is required to be increased to 40000, we can be by SSD disk
Increase to 4 pieces, while data being migrated.
Present example provides the solutions that a kind of memory space and storage are adapted dynamically.User can be given
Under performance high limit, the demand to memory space and storage performance is modified according to their own needs.Backstage storage system can basis
Demand of the user to memory space and storage performance calculates the disk proportion of various types disk automatically, and can be to user data
As blocks of files carries out Autonomic Migration Framework.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove
Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment,
Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one
Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain objects
Reason component or all physical assemblies may be implemented as by processor, such as central processing unit, digital signal processor or micro process
The software that device executes, is perhaps implemented as hardware or is implemented as integrated circuit, such as specific integrated circuit.Such software
Can be distributed on a computer-readable medium, computer-readable medium may include computer storage medium (or non-transitory be situated between
Matter) and communication media (or fugitive medium).As known to a person of ordinary skill in the art, term computer storage medium includes
In any method or skill for storing information (such as computer readable instructions, data structure, program module or other data)
The volatile and non-volatile implemented in art, removable and nonremovable medium.Computer storage medium includes but is not limited to
RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic
Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer
Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable
Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc
According to, and may include any information delivery media.
Claims (15)
1. a kind of disk distribution method, comprising:
Storage system receives user to the demand information of memory space and storage performance;
The disk resource of one seed type disk is distributed to the user or incited somebody to action by the storage system according to the demand information
The disk resource of multiple types disk, which combines, distributes to the user.
2. the method as described in claim 1, it is characterised in that:
The storage system distributes to the user according to the demand information, by the disk resource of a seed type disk, comprising:
Judge whether that an at least seed type disk meets to impose a condition, if so, the disk resource of one seed type disk of selection
Distribute to the user;
The setting condition is: when the disk resource of the type disk is distributed to the user, the disk resource distributed is mentioned
The allowance of the storage performance of the allowance and offer of the memory space of confession is less than corresponding maximum allowance.
3. the method as described in claim 1, it is characterised in that:
The disk resource of multiple types disk is combined according to the demand information and distributes to the use by the storage system
Family, comprising:
Judge whether that an at least seed type disk meets to impose a condition, if not, by the disk resource of multiple types disk point
User described in dispensing, the allowance of the storage performance of the allowance and offer for the memory space for providing distributed disk resource is not
More than corresponding maximum allowance;
The setting condition is: when the disk resource of the type disk is distributed to the user, the disk resource distributed is mentioned
The allowance of the storage performance of the allowance and offer of the memory space of confession is less than corresponding maximum allowance.
4. the method as described in claim 1, it is characterised in that:
The disk resource of multiple types disk is combined according to the demand information and distributes to the use by the storage system
Family, comprising:
If the disk resource for having distributed to the first kind disk of the user meets the needs of user is to memory space,
But it is unsatisfactory for demand of the user to storage performance, then increases the disk resource of Second Type disk for the user, and/or
The disk resource of part first kind disk is changed to the disk resource of the Second Type disk, wherein second class
The storage performance of type disk is better than the storage performance of the first kind disk.
5. the method as described in any in claim 1-4, it is characterised in that:
The disk resource of one seed type disk is distributed to the user or by the magnetic of multiple types disk by the storage system
Disk combination of resources is got up distribute to the user after, the method also includes:
If the storage system is that the disk resource of user distribution includes the disk resource that newly-increased disk provides, described to deposit
The data of the user are moved to the newly-increased magnetic from some or all of user disk has been distributed to automatically by storage system
On disk.
6. a kind of storage system, which is characterized in that including front end subsystem and control subsystem, in which:
The front end subsystem, for receiving user to the demand information of memory space and storage performance, by the demand information
It is sent to the control subsystem;
The control subsystem, for according to the demand information, the disk resource of a seed type disk to be distributed to the use
The disk resource of multiple types disk is combined and distributes to the user by family.
7. storage system as claimed in claim 6, it is characterised in that:
The control subsystem distributes to the user according to the demand information, by the disk resource of a seed type disk, packet
It includes: judging whether that an at least seed type disk meets and impose a condition, if so, the disk resource point of one seed type disk of selection
User described in dispensing;The setting condition is: when the disk resource of the type disk is distributed to the user, the magnetic that is distributed
The allowance of the storage performance of the allowance and offer for the memory space that disk resource provides is less than corresponding maximum allowance.
8. storage system as claimed in claim 6, it is characterised in that:
The control subsystem is according to the demand information, and the disk resource of multiple types disk is combined, and it is described to distribute to
User, comprising: judge whether that an at least seed type disk meets and impose a condition, if not, by the disk of multiple types disk
Resource allocation give the user, the storage performance of the allowance and offer for the memory space that distributed disk resource is provided it is abundant
Amount is less than corresponding maximum allowance;The setting condition is: the disk resource of the type disk is distributed to the user
When, the allowance of the storage performance of the allowance and offer for the memory space that the disk resource distributed provides is less than accordingly most
Big allowance.
9. storage system as claimed in claim 6, it is characterised in that:
The control subsystem is according to the demand information, and the disk resource of multiple types disk is combined, and it is described to distribute to
User, comprising: if the disk resource for having distributed to the first kind disk of the user meets the user to memory space
Demand, but be unsatisfactory for demand of the user to storage performance, be then the disk money that the user increases Second Type disk
Source, and/or the disk resource of part first kind disk is changed to the disk resource of the Second Type disk, wherein institute
The storage performance for stating Second Type disk is better than the storage performance of the first kind disk.
10. the storage system as described in any in claim 6-10, it is characterised in that:
The disk resource of one seed type disk is distributed to the user or by multiple types disk by the control subsystem
Disk resource combines distribute to the user after, be also used in the disk resource distributed for the user include newly-increased magnetic
When the disk resource that disk provides, the data of the user are migrated from some or all of user disk has been distributed to automatically
Onto the newly-increased disk.
11. a kind of disk distributor, including memory, processor and it is stored on the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realizes following processing when executing the calculation procedure:
User is obtained to the demand information of memory space and storage performance;
According to the demand information, the disk resource of a seed type disk is distributed into the user or by multiple types disk
Disk resource combine and distribute to the user.
12. disk distributor as claimed in claim 11, it is characterised in that:
According to the demand information, the disk resource of multiple types disk is combined and distributes to the user, comprising: if
The disk resource for having distributed to the first kind disk of the user meets the needs of user is to memory space, but is unsatisfactory for
Demand of the user to storage performance is then the disk resource that the user increases Second Type disk, and/or by part the
The disk resource of one type disk is changed to the disk resource of the Second Type disk, wherein the Second Type disk
Storage performance is better than the storage performance of the first kind disk.
13. disk distributor as claimed in claim 11, it is characterised in that:
According to the demand information, the disk resource of a seed type disk is distributed into the user, comprising:
Judge whether that an at least seed type disk meets to impose a condition: if so, the disk resource of one seed type disk of selection
Distribute to the user;
The setting condition is: when the disk resource of the type disk is distributed to the user, the disk resource distributed is mentioned
The allowance of the storage performance of the allowance and offer of the memory space of confession is less than corresponding maximum allowance.
14. disk distributor as claimed in claim 11, it is characterised in that:
According to the demand information, the disk resource of multiple types disk is combined and distributes to the user, comprising:
Judge whether that an at least seed type disk meets to impose a condition, if not, by the disk resource of multiple types disk point
User described in dispensing, the allowance of the storage performance of the allowance and offer for the memory space for providing distributed disk resource is not
More than corresponding maximum allowance;
The setting condition is: when the disk resource of the type disk is distributed to the user, the disk resource distributed is mentioned
The allowance of the storage performance of the allowance and offer of the memory space of confession is less than corresponding maximum allowance.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
Following processing is realized when being executed by processor:
User is obtained to the demand information of memory space and storage performance;
According to the demand information, the disk resource of a seed type disk is distributed into the user or by multiple types disk
Disk resource combine and distribute to the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711052830.9A CN109725844B (en) | 2017-10-31 | 2017-10-31 | Disk allocation method, device and storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711052830.9A CN109725844B (en) | 2017-10-31 | 2017-10-31 | Disk allocation method, device and storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109725844A true CN109725844A (en) | 2019-05-07 |
CN109725844B CN109725844B (en) | 2022-09-06 |
Family
ID=66294171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711052830.9A Active CN109725844B (en) | 2017-10-31 | 2017-10-31 | Disk allocation method, device and storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109725844B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795237A (en) * | 2019-10-08 | 2020-02-14 | 支付宝(杭州)信息技术有限公司 | Resource processing method, device, electronic equipment and medium |
CN113821157A (en) * | 2020-06-18 | 2021-12-21 | 中移(苏州)软件技术有限公司 | Local disk mounting method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120017043A1 (en) * | 2010-07-07 | 2012-01-19 | Nexenta Systems, Inc. | Method and system for heterogeneous data volume |
CN106326133A (en) * | 2015-06-29 | 2017-01-11 | 华为技术有限公司 | A storage system, a storage management device, a storage device, a mixed storage device and a storage management method |
CN106502593A (en) * | 2016-11-04 | 2017-03-15 | 郑州云海信息技术有限公司 | A kind of mixing storage system of interconnection at a high speed |
US20170168714A1 (en) * | 2015-12-09 | 2017-06-15 | Vmware, Inc. | Methods and systems to allocate physical data-storage costs to logical disks |
-
2017
- 2017-10-31 CN CN201711052830.9A patent/CN109725844B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120017043A1 (en) * | 2010-07-07 | 2012-01-19 | Nexenta Systems, Inc. | Method and system for heterogeneous data volume |
CN106326133A (en) * | 2015-06-29 | 2017-01-11 | 华为技术有限公司 | A storage system, a storage management device, a storage device, a mixed storage device and a storage management method |
US20170168714A1 (en) * | 2015-12-09 | 2017-06-15 | Vmware, Inc. | Methods and systems to allocate physical data-storage costs to logical disks |
CN106502593A (en) * | 2016-11-04 | 2017-03-15 | 郑州云海信息技术有限公司 | A kind of mixing storage system of interconnection at a high speed |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795237A (en) * | 2019-10-08 | 2020-02-14 | 支付宝(杭州)信息技术有限公司 | Resource processing method, device, electronic equipment and medium |
CN110795237B (en) * | 2019-10-08 | 2021-02-09 | 支付宝(杭州)信息技术有限公司 | Resource processing method, device, electronic equipment and medium |
CN113821157A (en) * | 2020-06-18 | 2021-12-21 | 中移(苏州)软件技术有限公司 | Local disk mounting method, device, equipment and storage medium |
CN113821157B (en) * | 2020-06-18 | 2024-05-24 | 中移(苏州)软件技术有限公司 | Local disk mounting method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109725844B (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8429096B1 (en) | Resource isolation through reinforcement learning | |
CN104317742B (en) | Thin provisioning method for optimizing space management | |
US8515904B1 (en) | Providing file sytem quota support for a file system having separated data and metadata | |
CN103425538B (en) | Process communication method and system | |
US20090019251A1 (en) | Dynamic storage pools with thin provisioning | |
CN110196851A (en) | A kind of date storage method, device, equipment and storage medium | |
CN103282889A (en) | Endpoint caching for data storage systems | |
CN106227621A (en) | The data back up method of logic-based volume management simplification volume and system | |
CN103095788A (en) | Cloud resource scheduling policy based on network topology | |
CN102123176A (en) | Space distribution and management method and device for network storage system | |
CN110109868A (en) | Method, apparatus and computer program product for index file | |
CN104272242A (en) | Creating encrypted storage volumes | |
CN112596762A (en) | Rolling upgrading method and device | |
US8443369B1 (en) | Method and system for dynamically selecting a best resource from each resource collection based on resources dependencies, prior selections and statistics to implement an allocation policy | |
CN109359063A (en) | Caching replacement method, storage equipment and storage medium towards storage system software | |
CN110119308B (en) | System for managing large-scale container applications | |
CN109725844A (en) | A kind of disk distribution method, device and storage system | |
CN110019083A (en) | Storage method, device, electronic equipment and the storage medium of distributed file system | |
EP4185963B1 (en) | Zone hints for zoned namespace storage devices | |
CN106412030A (en) | Storage resource selecting method, device and system | |
CN109298913A (en) | The method and device of schedules system resources between a kind of multi-vessel system | |
CN110196752A (en) | Data processing method, device and storage medium | |
CN114816272B (en) | Magnetic disk management system under Kubernetes environment | |
CN105786724B (en) | Space management and device | |
CN106126319A (en) | Central processing unit resource allocation methods and calculating node |
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 |