CN109725844B - Disk allocation method, device and storage system - Google Patents

Disk allocation method, device and storage system Download PDF

Info

Publication number
CN109725844B
CN109725844B CN201711052830.9A CN201711052830A CN109725844B CN 109725844 B CN109725844 B CN 109725844B CN 201711052830 A CN201711052830 A CN 201711052830A CN 109725844 B CN109725844 B CN 109725844B
Authority
CN
China
Prior art keywords
disk
user
type
resources
storage
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.)
Active
Application number
CN201711052830.9A
Other languages
Chinese (zh)
Other versions
CN109725844A (en
Inventor
罗明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201711052830.9A priority Critical patent/CN109725844B/en
Publication of CN109725844A publication Critical patent/CN109725844A/en
Application granted granted Critical
Publication of CN109725844B publication Critical patent/CN109725844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A disk allocation method, device and storage system, the storage system receives the demand information of user to the storage space and storage performance; and the storage system allocates the disk resources of one type of disk to the user or allocates the disk resources of multiple types of disks to the user together according to the requirement information. The storage device of the application comprises a memory, a processor and a computer program, wherein the processor realizes the processing of the method of the application when executing the computer program. According to the method and the device, one type of disk or multiple types of disks can be automatically selected to be allocated to the user according to the user requirements, so that various requirements of the user on storage space and storage performance are better met.

Description

Disk allocation method, device and storage system
Technical Field
The present invention relates to storage technologies, and in particular, to a disk allocation method, device and storage system.
Background
The current user demand for storage is based on two dimensions: storage space and storage performance. The storage space is the capacity of storage, and the storage performance is generally characterized by parameters such as IPOS and throughput. The IOPS is an I/O per second, i.e., the number of read/write (I/O) operations per second. The throughput of the disk, i.e. the flow of disk I/O per second, i.e. the size of the data written to and read from the disk, is correlated, and the common indicator for the performance of the storage is IOPS.
Common disk types include: SATA (Serial Advanced Technology Attachment, Serial ATA Interface Specification) disks, SCSI (Small Computer System Interface) disks, SAS (Serial Attached SCSI) disks, NVME (Non-Volatile Memory Express) disks, and so forth.
The storage space and storage performance that some exemplary disk types can provide is given below:
3, 5' SATA disk with 7.200rpm of rotation speed, 65 IOPS of rotation speed and 4T of space;
3, 5' of SAS disk with the rotating speed of 15.000rpm, IOPS of 146 and space of 2T;
3, 5' of SAS disk with the rotating speed of 15.000rpm, IOPS of 146 and space of 4T;
the low-end SSD disk comprises an IOPS (IOPS) of 1 XXXXXX-3 XXXX, a space of 800G and an 'X' which can be any number from 0 to 9;
the system comprises a middle-end SSD disk, an IOPS (IOPS) is 3XXXX-6XXXX, and the space is 800G;
the IOPS of the high-end SSD disk is 6XXXX-1XXXXX, and the space is 800G;
the disk is an Nvme disk, the IOPS is 3xxxxx, and the space is 800G.
It can be seen that the storage space and storage performance provided by different types of disks are different, for example, 100 SAS hard disks can provide IOPS close to the low-end SSD disk, but the storage space provided by 100 SAS hard disks far exceeds the storage space provided by the low-end SSD disk. Storage performance and storage space are substantially positively correlated for the same type of disk. For example, when the number of disks is increased by 2 times, the storage space is increased by 2 times, and the IOPS is also increased by approximately 2 times.
With the continuous development of public clouds, a background storage system has a situation that multiple types of disks are mixedly deployed inside a storage cluster, for example. Some servers in the storage cluster are deployed with SATA disks, while another part of servers are deployed with SAS disks, or with more than three types of disks. In the related technology, a front-end system of a public cloud can package different types of disks in a background into cloud disks of different grades for sale, a user can select a cloud disk of a certain grade according to the requirements of the user on storage space and storage performance, which is inconvenient for the user, and the requirements of the user on the storage space and the storage performance are not always positively correlated with the cloud disk which can be selected, so that when the user selects the cloud disk of a certain grade, the storage space can exceed the requirements greatly when the requirements of the storage performance are met, and waste is caused. In addition, when a small and medium-sized user purchases a cloud disk, a cheap cloud disk with low performance may be selected in consideration of cost performance, and the background of the cloud disk is mostly formed by SATA disks. In the business development process of users, the requirements of the users on storage space and storage performance are often changed.
In the cloud computing market, various manufacturers can conveniently provide solutions for users, such as increasing the number of disks, for the increased demand of storage space when designing a storage system, such as a cloud storage system. However, if the user's demand for storage space and storage performance is in a non-positive correlation state, for example, the demand space is not changed and the performance is increased by 4 times, the following method can be adopted:
first, more disks of the same type are purchased to meet the storage performance requirement, and if this method is selected, the user often needs to purchase storage space greatly exceeding the own requirement to obtain the required storage performance, which is very expensive.
And secondly, purchasing another type of disk with higher storage performance. If this approach is chosen, it is difficult to have one type of disk that will not be wasted while meeting the user's requirements for storage space and storage performance. Moreover, the migration amount of data is large, and users need to solve the problem of data hot migration from an old disk to a new disk by themselves, which is a technical problem that users are unwilling to face.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a disk allocation method, including:
the storage system receives the information of the requirement of a user on storage space and storage performance;
and the storage system allocates the disk resources of one type of disk to the user or allocates the disk resources of multiple types of disks to the user together according to the requirement information.
In view of this, an embodiment of the present invention further provides a storage system, including a front-end subsystem and a control subsystem, where:
the front end subsystem is used for receiving the requirement information of a user on the storage space and the storage performance and sending the requirement information to the control subsystem;
and the control subsystem is used for allocating the disk resources of one type of disk to the user or allocating the disk resources of multiple types of disks to the user in a combined manner according to the requirement information.
In view of this, an embodiment of the present invention further provides a disk allocation apparatus, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following processing when executing the computer program:
acquiring the information of the requirement of a user on storage space and storage performance;
and according to the requirement information, allocating the disk resources of one type of disk to the user or allocating the disk resources of multiple types of disks to the user in a combined manner.
In view of this, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the following processing:
acquiring the information of the requirement of a user on storage space and storage performance;
and according to the requirement information, allocating the disk resources of one type of disk to the user or allocating the disk resources of multiple types of disks to the user in a combined manner.
In the above embodiment, the storage system may automatically select to allocate one type of disk or multiple types of disks to the user according to the user requirement, so as to better meet various requirements of the user on storage space and storage performance.
Drawings
FIG. 1 is a flow chart of a disk allocation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a memory system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a storage system on which a second embodiment of the present invention is based;
fig. 4 is an exemplary flowchart of implementing user requirement adjustment according to the second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Example one
The storage system of this embodiment takes a public cloud block storage system as an example, and multiple types of disks are deployed in the storage system, and two allocation manners can be provided according to the requirements of users on storage space and storage performance, where one allocation manner is to allocate disk resources of one type of disk to users, and the other allocation manner is to allocate disk resources of multiple types of disks to users in combination. The storage space and the storage performance provided by the disk resource combination of multiple types of disks are more diversified, so that the diversified requirements of the storage space and the storage performance of a user can be met more easily.
As shown in fig. 1, the disk allocation method of this embodiment includes: step 110, a storage system receives the information of the requirement of a user on storage space and storage performance; and step 120, the storage system allocates the disk resources of one type of disk to the user or allocates the disk resources of multiple types of disks to the user in a combined manner according to the requirement information. The information about the user's demand for storage space and storage performance may be the demand information first proposed by the user, that is, the storage system does not allocate a cloud disk to the user before, or may be a new demand proposed by the user when upgrading an existing cloud disk. The type division of the disks is not limited to be divided according to the interface specification, the provided disks with different spaces and/or different performances are different types of disks, and the disk resources of the different types of disks can be provided.
In this embodiment, if the difference between the ratio between the user's demand for storage space and the demand for storage performance and the ratio between the storage space provided by any type of disk and the storage performance is large, at this time, if disk resources of one type of disk are allocated to the user, there may be a large waste of resources. Suppose in one example, the user's demand for storage is 10T, the demand for IOPS (representing storage performance) is 10000 (in units of times/second, and a little below), and the ratio of storage to IOPS is 1: 1000; there are 2 types of disks that can be allocated in a storage system: first type disk and second type disk, assuming that 1 block of first type disk (e.g., SAS) has a storage space of 2T and an IOPS of 150, the ratio of storage space to IOPS is 1: 75. The storage space of 1 block of the second type disk (such as low-end SSD) is 0.8T and the IOPS is 10000, and the ratio of the storage space to the IOPS is 1: 12500.
If the disk resources of the first type disk are allocated to the user, 70 blocks of the first type disk (redundancy is not considered here, and if there is a redundancy requirement, the number of the blocks can be divided into more blocks) need to be allocated, and the IOPS provided at this time is 10500, which is slightly higher than 10000 of the demand, while the storage space provided is 140T, which is far higher than 10T of the demand. If the disk resources of the second type disk are allocated to the user, 13 blocks of the second type disk need to be allocated, at this time, the provided storage space is 10.4T, which is slightly higher than the required 10T, and the provided IOPS is 130000, which is far higher than the required 10000. Therefore, whether the first type disk or the second type disk is allocated, one of the provided storage space and storage performance is far beyond the requirement, which causes resource waste and increases user cost.
In view of the above situation, in this embodiment, the storage system allocates, according to the requirement information, disk resources of one type of disk to the user or allocates disk resources of multiple types of disks to the user in combination, and the following policy is adopted:
judging whether at least one type of disk meets the set conditions:
if yes, selecting a disk resource of one type of disk to be allocated to the user;
if not, allocating the disk resources of the multiple types of disks to the user, and enabling the allowance of the storage space provided by the allocated disk resources and the allowance of the provided storage performance not to exceed the corresponding maximum allowance;
the setting conditions are as follows: when the disk resources of the disk type are allocated to the user, the margin of the storage space provided by the allocated disk resources and the margin of the storage performance provided by the allocated disk resources do not exceed the corresponding maximum margin.
The margin of the storage space refers to the amount of the storage space provided by the allocated storage resource except for the requirement of the user on the storage space. And the margin of the storage performance refers to the amount of storage performance provided by the allocated storage resources except for the storage performance required by the user. In the present embodiment, the margin of the memory space is represented by the ratio of the remaining memory space to the required memory space, and the margin of the memory performance is represented by the ratio of the remaining memory performance to the required memory performance. However, in other embodiments, the margin of the storage space may be directly represented by the number of the remaining storage spaces, and the margin of the storage performance may be directly represented by the number of the remaining storage performances.
In the above example, if the disk resources of the first type disk are allocated to the user, the margin of the provided storage space is (140T-10T)/10T ═ 13, and 1300% in terms of percentage, and the margin of the provided storage performance is (10500 + 10000)/10000 ═ 0.05. And if the disk resources of the second type disk are allocated to the user, the margin of the provided storage space is (10.4T-10T)/10T is 0.04, the margin of the provided storage performance is (130000 + 10000)/10000 is 12, and the margin is 1200% expressed by percentage.
In the above strategy, the maximum margin is preset, and in the present embodiment, the maximum margin of the storage space is set to 3, that is, the remaining storage space may be at most 3 times of the required storage space. The maximum margin of the IOPS is set to 5, i.e., the remaining IOPS can be up to 5 times the required IOPS. So as to avoid causing excessive resource waste. In other embodiments, if the margin of the storage space is directly expressed by the number of the remaining storage spaces, the maximum margin of the storage space can be directly set to the number of the storage spaces such as 10T, and the storage performance is also similar.
In the above example, when the determination is made, because the margin of the storage space is 13 and exceeds the maximum margin 3 of the storage space when the disk resources of the first type of disk are allocated to the user, and the margin of the storage performance is 12 and exceeds the maximum margin of the storage performance when the disk resources of the second type of disk are allocated to the user, when it is determined whether at least one type of disk meets the set condition, it is determined whether the result is that the disk resources of the multiple types of disks should be allocated to the user at this time, so that neither the margin of the storage space provided by the allocated disk resources nor the margin of the provided storage performance exceeds the corresponding maximum margin. Specifically, 5 first-type disks and 1 second-type disk may be allocated, where the storage space provided by the allocated disk resources is 10.8T, and the margin is 0.08 and is less than the maximum margin 3; and the IOPS provided is 10750 with a margin of 0.075, less than the maximum margin of 5. By adopting the distribution formula, the provided storage space and the storage performance are slightly higher than the requirements, so that a lot of system resources can be saved, and the use cost of a user can be greatly reduced.
The allocation strategy can be suitable for the demands of the users who have allocated the cloud disk, and can also be suitable for the demands of the users who have allocated the cloud disk for the first time.
In this embodiment, a special requirement is provided for a user to whom a cloud disk has been allocated, that is, if a disk resource of a first type disk allocated to the user meets a requirement of the user for a storage space but does not meet the requirement of the user for storage performance, the following allocation method may be adopted: and adding disk resources of a second type disk for the user, and/or replacing part of the disk resources of the first type disk with the disk resources of the second type disk, wherein the storage performance of the second type disk is superior to that of the first type disk. It is easy to understand that when a user upgrades a cloud disk, if only the storage performance is to be improved, the traditional disk allocation method cannot meet the requirement, and the embodiment can easily meet the requirement of the user by allocating the disk resources of multiple types of disks to the user together.
In this embodiment, after the storage system allocates the disk resources of one type of disk to the user or allocates the disk resources of multiple types of disks to the user in combination, the method further includes: and if the disk resources distributed to the user by the storage system comprise disk resources provided by the newly added disk, automatically migrating the data of the user from part or all of the disks distributed to the user to the newly added disk by the storage system. The hot migration of the embodiment is automatically completed by the system, and a user does not need to perform complex migration operation any more.
The present embodiment also provides a storage system, as shown in fig. 2, including a front end subsystem 10 and a control subsystem 20, wherein:
the front subsystem 10 is used for receiving the requirement information of the user on the storage space and the storage performance and sending the requirement information to the control subsystem;
and the control subsystem 20 is configured to allocate the disk resources of one type of disk to the user or allocate the disk resources of multiple types of disks to the user in combination according to the requirement information.
In this embodiment, the allocating, by the control subsystem, the disk resource of one type of disk to the user according to the demand information includes: judging whether at least one type of disk meets a set condition, if so, selecting disk resources of one type of disk to be allocated to the user; the setting conditions are as follows: when the disk resources of the disk type are allocated to the user, the margin of the storage space provided by the allocated disk resources and the margin of the provided storage performance do not exceed the corresponding maximum margin.
In this embodiment, the step of allocating, by the control subsystem, the multiple types of disks to the user in combination according to the demand information includes: judging whether at least one type of disk meets a set condition, if not, allocating the disk resources of the multiple types of disks to the user, and enabling the allowance of the storage space provided by the allocated disk resources and the allowance of the provided storage performance not to exceed the corresponding maximum allowance; the setting conditions are as follows: when the disk resources of the disk type are allocated to the user, the margin of the storage space provided by the allocated disk resources and the margin of the storage performance provided by the allocated disk resources do not exceed the corresponding maximum margin.
In this embodiment, the step of allocating, by the control subsystem, the multiple types of disks to the user in combination according to the demand information includes: if the disk resources of the first type disk allocated to the user meet the requirement of the user on the storage space but do not meet the requirement of the user on the storage performance, adding disk resources of a second type disk to the user, and/or replacing part of the disk resources of the first type disk with the disk resources of the second type disk, wherein the storage performance of the second type disk is better than that of the first type disk.
In this embodiment, after the control subsystem allocates the disk resources of one type of disk to the user or allocates the disk resources of multiple types of disks to the user in a combined manner, the control subsystem is further configured to automatically migrate the data of the user from a part or all of the disks allocated to the user to the newly added disk when the disk resources allocated to the user include disk resources provided by the newly added disk.
According to the scheme of the embodiment, the disk resources are automatically allocated to the user according to the requirements of the user on the storage space and the storage performance. In the case that the user's demands for storage performance and storage space are not positively correlated with the disk resources provided by either type of disk, a suitable solution is provided. And the data hot migration can be further automatically realized, and the method is transparent to users. The scheme of the embodiment can be used for public cloud storage products, and requirements of users on smooth upgrade of cloud disk performance are met.
Example two
The embodiment provides a specific example for explaining, in this example, a user has already been allocated with an SAS disk by a storage system, and the user needs to improve existing storage space and storage performance due to business development.
Fig. 3 is a schematic diagram of a storage system based on this example, which includes a front-end subsystem 40, a main control module 50, a file system control module 60, and a plurality of storage service nodes 70, and a plurality of types of disks mounted on the storage service nodes 70. The control subsystem of the first embodiment includes a main control module 50 and a file system control module 60, wherein the front end subsystem 40 can receive a user request and send the user request to the main control module 50, and the main control module 50 can perform functions such as load balancing on a direct read-write request of a front end user, and performing multi-user spatial distribution management according to the user request; the file system control module 60 is a control center of the file system, and is configured to manage information of the disks mounted on each storage service node 70, such as the number of the disks, the types of the disks, the states of the disks, and usage conditions, and further to manage mapping relationships between data blocks of users and the disks. In this example, two storage service nodes 70 are shown, and each storage service node 70 mounts multiple types of disks, which are SATA, SAS, and SSD, but may be other types of disks, and the types of disks mounted by different storage service nodes may also be different.
As shown in fig. 4, the disk allocation method of the present example includes:
step 210, the front end subsystem receives an adjustment request sent by a user, and sends the carried information of the user's requirements for storage space and storage performance to the control subsystem;
step 220, the control subsystem calculates the upper limit of the available storage space and storage performance according to the use condition of the existing disk, and judges whether the requirements of the user on the storage space and the storage performance can be met, if not, step 230 is executed, and if so, step 240 is executed;
the control subsystem may accumulate the storage space and storage performance available from various types of free disks to determine the upper limit of the storage space and storage performance currently available to the system. Specifically, after receiving the adjustment request, the main control module queries the file system control module about the use condition of the existing disk. And calculating the upper limit of the capacity and performance which can be provided by the system according to the existing idle disk, and simultaneously, the main control module can inquire the information of the disk type and the disk number which are used by the user to the file system control module.
Step 230, returning to the adjustment failure, and suggesting the user to reduce the demand, and ending;
the control subsystem can return response of adjustment failure to the user through the front-end system and give prompts such as insufficient system resources to the user.
Step 240, the control subsystem selects to allocate the combination of the SAS disks and the disks of the low-end SSD disk to the user according to the disk allocation policy, wherein the SAS disks may use the existing disks;
step 250, the control subsystem migrates the data block in the partial SAS disk of the user to the SSD disk, and the whole migration process is completely performed in the background.
In this example, assuming that the user needs 50T of storage space, 10000 IOPS, 25 blocks of 2T SAS disk can be used to provide 50T of space and 3650 IOPS, and 2 blocks of low end SSD are additionally allocated to provide 20000IOPS (no 1 block SSD is used for performance redundancy). When user performance requirements increase, such as requiring the IOPS to increase to 40000, we can add SSD disks to 4 blocks while migrating data.
The present example provides a solution for dynamic adjustment of memory space and memory performance. Under the given performance high limit, the user can modify the requirements for the storage space and the storage performance according to the requirements of the user. The background storage system can automatically calculate the disk proportion of various types of disks according to the requirements of users on storage space and storage performance, and can automatically migrate user data such as file blocks.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (9)

1. A method of disk allocation, comprising:
the storage system receives the information of the requirement of a user on storage space and storage performance;
the storage system allocates the disk resources of one type of disk to the user or allocates the disk resources of multiple types of disks to the user in a combined manner according to the requirement information, and the method comprises the following steps:
judging whether at least one type of disk meets the set conditions:
if yes, selecting a disk resource of one type of disk to be allocated to the user;
if not, allocating the disk resources of the multiple types of disks to the user, and enabling the allowance of the storage space provided by the allocated disk resources and the allowance of the provided storage performance not to exceed the corresponding maximum allowance;
the setting conditions are as follows: when the disk resources of the disk type are allocated to the user, the margin of the storage space provided by the allocated disk resources and the margin of the provided storage performance do not exceed the corresponding maximum margin.
2. The method of claim 1, wherein:
the storage system allocates the disk resources of the multiple types of disks to the user together according to the demand information, and the method comprises the following steps:
if the disk resources of the first type disk allocated to the user meet the requirement of the user on the storage space but do not meet the requirement of the user on the storage performance, adding disk resources of a second type disk to the user, and/or replacing part of the disk resources of the first type disk with the disk resources of the second type disk, wherein the storage performance of the second type disk is better than that of the first type disk.
3. The method of claim 1 or 2, wherein:
after the storage system allocates the disk resources of one type of disk to the user or allocates the disk resources of multiple types of disks to the user in combination, the method further includes:
and if the disk resources distributed to the user by the storage system comprise disk resources provided by the newly added disk, automatically migrating the data of the user from part or all of the disks distributed to the user to the newly added disk by the storage system.
4. A storage system comprising a front end subsystem and a control subsystem, wherein:
the front end subsystem is used for receiving the information required by the user for the storage space and the storage performance and sending the required information to the control subsystem;
the control subsystem is configured to allocate, according to the demand information, disk resources of one type of disk to the user or allocate, in combination, disk resources of multiple types of disks to the user, and includes:
judging whether at least one type of disk meets the set conditions:
if yes, selecting the disk resource of one type of disk to be allocated to the user;
if not, allocating the disk resources of the multiple types of disks to the user, and enabling the allowance of the storage space provided by the allocated disk resources and the allowance of the provided storage performance not to exceed the corresponding maximum allowance;
the setting conditions are as follows: when the disk resources of the disk type are allocated to the user, the margin of the storage space provided by the allocated disk resources and the margin of the provided storage performance do not exceed the corresponding maximum margin.
5. The storage system of claim 4, wherein:
the control subsystem combines and distributes the disk resources of the multiple types of disks to the user according to the requirement information, and the method comprises the following steps: if the disk resources of the first type disk allocated to the user meet the requirement of the user on the storage space but not meet the requirement of the user on the storage performance, adding disk resources of a second type disk to the user, and/or replacing part of the disk resources of the first type disk with the disk resources of the second type disk, wherein the storage performance of the second type disk is superior to that of the first type disk.
6. The storage system according to claim 4 or 5, wherein:
the control subsystem allocates the disk resources of one type of disk to the user or allocates the disk resources of multiple types of disks to the user in a combined manner, and is further configured to automatically migrate the data of the user from a part or all of the disks allocated to the user to the newly added disk when the disk resources allocated to the user include the disk resources provided by the newly added disk.
7. A disk allocation apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the following processes when executing the computer program:
acquiring the information of the requirement of a user on storage space and storage performance;
according to the demand information, allocating the disk resources of one type of disk to the user or allocating the disk resources of multiple types of disks to the user in a combined manner, including:
judging whether at least one type of disk meets the set conditions:
if yes, selecting the disk resource of one type of disk to be allocated to the user;
if not, allocating the disk resources of the multiple types of disks to the user, and enabling the allowance of the storage space provided by the allocated disk resources and the allowance of the provided storage performance not to exceed the corresponding maximum allowance;
the setting conditions are as follows: when the disk resources of the disk type are allocated to the user, the margin of the storage space provided by the allocated disk resources and the margin of the storage performance provided by the allocated disk resources do not exceed the corresponding maximum margin.
8. The disk dispensing apparatus of claim 7, wherein:
according to the demand information, the method for allocating the disk resources of the multiple types of disks to the user in a combined mode comprises the following steps: if the disk resources of the first type disk allocated to the user meet the requirement of the user on the storage space but not meet the requirement of the user on the storage performance, adding disk resources of a second type disk to the user, and/or replacing part of the disk resources of the first type disk with the disk resources of the second type disk, wherein the storage performance of the second type disk is superior to that of the first type disk.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that,
the computer program, when executed by a processor, implements the following:
acquiring the information of the requirement of a user on storage space and storage performance;
according to the demand information, allocating the disk resources of one type of disk to the user or allocating the disk resources of multiple types of disks to the user in a combined manner, including:
judging whether at least one type of disk meets the set conditions:
if yes, selecting a disk resource of one type of disk to be allocated to the user;
if not, allocating the disk resources of the multiple types of disks to the user, and enabling the allowance of the storage space provided by the allocated disk resources and the allowance of the provided storage performance not to exceed the corresponding maximum allowance;
the setting conditions are as follows: when the disk resources of the disk type are allocated to the user, the margin of the storage space provided by the allocated disk resources and the margin of the provided storage performance do not exceed the corresponding maximum margin.
CN201711052830.9A 2017-10-31 2017-10-31 Disk allocation method, device and storage system Active CN109725844B (en)

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 CN109725844A (en) 2019-05-07
CN109725844B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8954669B2 (en) * 2010-07-07 2015-02-10 Nexenta System, Inc Method and system for heterogeneous data volume
US9916092B2 (en) * 2015-12-09 2018-03-13 Vmware, Inc. Methods and systems to allocate physical data-storage costs to logical disks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN109725844A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
US10082972B2 (en) Method and system for pooling, partitioning, and sharing network storage resources
JP5510556B2 (en) Method and system for managing virtual machine storage space and physical hosts
US9384031B2 (en) Information processor apparatus, virtual machine management method and virtual machine management program
CN102650931B (en) Method and system for writing data
CN102123176B (en) Space distribution and management method and device for network storage system
CN103180830A (en) Cpu resource distribution method and calculating node
JP2013509658A (en) Allocation of storage memory based on future usage estimates
US9740421B2 (en) Just-in-time remote data storage allocation
CN107533435B (en) Storage space allocation method and storage equipment
CN110138883B (en) Hybrid cloud resource allocation method and device
US11012316B2 (en) Methods and apparatus to generate and manage workload domains in virtual server racks
JP7467593B2 (en) Resource allocation method, storage device, and storage system - Patents.com
US9983806B2 (en) Storage controlling apparatus, information processing apparatus, and computer-readable recording medium having stored therein storage controlling program
WO2019170011A1 (en) Task allocation method and device, and distributed storage system
CN104272242A (en) Creating encrypted storage volumes
CN109725844B (en) Disk allocation method, device and storage system
US11765099B2 (en) Resource allocation using distributed segment processing credits
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
WO2020134143A1 (en) Stripe reconstruction method in storage system and striping server
US10776173B1 (en) Local placement of resource instances in a distributed system
CN114442910A (en) Method, electronic device and computer program product for managing storage system
CN111124253B (en) Method, apparatus and computer program product for managing storage devices
CN104238955B (en) A kind of device and method of storage resource virtualization distribution according to need
CN110989936A (en) Storage space allocation method and device and storage medium
CN112748850B (en) Method, apparatus and computer program product for storage management

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