CN107463338A - A kind for the treatment of method and apparatus of logical volume - Google Patents

A kind for the treatment of method and apparatus of logical volume Download PDF

Info

Publication number
CN107463338A
CN107463338A CN201710697689.1A CN201710697689A CN107463338A CN 107463338 A CN107463338 A CN 107463338A CN 201710697689 A CN201710697689 A CN 201710697689A CN 107463338 A CN107463338 A CN 107463338A
Authority
CN
China
Prior art keywords
logical volume
business
group
service identification
establishment
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.)
Pending
Application number
CN201710697689.1A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710697689.1A priority Critical patent/CN107463338A/en
Publication of CN107463338A publication Critical patent/CN107463338A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0605Improving or facilitating administration, e.g. storage management by facilitating the interaction with a user or administrator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0665Virtualisation aspects at area level, e.g. provisioning of virtual or logical volumes

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)

Abstract

The invention provides a kind for the treatment of method and apparatus of logical volume, wherein, this method includes:Establishment and logical volume group corresponding to different service identifications;Logical volume with same business association is divided into logical volume group corresponding with the service identification for characterizing the same business;As can be seen here, the present invention can be divided based on the service identification for characterizing business to logical volume, establish the relevance of logical volume and practical business, so as to intuitively reflect the business associated with logical volume, and can logic-based volume group check the logical volume for belonging to same business, improve search efficiency.

Description

A kind for the treatment of method and apparatus of logical volume
Technical field
The present invention relates to memory system technologies field, the processing method and dress of more particularly to a kind of logical volume Put.
Background technology
With the continuous development of memory technology, the capacity of storage system gradually increases, in order to realize the dynamic of storage resource Regulation, the general disk partition that storage system is managed using logical volume.Logical volume is created based on storage pool, for the ease of Logical volume is searched, generally requires and logical volume is classified.
Include the logical volume by pond division and the logic by main frame division currently for the common mode classification of logical volume Two kinds of volume.Because mode classification is not associated with practical business, therefore it is not easy to search the logical volume with business association, when When user wants to look up the logical volume with a certain business, it can only be searched according to the title of logical volume, cause search efficiency low, And the logical volume found can not intuitively reflect have which business to be associated with.
The content of the invention
In view of this, the present invention provides a kind for the treatment of method and apparatus of logical volume, to solve existing to be directed to logical volume Way to manage have that search efficiency is low and the logical volume that finds can not intuitively reflect have which business associated with it Technical problem.
To achieve the above object, the present invention provides following technical scheme:
A kind of processing method of logical volume, including:
Establishment and logical volume group corresponding to different service identifications;
Logical volume with same business association is divided into corresponding with the service identification for characterizing the same business In logical volume group.
Preferably, it is described to be divided into the logical volume with same business association and the business for characterizing the same business Corresponding to mark in logical volume group, including:
In logical volume group corresponding with the first service identification, first logical volume associated with the first business is created;
And/or the first logical volume being associated in storage pool with the first business is divided into corresponding with the first service identification Logical volume group in;
Wherein, first service identification is used to characterize first business.
Preferably, it is described in logical volume group corresponding with the first service identification, create associated with first business The first logical volume, including:
Obtain initiation parameter;
Created and first business in logical volume group corresponding with the first service identification based on the initiation parameter The first associated logical volume;
Record the attribute information of first logical volume.
Preferably, after the establishment the first logical volume associated with the first business, in addition to:
First logical volume is mapped to the main frame using first logical volume.
Preferably, in addition to:
The establishment operation of the second logical volume is received, obtains the establishment information of user's input;
Obtain the establishing logical volume template of the logical volume group belonging to second logical volume;
Use the establishing logical volume template establishment the second logical volume corresponding with the establishment information;Wherein, it is described to patrol Attribute information of the volume drawing template establishment based on first logical volume is collected to determine;
Second logical volume is mapped to the first logical volume for belonging to same logical volume group with second logical volume Main frame.
Preferably, in addition to:
When receiving the scheduled operation for the first logical volume, created in the affiliated logical volume group of first logical volume with The logical volume of attribute information identical the 3rd of first logical volume;
3rd logical volume is mapped to the main frame of first logical volume.
A kind of processing unit of logical volume, including:
Volume group unit is created, for establishment and logical volume group corresponding to different service identifications;
First division unit, for the logical volume with same business association to be divided into being used to characterize the same business Service identification corresponding in logical volume group.
Preferably, first division unit, including:
Logic roll unit is created, in logical volume group corresponding with the first service identification, creating and the first business phase First logical volume of association;
And/or division logic roll unit, for the first logical volume associated with the first business in storage pool to be divided into In logical volume group corresponding with the first service identification;
Wherein, first service identification is used to characterize first business.
Preferably, logic roll unit is created, including:
Get parms module, for obtaining initiation parameter;
First creation module, for being created based on the initiation parameter in logical volume group corresponding with the first service identification Build first logical volume associated with first business;
Record information module, for recording the attribute information of first logical volume.
Preferably, in addition to:
First map unit, for first logical volume to be mapped to the main frame using first logical volume.
Preferably, in addition to:
Information unit is obtained, for receiving the establishment operation of the second logical volume, obtains the establishment information of user's input;
Modular unit is obtained, for obtaining the establishing logical volume template of the logical volume group belonging to second logical volume;
First creating unit, for being patrolled using the establishing logical volume template establishment with the establishment information corresponding second Collect volume;Wherein, attribute information of the establishing logical volume template based on first logical volume determines;
Second map unit, belong to same logical volume with second logical volume for second logical volume to be mapped to The main frame of first logical volume of group.
Preferably, in addition to:
Second creating unit, when the scheduled operation of the first logical volume is directed to for receiving, in the first logical volume institute Belong to the logical volume of attribute information identical the 3rd created in logical volume group with first logical volume;
3rd map unit, for the 3rd logical volume to be mapped to the main frame of first logical volume.
Understand that compared with prior art, the present disclosure provides a kind of place of logical volume via above-mentioned technical scheme Reason method, including:Establishment and logical volume group corresponding to different service identifications, the logical volume with same business association is divided into For characterizing corresponding to the service identification of same business in logical volume group, it can be seen that, the present invention can be based on being used to characterize industry The service identification of business divides to logical volume, that is, the relevance of logical volume and practical business is established, so as to intuitively The reflection business associated with logical volume, and can logic-based volume group check the logical volume for belonging to same business, improve Search efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the processing method of logical volume disclosed in one embodiment of the invention;
Fig. 2 is a kind of packet configuration schematic diagram disclosed in one embodiment of the invention;
Fig. 3 is a kind of schematic flow sheet of the processing method of logical volume disclosed in another embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of the processing method of logical volume disclosed in further embodiment of this invention;
Fig. 5 is a kind of schematic flow sheet of the processing method of logical volume disclosed in further embodiment of this invention;
Fig. 6 is a kind of structural representation of the processing unit of logical volume disclosed in one embodiment of the invention;
Fig. 7 is a kind of structural representation of the processing unit of logical volume disclosed in another embodiment of the present invention;
Fig. 8 is a kind of structural representation of the processing unit of logical volume disclosed in further embodiment of this invention;
Fig. 9 is a kind of structural representation of the processing unit of logical volume disclosed in further embodiment of this invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
One embodiment of the invention discloses a kind of processing method of logical volume, as shown in figure 1, this method following steps:
Step 101:Establishment and logical volume group corresponding to different service identifications;
Different logical volume groups, the corresponding service identification of each logical volume group, the service identification are created within the storage system For characterizing business.
It should be noted that the mode of the establishment logical volume group in the present invention is virtual group mode, virtual group mode is The record information for the ease of management logical volume, within the storage system and it is not present real entity.Specifically, the virtual group Mode can be recorded or is shown on the administration interface of storage system.
In actual applications, user can input the business for creating logical volume group on the administration interface of storage system Mark, to cause system is based on the service identification to create corresponding logical volume group.
Step 102:Logical volume with same business association is divided into and the business mark for characterizing the same business Corresponding to knowledge in logical volume group.
It is divided into the logical volume of same business association in same logical volume group, specifically, can there will be identical services The logical volume of attribute is divided into same logical volume group.For a logical volume group, its corresponding service identification is characterized Business, be same business with the business associated by the logical volume that is divided into the logical volume group.
When user needs to create a logical volume, it can be created based on identified logical volume group, optionally, be made For a kind of implementation of step 102, the logical volume with same business association is divided into being used to characterize the same business Service identification corresponding in logical volume group, including:
In logical volume group corresponding with the first service identification, first logical volume associated with the first business is created.
First service identification is used to characterize the first business, specifically, can the service attribute based on the first business create the One logical volume.
Certainly, the logical volume being created to can be also stored with storage pool, optionally, the another kind as step 102 is real Existing mode, the logical volume with same business association is divided into patrol corresponding with the service identification for characterizing the same business Collect in volume group, including:The first logical volume being associated in storage pool with the first business is divided into corresponding with the first service identification Logical volume group in.
First service identification is used to characterize the first business, specifically, attribute letter that can be based on the logical volume in storage pool Breath determines the first logical volume of the service attribute with the first business, and is divided into patrol corresponding with the first service identification Collect in volume group.
It should be noted that in the present invention, the first business, the first service identification corresponding with the first business, the first logic Volume and the differentiation merely for convenience of the second logical volume that can be referred to hereinafter, the 3rd logical volume etc. and the simple name carried out, and It is not specific to as a certain business or a certain logical volume.
It should be noted that above two implementation can be to implement side by side, can also individually implement, you can think " and/ Or " relation.
Fig. 2 shows a kind of specific packet configuration schematic diagram, as shown in Fig. 2 created in storage pool have logical volume group 1, Logical volume group 2 ... logical volume group N, and there is logical volume 1, logical volume 2 and logical volume 3 in logical volume group 1;In logical volume group 2 With logical volume 4 and logical volume 5;There is logical volume 6 and logical volume 7 in logical volume group 3.
In the embodiment of the present invention, by logical volume group corresponding to establishment and different service identifications, so that will be with same industry The logical volume of business association be divided into for characterize same business service identification corresponding in logical volume group, can so be based on using Logical volume is divided in the service identification of the business of sign, that is, establishes the relevance of logical volume and practical business, so as to It is enough intuitively to reflect the business associated with logical volume, and can logic-based volume group check the logic for belonging to same business Volume, improves search efficiency.
Another embodiment of the present invention discloses a kind of processing method of logical volume, as shown in figure 3, this method includes following step Suddenly:
Step 301:Establishment and logical volume group corresponding to different service identifications;
Step 302:In logical volume group corresponding with the first service identification, create first associated with the first business and patrol Collect volume;
Wherein, first service identification is used to characterize first business.
Optionally, in logical volume group corresponding with the first service identification, associated with first business the is created One logical volume, including procedure below:
(1) initiation parameter is obtained;
The initiation parameter can be inputted by user, the initiation parameter prestored can also be supplied into use by system Family, selected by user.Optionally, user can input or select initiation parameter on the administration interface of storage system.
(2) created based on the initiation parameter in logical volume group corresponding with the first service identification and first industry The first associated logical volume of business;
(3) attribute information of first logical volume is recorded.
The attribute information of first logical volume be information corresponding with initiation parameter, including one kind of following information or It is a variety of:Storage pool, the granularity of logical volume where logical volume type, logical volume.
Wherein, logical volume type includes simplification volume, compression coil and common volume.
The attribute information of the first logical volume recorded is used to subsequently create belongs to same logical volume group with the first logical volume Other logical volumes.
Step 303:First logical volume is mapped to the main frame using first logical volume.
The initiation parameter includes the mapping main frame of the first logical volume, therefore can be based on initiation parameter and create first After logical volume, the first logical volume is mapped on corresponding main frame.
On this basis, the attribute information of the first logical volume can also include the mapping main frame of the first logical volume.
In the embodiment of the present invention, by logical volume group corresponding to establishment and different service identifications, so that will be with same industry The logical volume of business association be divided into for characterize same business service identification corresponding in logical volume group, can so be based on using Logical volume is divided in the service identification of the business of sign, that is, establishes the relevance of logical volume and practical business, so as to It is enough intuitively to reflect the business associated with logical volume, and can logic-based volume group check the logic for belonging to same business Volume, improves search efficiency;And the first logical volume can be mapped on the main frame using the first logical volume automatically, without use Family is manually operated, improves treatment effeciency.
It also found for the way to manage on logical volume, inventor in the prior art, creating the mistake of logical volume every time Cheng Zhong, it is required for user to be manually entered a large amount of initiation parameters, for the attended operation of later stage dilatation, it is similar is substantially early stage The logical volume operation of type repeats, and cumbersome and efficiency is low.
For the technical problem, on the basis of above-described embodiment, further embodiment of this invention also discloses a kind of logic The processing method of volume, as shown in figure 4, this method comprises the following steps:
Step 401:Establishment and logical volume group corresponding to different service identifications;
Step 402:Logical volume with same business association is divided into and the business mark for characterizing the same business Corresponding to knowledge in logical volume group;
Optionally, it is described to be divided into the logical volume with same business association and the business for characterizing the same business Corresponding to mark in logical volume group, including:In logical volume group corresponding with the first service identification, create related to the first business First logical volume of connection;And/or the first logical volume associated with the first business in storage pool is divided into and the first business mark Corresponding to knowledge in logical volume group.Wherein, first service identification is used to characterize first business.
Step 403:The establishment operation of the second logical volume is received, obtains the establishment information of user's input;
Wherein, creating information includes the quantity of the second logical volume to be created, optionally, can also include the second logical volume Capacity.That is, user can create logical volume in batches by inputting establishment information.
Step 404:Obtain the establishing logical volume template of the logical volume group belonging to second logical volume;
It should be noted that the establishment operation based on the second logical volume can determine the affiliated logical volume group of the second logical volume, can Choosing, the logical volume group that user can be when sending the establishment operation of the second logical volume belonging to specified second logical volume.
In the present embodiment, establishing logical volume template directly can be used as using the first logical volume in logical volume group;Certainly, An establishing logical volume template can also be previously generated.No matter which kind of mode, the establishing logical volume template is all based on the first logic The attribute information determination of volume, i.e., the Template Information using the attribute information of the first logical volume as establishing logical volume.
Step 405:Use establishing logical volume template establishment the second logical volume corresponding with the establishment information;
Logical volume quantity to be created can be included by creating information, then, it can be created using establishing logical volume module Second logical volume of respective numbers;Logic Volume Space to be created, the second logical volume created can also be included by creating information Capacity with create information in capacity it is consistent.Optionally, logic Volume Space to be created can not be included by creating information, but Capacity parameter, capacity and the capacity in establishing logical volume template of the second logical volume created are provided by establishing logical volume template Parameter is consistent.
It should be noted that the second logical volume created is located in its affiliated logical volume group, the second logical volume with its belonging to Logical volume group the first logical volume it is associated with same business, and attribute information is essentially identical.
Step 406:Second logical volume is mapped to and belongs to the first of same logical volume group with second logical volume The main frame of logical volume.
After the second logical volume is created to, the second logical volume is mapped to first with its affiliated same logical volume group automatically The main frame of logical volume.
In actual applications, storage system can provide quick establishment menu on administration interface, and user is in the quick wound Build input on menu and create information, quantity, the capacity of logical volume to be created are such as inputted, so as to realize that the establishment of rapid batch is patrolled Collect volume.Certainly, user can also select the affiliated logical volume group of the second logical volume to be created on the quick establishment menu, or Input creates information directly under a certain logical volume group, so that system determines the affiliated logical volume group of the second logical volume.
In the embodiment of the present invention, by logical volume group corresponding to establishment and different service identifications, so that will be with same industry The logical volume of business association be divided into for characterize same business service identification corresponding in logical volume group, can so be based on using Logical volume is divided in the service identification of the business of sign, that is, establishes the relevance of logical volume and practical business, so as to It is enough intuitively to reflect the business associated with logical volume, and can logic-based volume group check the logic for belonging to same business Volume, improves search efficiency;
Further, logical volume can be created by establishing logical volume template, and carries out the mapping of respective host, so as to Simplify the operating process for creating logical volume, improve operating efficiency.
Further embodiment of this invention also discloses a kind of processing method of logical volume, as shown in figure 5, this method is including following Step:
Step 501:Establishment and logical volume group corresponding to different service identifications;
Step 502:Logical volume with same business association is divided into and the business mark for characterizing the same business Corresponding to knowledge in logical volume group;
Optionally, it is described to be divided into the logical volume with same business association and the business for characterizing the same business Corresponding to mark in logical volume group, including:In logical volume group corresponding with the first service identification, create related to the first business First logical volume of connection;And/or the first logical volume associated with the first business in storage pool is divided into and the first business mark Corresponding to knowledge in logical volume group.
Wherein, first service identification is used to characterize first business.
Step 503:When receiving the scheduled operation for the first logical volume, in the affiliated logical volume group of first logical volume Interior establishment and the logical volume of attribute information identical the 3rd of first logical volume;
The scheduled operation for triggering system creation and the first logical volume have same alike result information the 3rd logical volume behaviour Make, optionally, the scheduled operation can include many more manipulations, such as include the duplication operation for the first logical volume, and the The paste operation of the affiliated logical volume group of one logical volume;Or the scheduled operation may also be only single stepping, for example, directly existing A certain scheduled operation is carried out on first logical volume.
3rd logical volume belongs to same logical volume group with the first targeted logical volume of scheduled operation, and has identical category Property information.
Step 504:3rd logical volume is mapped to the main frame of first logical volume.
Specifically, the 3rd logical volume is mapped to the master for the first logical volume for belonging to same logical volume group with the 3rd logical volume On machine.
In the embodiment of the present invention, by logical volume group corresponding to establishment and different service identifications, so that will be with same industry The logical volume of business association be divided into for characterize same business service identification corresponding in logical volume group, can so be based on using Logical volume is divided in the service identification of the business of sign, that is, establishes the relevance of logical volume and practical business, so as to It is enough intuitively to reflect the business associated with logical volume, and can logic-based volume group check the logic for belonging to same business Volume, improves search efficiency;
Further, logical volume can be created by the scheduled operation for the first logical volume, and carries out respective host Mapping, so as to simplify create logical volume operating process, improve operating efficiency.
Corresponding with a kind of processing method of logical volume provided in an embodiment of the present invention, the invention also discloses one kind to patrol The processing unit of volume is collected, is illustrated individually below by embodiment:
One embodiment of the invention discloses a kind of processing unit of logical volume, as shown in fig. 6, the device includes:Create Volume group unit 601 and the first division unit 602;Wherein:
Volume group unit 601 is created, for establishment and logical volume group corresponding to different service identifications;
Different logical volume groups, the corresponding service identification of each logical volume group, the service identification are created within the storage system For characterizing business.
It should be noted that the mode of the establishment logical volume group in the present invention is virtual group mode, virtual group mode is The record information for the ease of management logical volume, within the storage system and it is not present real entity.Specifically, the virtual group Mode can be recorded or is shown on the administration interface of storage system.
In actual applications, user can input the business for creating logical volume group on the administration interface of storage system Mark, to cause system is based on the service identification to create corresponding logical volume group.
First division unit 602, for by the logical volume with same business association be divided into for characterize it is described same Corresponding to the service identification of business in logical volume group.
It is divided into the logical volume of same business association in same logical volume group, specifically, can there will be identical services The logical volume of attribute is divided into same logical volume group.For a logical volume group, its corresponding service identification is characterized Business, be same business with the business associated by the logical volume that is divided into the logical volume group.
Optionally, the first division unit 602 includes:Logic roll unit is created, and/or, divide logic roll unit;Wherein:
Logic roll unit is created, in logical volume group corresponding with the first service identification, creating and the first business phase First logical volume of association;
Logic roll unit is divided, for the first logical volume associated with the first business in storage pool to be divided into and first Corresponding to service identification in logical volume group;
First service identification is used to characterize first business.
In the embodiment of the present invention, by logical volume group corresponding to establishment and different service identifications, so that will be with same industry The logical volume of business association be divided into for characterize same business service identification corresponding in logical volume group, can so be based on using Logical volume is divided in the service identification of the business of sign, that is, establishes the relevance of logical volume and practical business, so as to It is enough intuitively to reflect the business associated with logical volume, and can logic-based volume group check the logic for belonging to same business Volume, improves search efficiency.
Another embodiment of the present invention discloses a kind of processing unit of logical volume, as shown in fig. 7, the device includes:Create Volume group unit 701, the first division unit 702 and the first map unit 703;Wherein:
Volume group unit 701 is created, for establishment and logical volume group corresponding to different service identifications;
First division unit 702, for by the logical volume with same business association be divided into for characterize it is described same Corresponding to the service identification of business in logical volume group;
Optionally, in the present embodiment, the first division unit 702 includes:Create logic roll unit, for the first industry Corresponding to business mark in logical volume group, first logical volume associated with the first business is created;Accordingly, logical volume list is created Member, including:Get parms module, the first creation module and record information module;Wherein:
Get parms module, for obtaining initiation parameter;
The initiation parameter can be inputted by user, the initiation parameter prestored can also be supplied into use by system Family, selected by user.Optionally, user can input or select initiation parameter on the administration interface of storage system.
First creation module, for being created based on the initiation parameter in logical volume group corresponding with the first service identification Build first logical volume associated with first business;
Record information module, for recording the attribute information of first logical volume.
The attribute information of first logical volume be information corresponding with initiation parameter, including one kind of following information or It is a variety of:Storage pool, the granularity of logical volume where logical volume type, logical volume.
Wherein, logical volume type includes simplification volume, compression coil and common volume.
First map unit 703, for first logical volume to be mapped to the main frame using first logical volume.
The initiation parameter includes the mapping main frame of the first logical volume, therefore can be based on initiation parameter and create first After logical volume, the first logical volume is mapped on corresponding main frame.
On this basis, the attribute information of the first logical volume can also include the mapping main frame of the first logical volume.
In the embodiment of the present invention, by logical volume group corresponding to establishment and different service identifications, so that will be with same industry The logical volume of business association be divided into for characterize same business service identification corresponding in logical volume group, can so be based on using Logical volume is divided in the service identification of the business of sign, that is, establishes the relevance of logical volume and practical business, so as to It is enough intuitively to reflect the business associated with logical volume, and can logic-based volume group check the logic for belonging to same business Volume, improves search efficiency;And the first logical volume can be mapped on the main frame using the first logical volume automatically, without use Family is manually operated, improves treatment effeciency.
Further embodiment of this invention discloses a kind of processing unit of logical volume, as shown in figure 8, the device includes:Create Volume group unit 801, the first division unit 802, obtain information unit 803, obtain modular unit 804, the first creating unit 805 with And second map unit 806;Wherein:
Volume group unit 801 is created, for establishment and logical volume group corresponding to different service identifications;
First division unit 802, for by the logical volume with same business association be divided into for characterize it is described same Corresponding to the service identification of business in logical volume group.
Optionally, in the present embodiment, the first division unit 802 includes:Logic roll unit is created, and/or, divide logic Roll unit;Wherein:
Logic roll unit is created, in logical volume group corresponding with the first service identification, creating and the first business phase First logical volume of association;
Logic roll unit is divided, for the first logical volume associated with the first business in storage pool to be divided into and first Corresponding to service identification in logical volume group;
First service identification is used to characterize first business.
Information unit 803 is obtained, for receiving the establishment operation of the second logical volume, obtains the establishment information of user's input;
Wherein, creating information includes the quantity of the second logical volume to be created, optionally, can also include the second logical volume Capacity.That is, user can create logical volume in batches by inputting establishment information.
Modular unit 804 is obtained, for obtaining the establishing logical volume template of the logical volume group belonging to second logical volume;
It should be noted that the establishment operation based on the second logical volume can determine the affiliated logical volume group of the second logical volume, can Choosing, the logical volume group that user can be when sending the establishment operation of the second logical volume belonging to specified second logical volume.
In the present embodiment, establishing logical volume template directly can be used as using the first logical volume in logical volume group;Certainly, An establishing logical volume template can also be previously generated.No matter which kind of mode, the establishing logical volume template is all based on the first logic The attribute information determination of volume, i.e., the Template Information using the attribute information of the first logical volume as establishing logical volume.
First creating unit 805, for creating information corresponding the with described using the establishing logical volume template establishment Two logical volumes;Wherein, attribute information of the establishing logical volume template based on first logical volume determines;
Logical volume quantity to be created can be included by creating information, then, it can be created using establishing logical volume module Second logical volume of respective numbers;Logic Volume Space to be created, the second logical volume created can also be included by creating information Capacity with create information in capacity it is consistent.Optionally, logic Volume Space to be created can not be included by creating information, but Capacity parameter, capacity and the capacity in establishing logical volume template of the second logical volume created are provided by establishing logical volume template Parameter is consistent.
It should be noted that the second logical volume created is located in its affiliated logical volume group, the second logical volume with its belonging to Logical volume group the first logical volume it is associated with same business, and attribute information is essentially identical.
Second map unit 806, belong to same for second logical volume to be mapped to second logical volume and patrol Collect the main frame of the first logical volume of volume group.
After the second logical volume is created to, the second logical volume is mapped to first with its affiliated same logical volume group automatically The main frame of logical volume.
In actual applications, storage system can provide quick establishment menu on administration interface, and user is in the quick wound Build input on menu and create information, quantity, the capacity of logical volume to be created are such as inputted, so as to realize that the establishment of rapid batch is patrolled Collect volume.Certainly, user can also select the affiliated logical volume group of the second logical volume to be created on the quick establishment menu, or Input creates information directly under a certain logical volume group, so that system determines the affiliated logical volume group of the second logical volume.
In the embodiment of the present invention, by logical volume group corresponding to establishment and different service identifications, so that will be with same industry The logical volume of business association be divided into for characterize same business service identification corresponding in logical volume group, can so be based on using Logical volume is divided in the service identification of the business of sign, that is, establishes the relevance of logical volume and practical business, so as to It is enough intuitively to reflect the business associated with logical volume, and can logic-based volume group check the logic for belonging to same business Volume, improves search efficiency;
Further, logical volume can be created by establishing logical volume template, and carries out the mapping of respective host, so as to Simplify the operating process for creating logical volume, improve operating efficiency.
Further embodiment of this invention discloses a kind of processing unit of logical volume, as shown in figure 9, the device includes:Create Volume group unit 901, the first division unit 902, the second creating unit 903 and the 3rd map unit 904;Wherein:
Volume group unit 901 is created, for establishment and logical volume group corresponding to different service identifications;
First division unit 902, for by the logical volume with same business association be divided into for characterize it is described same Corresponding to the service identification of business in logical volume group.
Optionally, in the present embodiment, the first division unit 902 includes:Logic roll unit is created, and/or, divide logic Roll unit;Wherein:
Logic roll unit is created, in logical volume group corresponding with the first service identification, creating and the first business phase First logical volume of association;
Logic roll unit is divided, for the first logical volume associated with the first business in storage pool to be divided into and first Corresponding to service identification in logical volume group;
First service identification is used to characterize first business.
Second creating unit 903, when the scheduled operation of the first logical volume is directed to for receiving, in first logical volume The logical volume of attribute information identical the 3rd with first logical volume is created in affiliated logical volume group;
The scheduled operation for triggering system creation and the first logical volume have same alike result information the 3rd logical volume behaviour Make, optionally, the scheduled operation can include many more manipulations, such as include the duplication operation for the first logical volume, and the The paste operation of the affiliated logical volume group of one logical volume;Or the scheduled operation may also be only single stepping, for example, directly existing A certain scheduled operation is carried out on first logical volume.
3rd logical volume belongs to same logical volume group with the first targeted logical volume of scheduled operation, and has identical category Property information.
3rd map unit 904, for the 3rd logical volume to be mapped to the main frame of first logical volume.
Specifically, the 3rd logical volume is mapped to the master for the first logical volume for belonging to same logical volume group with the 3rd logical volume On machine.
In the embodiment of the present invention, by logical volume group corresponding to establishment and different service identifications, so that will be with same industry The logical volume of business association be divided into for characterize same business service identification corresponding in logical volume group, can so be based on using Logical volume is divided in the service identification of the business of sign, that is, establishes the relevance of logical volume and practical business, so as to It is enough intuitively to reflect the business associated with logical volume, and can logic-based volume group check the logic for belonging to same business Volume, improves search efficiency;
Further, logical volume can be created by the scheduled operation for the first logical volume, and carries out respective host Mapping, so as to simplify create logical volume operating process, improve operating efficiency.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (12)

  1. A kind of 1. processing method of logical volume, it is characterised in that including:
    Establishment and logical volume group corresponding to different service identifications;
    Logical volume with same business association is divided into logic corresponding with the service identification for characterizing the same business In volume group.
  2. 2. according to the method for claim 1, it is characterised in that it is described by the logical volume with same business association be divided into For characterizing corresponding to the service identification of the same business in logical volume group, including:
    In logical volume group corresponding with the first service identification, first logical volume associated with the first business is created;
    And/or the first logical volume being associated in storage pool with the first business is divided into patrol corresponding with the first service identification Collect in volume group;
    Wherein, first service identification is used to characterize first business.
  3. 3. according to the method for claim 2, it is characterised in that described in logical volume group corresponding with the first service identification It is interior, first logical volume associated with first business is created, including:
    Obtain initiation parameter;
    Based on the initiation parameter to the first service identification corresponding to create in logical volume group it is related with first business First logical volume of connection;
    Record the attribute information of first logical volume.
  4. 4. according to the method for claim 3, it is characterised in that described to create first logical volume associated with the first business Afterwards, in addition to:
    First logical volume is mapped to the main frame using first logical volume.
  5. 5. according to the method for claim 2, it is characterised in that also include:
    The establishment operation of the second logical volume is received, obtains the establishment information of user's input;
    Obtain the establishing logical volume template of the logical volume group belonging to second logical volume;
    Use the establishing logical volume template establishment the second logical volume corresponding with the establishment information;Wherein, the logical volume Attribute information of the drawing template establishment based on first logical volume determines;
    Second logical volume is mapped to the main frame for the first logical volume for belonging to same logical volume group with second logical volume.
  6. 6. according to the method for claim 2, it is characterised in that also include:
    When receiving the scheduled operation for the first logical volume, created in the affiliated logical volume group of first logical volume with it is described The logical volume of attribute information identical the 3rd of first logical volume;
    3rd logical volume is mapped to the main frame of first logical volume.
  7. A kind of 7. processing unit of logical volume, it is characterised in that including:
    Volume group unit is created, for establishment and logical volume group corresponding to different service identifications;
    First division unit, for the logical volume with same business association to be divided into and the industry for characterizing the same business Corresponding to business mark in logical volume group.
  8. 8. device according to claim 7, it is characterised in that first division unit, including:
    Logic roll unit is created, in logical volume group corresponding with the first service identification, creating associated with the first business The first logical volume;
    And/or division logic roll unit, for the first logical volume associated with the first business in storage pool to be divided into and the Corresponding to one service identification in logical volume group;
    Wherein, first service identification is used to characterize first business.
  9. 9. device according to claim 8, it is characterised in that logic roll unit is created, including:
    Get parms module, for obtaining initiation parameter;
    First creation module, for created based on the initiation parameter in logical volume group corresponding with the first service identification with The first associated logical volume of first business;
    Record information module, for recording the attribute information of first logical volume.
  10. 10. device according to claim 9, it is characterised in that also include:
    First map unit, for first logical volume to be mapped to the main frame using first logical volume.
  11. 11. device according to claim 8, it is characterised in that also include:
    Information unit is obtained, for receiving the establishment operation of the second logical volume, obtains the establishment information of user's input;
    Modular unit is obtained, for obtaining the establishing logical volume template of the logical volume group belonging to second logical volume;
    First creating unit, for using the establishing logical volume template establishment the second logic corresponding with the establishment information Volume;Wherein, attribute information of the establishing logical volume template based on first logical volume determines;
    Second map unit, belong to same logical volume group with second logical volume for second logical volume to be mapped to The main frame of first logical volume.
  12. 12. device according to claim 8, it is characterised in that also include:
    Second creating unit, when the scheduled operation of the first logical volume is directed to for receiving, patrolled belonging to first logical volume Collect the logical volume of attribute information identical the 3rd created in volume group with first logical volume;
    3rd map unit, for the 3rd logical volume to be mapped to the main frame of first logical volume.
CN201710697689.1A 2017-08-15 2017-08-15 A kind for the treatment of method and apparatus of logical volume Pending CN107463338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710697689.1A CN107463338A (en) 2017-08-15 2017-08-15 A kind for the treatment of method and apparatus of logical volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710697689.1A CN107463338A (en) 2017-08-15 2017-08-15 A kind for the treatment of method and apparatus of logical volume

Publications (1)

Publication Number Publication Date
CN107463338A true CN107463338A (en) 2017-12-12

Family

ID=60549815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710697689.1A Pending CN107463338A (en) 2017-08-15 2017-08-15 A kind for the treatment of method and apparatus of logical volume

Country Status (1)

Country Link
CN (1) CN107463338A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284209A (en) * 2018-09-06 2019-01-29 郑州云海信息技术有限公司 The automated testing method of different type Vdisk under a kind of Mcs system
CN109558264A (en) * 2018-12-12 2019-04-02 浪潮(北京)电子信息产业有限公司 A kind of volume information method of calibration, system and the associated component of virtual volume
WO2023010849A1 (en) * 2021-08-02 2023-02-09 华为技术有限公司 Lun management method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040001106A1 (en) * 2002-06-26 2004-01-01 John Deutscher System and process for creating an interactive presentation employing multi-media components
US20060004819A1 (en) * 2004-07-01 2006-01-05 Claudatos Christopher H Information management
CN101510146A (en) * 2009-03-27 2009-08-19 成都市华为赛门铁克科技有限公司 Virtual space establishing method, apparatus and system based on independent redundant magnetic disc array
CN101510143A (en) * 2009-03-13 2009-08-19 杭州华三通信技术有限公司 Storage space dynamic assignment method, system and storage apparatus
CN104468836A (en) * 2014-12-29 2015-03-25 成都致云科技有限公司 Virtual disk creating method and device and distributed storage system
CN105516242A (en) * 2015-11-23 2016-04-20 华为技术有限公司 Storage resource distribution method and storage resource distribution system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040001106A1 (en) * 2002-06-26 2004-01-01 John Deutscher System and process for creating an interactive presentation employing multi-media components
US20060004819A1 (en) * 2004-07-01 2006-01-05 Claudatos Christopher H Information management
CN101510143A (en) * 2009-03-13 2009-08-19 杭州华三通信技术有限公司 Storage space dynamic assignment method, system and storage apparatus
CN101510146A (en) * 2009-03-27 2009-08-19 成都市华为赛门铁克科技有限公司 Virtual space establishing method, apparatus and system based on independent redundant magnetic disc array
CN104468836A (en) * 2014-12-29 2015-03-25 成都致云科技有限公司 Virtual disk creating method and device and distributed storage system
CN105516242A (en) * 2015-11-23 2016-04-20 华为技术有限公司 Storage resource distribution method and storage resource distribution system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284209A (en) * 2018-09-06 2019-01-29 郑州云海信息技术有限公司 The automated testing method of different type Vdisk under a kind of Mcs system
CN109558264A (en) * 2018-12-12 2019-04-02 浪潮(北京)电子信息产业有限公司 A kind of volume information method of calibration, system and the associated component of virtual volume
WO2023010849A1 (en) * 2021-08-02 2023-02-09 华为技术有限公司 Lun management method and device

Similar Documents

Publication Publication Date Title
CN107222318A (en) The performance data processing method and device and NMS of a kind of network element
CN107463338A (en) A kind for the treatment of method and apparatus of logical volume
US20050050175A1 (en) Generic method for defining resource configuration profiles in provisioning systems
CN108496324A (en) Cloud workload delivery system and method
CN108337110A (en) A kind of virtual resource management method and device, computer readable storage medium
CN105867864A (en) Method and device for displaying of K virtual machines (KVMs)
CN101625649A (en) Loading method and loading device of software
CN106101299A (en) Method for assigning address to indoor unit and multiple on-line system
CN107071036A (en) A kind of method, the webserver and system for downloading driving file
CN102801565B (en) Method for carrying out centralized management on service configuration in network management system
CN110321508A (en) Processing method, device, storage medium and the equipment of page presentation data
WO2021104156A1 (en) Network service management method, device, and system
CN107203409A (en) A kind of USB re-orientation processes method and system
CN102222112A (en) Resource management device and resource management method
CN107656796A (en) A kind of virtual machine cold moving method, system and equipment
CN108574718A (en) A kind of cloud host creation method and device
CN108418752A (en) A kind of creation method and device of aggregation group
CN103516880A (en) Method and device for sending short messages
CN107342820A (en) VOLT method and system are realized based on Template Manager
CN111030843B (en) Online configuration method and device for user terminal equipment bearing intelligent private line
CN107220146A (en) A kind of file scan restoration methods and device
CN109542848A (en) A kind of vehicle-mounted media file fast scanning method and system
JP3186922B2 (en) Network management system and method
CN101674337A (en) Method for distributing virtual private network internet protocol addresses and network management system
CN107493181B (en) Indication method and device of virtual expansion port

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171212

RJ01 Rejection of invention patent application after publication