CN113741793B - Method, device and system for reporting storage resources - Google Patents
Method, device and system for reporting storage resources Download PDFInfo
- Publication number
- CN113741793B CN113741793B CN202010477933.5A CN202010477933A CN113741793B CN 113741793 B CN113741793 B CN 113741793B CN 202010477933 A CN202010477933 A CN 202010477933A CN 113741793 B CN113741793 B CN 113741793B
- Authority
- CN
- China
- Prior art keywords
- host
- storage
- storage resource
- storage device
- resource
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 111
- 238000012545 processing Methods 0.000 claims description 36
- 230000005540 biological transmission Effects 0.000 claims description 15
- 230000006870 function Effects 0.000 description 25
- 238000004891 communication Methods 0.000 description 18
- 230000008569 process Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 230000008878 coupling Effects 0.000 description 11
- 238000010168 coupling process Methods 0.000 description 11
- 238000005859 coupling reaction Methods 0.000 description 11
- 230000010365 information processing Effects 0.000 description 8
- 230000003993 interaction Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/062—Securing storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the application discloses a method, a device and a system for reporting storage resources, which relate to the field of computers and improve the storage safety when a storage device is connected with a plurality of hosts through service channels. The specific scheme is as follows: receiving a size of a first storage resource; determining a first host that manages a first storage resource; the first host establishes channel connection with the first storage device; selecting a physical disk with the size meeting the size of a first storage resource in first storage equipment, and establishing the first storage resource; an identification of the first storage resource is sent to the first host.
Description
Technical Field
The embodiment of the application relates to the field of computers, in particular to a method, a device and a system for reporting storage resources.
Background
With the continuous development of computer technology and related information processing technology, the demand for storage is increasing. Disk array (redundant arrays of independent disks, RAID) storage technology has also been rapidly developed and has been widely used in the technical fields of education, military, industry, etc.
RAID storage techniques may be applied to multi-node multi-host storage systems. The multi-node multi-host storage system comprises a plurality of hosts and a plurality of storage devices (for example, a RAID/Host Bus Adapter (HBA) storage device), wherein each host establishes a service channel connection with one or more storage devices, and each storage device establishes a service channel connection with one or more hosts.
In a multi-node multi-host storage system, when a user accesses a resource of a storage device, the user selects the storage device through the host and requests the storage device to allocate the storage resource to the storage device, the storage device reports the storage resource allocated to the storage device (such as Identity (ID) of a logical unit (logical unit number, LUN) in the storage device) to the host, and the user accesses and manages (writes data or reads data) the storage resource reported by the storage device through the host.
Currently, in a multi-node multi-host storage system, a host first obtains the size of a storage resource to be accessed, selects a target storage device that can provide the size of the storage resource, sends the size of the storage resource to be accessed to the target storage device, creates a LUN according to the size of the storage resource received by the target storage device, and reports the ID of the LUN created to all hosts that have established a service channel connection with the target storage device (when there are multiple hosts that establish a service channel connection with the target storage device, the ID of the LUN created will be reported to the multiple hosts).
The service channel connection with the storage device is established as a reporting host of the granularity selection LUN, and the newly-built LUN can be used as storage resources which can be accessed by all hosts which establish the service channel connection with the storage device where the LUN is located, so that the security of the storage system is low.
Disclosure of Invention
The application provides a method, a device and a system for reporting storage resources, which improve the storage security when a storage device is connected with a plurality of hosts through service channels.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, the present application provides a method for reporting a storage resource, where the method is applied to a first storage device in a storage system, and the storage system further includes a plurality of hosts that establish a channel connection with the first storage device, and the method may include: receiving a size of a first storage resource; determining a first host that manages a first storage resource; the first host establishes channel connection with the first storage device; selecting a physical disk with the size meeting the size of a first storage resource in first storage equipment, and establishing the first storage resource; an identification of the first storage resource is sent to the first host.
By applying the method for reporting the storage resource, the host computer for managing the storage resource is determined when the storage device builds the storage resource, and the storage device only reports the identification of the built storage resource to the host computer for managing the storage resource, so that the storage resource is ensured to be accessed only by the host computer for managing the storage resource, and the storage security is improved.
When the storage equipment reports the storage resource to the host, the host for managing the storage resource can be flexibly arranged, and then the storage resource is reported to the host for managing the storage resource, so that the flexibility of reporting the storage resource is improved. Meanwhile, the storage resources reported to the host only contain the storage resources managed by the host, and do not contain the storage resources managed by other hosts, namely, the reported storage resources can be used by the host, so that the utilization rate of the storage resources is improved.
With reference to the first aspect, in one possible implementation manner, determining a first host that manages a first storage resource may include: the host that determines the size of the first storage resource to send is the first host. In the possible implementation manner, the host sending the first storage resource size is the reported first host, so that the storage security is further improved.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, determining a first host that manages the first storage resource may include: an identification of a host managing the first storage resource is received, the host indicated by the identification being the first host. In the possible implementation manner, the first host computer in the report is the host computer indicated by the identifier, so that the flexibility in the report is improved.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: the identity of the first host is sent to the first host. In this possible implementation manner, the host (possibly the first host or not) that receives the identifier of the first storage resource may further determine whether the first storage resource is a storage resource managed by itself according to the first host identifier, thereby further improving storage security.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: the first storage resource is recorded as a first host managed storage resource. In the possible implementation manner, the storage device records the storage resources managed by each host, when the host needs to access, the record information can be directly called, the storage resources needing to be accessed are rapidly positioned, and the convenience of access is improved.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: acquiring an identification of a second host; the second host is a backup host when the first host meets the preset conditions; and sending the identification of the storage resource managed by the first host to the second host according to the identification of the second host. In this possible implementation, the storage resource managed by the first host may be switched to another host for management, thereby improving reliability and flexibility of the system.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the preset condition may include: the first host is unreachable; alternatively, the first host manages a number of storage resources greater than or equal to the first threshold. In the possible implementation manner, the preset conditions can be flexibly configured, so that the flexibility of switching is improved.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, before establishing the first storage resource, the method may further include: and if the identification indicating the first storage device is received, executing the establishment of the first storage resource. In this possible implementation manner, the storage device (possibly the first storage device or not) that receives the identifier indicating the first storage device may further determine, according to the identifier of the first storage device, whether the size of the first storage resource is information sent to itself, and when it is determined that the device indicated by the identifier is itself, execute a corresponding establishing action, thereby further improving storage security.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, before establishing the first storage resource, the method may further include: if the identification indicating the first storage device is not received, the first storage resource is not established. In this possible implementation, the security of the storage is further improved.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: receiving an operation instruction sent by a fourth host and an identifier of a second storage resource, wherein the operation instruction is used for indicating the operation on the second storage resource, and the second storage resource is any storage resource in the first storage device; determining that the second storage resource is a storage resource managed by the fourth host; and executing the operation corresponding to the operation instruction on the second storage resource. In the possible implementation manner, the reported storage resource can be further operated, so that the safety and flexibility of the operation after reporting are further improved.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the operation instruction corresponding to the operation may include: write operation, or read operation, or delete operation. In the possible implementation manner, the operation action can be flexibly configured, so that the flexibility of the operation on the reporting resource in the storage system is improved.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the storage resource is a logical unit LUN.
In a second aspect, the present application provides another method for reporting a storage resource, where the method may be applied to a third host in a storage system, where the storage system further includes a plurality of storage devices that establish a channel connection with the third host, and where one storage device establishes a channel connection with a plurality of hosts in the storage system, where the method may include: receiving the size of a first storage resource which is input by a user and is requested to be accessed; selecting a first storage device of a supported size from a plurality of storage devices; determining a first host for managing the first storage resource, wherein the first host establishes channel connection with the first storage device; the size of the first storage resource is sent to the first storage device.
By applying the method for reporting the storage resource, the host computer for managing the storage resource is determined when the storage device newly builds the storage resource, and the storage device only reports the identification of the newly built storage resource to the host computer for managing the storage resource, so that the storage resource is ensured to be accessed by the host computer for managing the storage resource, the storage safety is improved, and meanwhile, the reporting flexibility and the resource utilization rate are improved.
With reference to the second aspect, in a possible implementation manner, the method may further include: an identification of the first host is sent to the first storage device. In this possible implementation manner, the first storage device determines the reporting host according to the received first host identifier, so as to improve flexibility of reporting storage resources in the storage system.
With reference to the second aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: the identification of the first storage device is sent to the first storage device. In this possible implementation manner, the storage device (possibly the first storage device or not) that receives the identifier indicating the first storage device may further determine, according to the identifier of the first storage device, whether the size of the first storage resource is information sent to itself, and when it is determined that the device indicated by the identifier is itself, execute a corresponding establishing action, thereby further improving storage security.
With reference to the second aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: receiving an identification of a first storage resource sent by a first storage device; the first storage resource is recorded as a third host managed storage resource. In the possible implementation manner, the host records the storage resources managed by the host, and when the host needs to access, the record information can be directly called, so that the storage resources needing to be accessed are rapidly positioned, and the convenience of access is improved.
With reference to the second aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: and if the third host identity is received, executing the recording of the first storage resource as the storage resource managed by the third host.
With reference to the second aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: if the first host meets the preset condition, the third host selects the second host; the second host is a host which does not meet preset conditions in the storage system; the third host sends a second host identity to the first storage device. In this possible implementation manner, the storage resource managed by the first host may be switched to another host management, which improves reliability and flexibility of the system.
With reference to the second aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the method may further include: when the third host performs the first operation on the second storage resource, the third host sends an operation instruction of the first operation and an identification of the second storage resource to the first storage device, and the second storage resource is any storage resource managed by the third host in the first storage device. In the possible implementation manner, the reported storage resource can be further operated, so that the safety and flexibility of the operation after reporting are further improved.
With reference to the second aspect or one of the foregoing possible implementation manners, in another possible implementation manner, the first operation includes: write operation, or read operation, or delete operation. In the possible implementation manner, the operation action can be flexibly configured, so that the flexibility of the operation on the reporting resource in the storage system is improved.
In a third aspect, the present application further provides an apparatus for reporting a storage resource, where the apparatus is disposed on a first storage device in a storage system, and the storage system may further include a plurality of hosts that establish a channel connection with the first storage device, and the apparatus may include:
and the first receiving unit is used for receiving the size of the first storage resource.
A first determining unit configured to determine a first host managing a first storage resource; the first host establishes a channel connection with the first storage device.
The establishing unit is used for selecting the physical disk with the size meeting the size of the first storage resource in the first storage device and establishing the first storage resource.
And the first sending unit is used for sending the identification of the first storage resource to the first host.
It should be noted that, the third aspect provides an apparatus for reporting a storage resource, which is configured to execute the method for reporting a storage resource provided in the first aspect, and specific implementation may refer to specific implementation of the first aspect.
In a fourth aspect, the present application provides an apparatus for reporting a storage resource, where the apparatus may be disposed on a third host in a storage system, the storage system may further include a plurality of storage devices that establish a channel connection with the third host, and one storage device establishes a channel connection with a plurality of hosts in the storage system, where the apparatus may include:
and the first receiving unit is used for receiving the size of the first storage resource which is input by the user and is requested to be accessed.
And a first selecting unit for selecting a first storage device supporting the size from the plurality of storage devices.
And the determining unit is used for determining a first host for managing the first storage resource, and the first host establishes channel connection with the first storage device.
And the sending unit is used for sending the size of the first storage resource to the first storage device.
It should be noted that, the fourth aspect provides an apparatus for reporting a storage resource, which is configured to perform the method for reporting a storage resource provided in the second aspect, and specific implementation may refer to specific implementation of the second aspect.
In a fifth aspect, an embodiment of the present application provides a storage device, where the storage device may include a processor configured to implement the method for reporting a storage resource described in the first aspect. The apparatus may further comprise a memory coupled to the processor, the processor being operable to implement the method of reporting storage resources described in the first aspect above when executing instructions stored in the memory. The device may also include a communication interface for the device to communicate with other devices, which may be, for example, a transceiver, circuit, bus, module, or other type of communication interface. In one possible implementation, the apparatus may include:
And the memory is used for storing the instructions.
A processor that receives a size of a first storage resource; determining a first host that manages a first storage resource; the first host establishes channel connection with the first storage device; selecting a physical disk with the size meeting the size of a first storage resource in first storage equipment, and establishing the first storage resource; an identification of the first storage resource is sent to the first host.
It should be noted that, in the present application, the instructions in the memory may be stored in advance, or may be downloaded from the internet and then stored when the device is used, and the source of the instructions in the memory is not specifically limited in the present application. The coupling in the embodiments of the present application is an indirect coupling or connection between devices, units, or modules, which may be in electrical, mechanical, or other form for information interaction between the devices, units, or modules.
In a sixth aspect, embodiments of the present application provide a host, where the host may include a processor configured to implement the method for reporting a storage resource described in the second aspect above. The host may further comprise a memory coupled to the processor, the processor being operable to implement the method of reporting storage resources described in the second aspect above when executing instructions stored in the memory. The host may also include a communication interface for the apparatus to communicate with other devices, which may be, for example, a transceiver, circuit, bus, module, or other type of communication interface. In one possible implementation, the host may include:
And the memory is used for storing the instructions.
A processor for receiving the size of a first storage resource which is input by a user and is requested to be accessed; selecting a first storage device of a supported size from a plurality of storage devices; determining a first host for managing the first storage resource, wherein the first host establishes channel connection with the first storage device; the size of the first storage resource is sent to the first storage device.
It should be noted that, in the present application, the instructions in the memory may be stored in advance, or may be downloaded from the internet and then stored when the host is used, and the source of the instructions in the memory is not specifically limited in the present application. The coupling in the embodiments of the present application is an indirect coupling or connection between devices, units, or modules, which may be in electrical, mechanical, or other form for information interaction between the devices, units, or modules.
In a seventh aspect, there is provided a storage system, where a plurality of first devices reporting storage resources and a plurality of second devices reporting storage resources are provided, where the first devices reporting storage resources may be the devices in the third aspect or any one of the possible implementation manners of the third aspect, and the second devices reporting storage resources may be the devices in the fourth aspect or any one of the possible implementation manners of the fourth aspect. And the device for reporting the storage resources of one second device for reporting the storage resources establishes channel connection with the device for reporting the storage resources of the first device for reporting the storage resources.
In an eighth aspect, a storage system is provided, where the storage system includes a plurality of storage devices, and a plurality of hosts, where the storage devices may be devices in the fifth aspect or any of the possible implementation manners of the fifth aspect, and the hosts may be hosts in the sixth aspect or any of the possible implementation manners of the sixth aspect. One storage device establishes channel connection with a plurality of hosts, and one host establishes channel connection with a plurality of storage devices.
In a ninth aspect, embodiments of the present application further provide a computer readable storage medium, including instructions that when executed on a computer, cause the computer to perform a method for reporting a storage resource according to any one of the foregoing aspects or any one of possible implementation manners.
In a tenth aspect, embodiments of the present application further provide a computer program product, which when run on a computer, causes the computer to perform the method for reporting storage resources according to any one of the above-mentioned or any one of the possible implementation manners.
In an eleventh aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor and may further include a memory, where the memory is configured to implement a function performed by a storage device in the foregoing method. The chip system may be formed of a chip or may include a chip and other discrete devices.
In a twelfth aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor and may further include a memory, where the processor is configured to implement a function executed by a host in the method described above. The chip system may be formed of a chip or may include a chip and other discrete devices.
The foregoing third to twelfth aspects of the present invention provide solutions for implementing the method for reporting a storage resource provided in the foregoing first to second aspects, so that the same beneficial effects as those in the first to second aspects may be achieved, and no further description is given here.
The various possible implementations of any of the foregoing aspects may be combined without contradiction between the schemes.
Drawings
Fig. 1 is a schematic diagram of a reporting scenario of a LUN provided in the prior art;
fig. 2 is a schematic diagram of an application scenario for reporting storage resources provided in the present application;
FIG. 3 is a schematic diagram of a system architecture of a storage system provided in the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in the present application;
FIG. 5 is a flowchart illustrating a method for reporting storage resources provided in the present application;
FIG. 6 is a flowchart illustrating another method for reporting storage resources provided in the present application;
FIG. 7 is a schematic diagram of a reporting scenario of a LUN in another storage system provided by the present application;
fig. 8 is a schematic structural diagram of a device for reporting storage resources provided in the present application;
fig. 9 is a schematic structural diagram of another device for reporting storage resources provided in the present application;
FIG. 10 is a schematic diagram of a memory device according to the present application;
FIG. 11 is a schematic structural diagram of another device for reporting storage resources provided in the present application;
fig. 12 is a schematic structural diagram of another device for reporting storage resources provided in the present application;
fig. 13 is a schematic structural diagram of a host provided in the present application.
Detailed Description
The terms first, second, third and the like in the description and in the claims and in the above drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion that may be readily understood.
In the description of the present application, unless otherwise indicated, "/" means that the associated object is an "or" relationship, e.g., a/B may represent a or B; the term "and/or" in this application is merely an association relation describing an association object, and means that three kinds of relations may exist, for example, a and/or B may mean: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. Also, in the description of the present application, unless otherwise indicated, "a plurality" means two or more than two. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
In the embodiments of the present application, at least one may also be described as one or more, and a plurality may be two, three, four or more, which is not limited in this application.
For ease of understanding, technical terms referred to in the present application are explained first.
A LUN may refer to a logical unit of one or more physical disk resources in a storage device.
Storage resources refer to resources of physical disks of a particular size in a storage device. The size of the storage resource can be configured according to actual requirements. The plurality of storage resources may be the same or different in size. For example, a storage resource may be a LUN.
The channel connection may refer to a connection channel established at the time of communication between the host and the storage device for transmitting information. Channels can be functionally divided into management channels and service channels. The management channel is used for transmitting management commands, and the service channel is used for transmitting specific information related to the storage resources. Specifically, the management channel and the service channel may be the same physical channel or different physical channels. Among other things, the physical channel connection referred to herein may be a high-speed serial computer expansion bus (peripheral component interconnect express, PCIE) connection, or an internet protocol (internet protocol, IP) connection.
Identification, referring to information used to distinguish between different objects, the identification of an object may be used to uniquely indicate the object. For example, the identification may be a code, a token, or the like. For example, a storage resource identification may be used to distinguish between different storage resources, with one storage resource identification uniquely indicating one storage resource. The host identities may be used to identify different hosts, and one host identity may uniquely indicate one host. The host identity may be an encoding of the host, a marking of the host, or a physical address of the host, etc. The storage device identification may be used to distinguish between different storage devices, with one storage device identification uniquely indicating one storage device.
Fig. 1 illustrates a reporting scenario of a LUN provided in the prior art, where the reporting scenario includes a plurality of hosts (illustrated as host 1, host 2, and host 3 in fig. 1) and a plurality of storage devices (illustrated as storage device 1, storage device 2, and storage device 3 in fig. 1). In the reporting scenario, each host establishes a traffic channel connection with one or more storage devices, and each storage device establishes a traffic channel connection with one or more hosts.
Specifically, assuming that the storage device 1 establishes service channel connection with the host 1, the host 2, and the host 3, in the reporting scenario illustrated in fig. 1, the reporting process of the LUN mainly includes: the host first obtains the size of the storage resource to be accessed, selects a target storage device (assumed to be storage device 1) that can provide the size, sends the size of the storage resource to be accessed to the target storage device, creates a LUN according to the size of the storage resource received by the target storage device, and reports the ID of the newly created LUN (assumed to be LUN1-3 illustrated in fig. 1) to all hosts (host 1, host 2, host 3) that have established a service channel connection with the target storage device.
However, in the LUN reporting scheme, only the reporting host with the service channel connection established with the storage device as the granularity selection LUN can be used, and the newly-built LUN can be used as a storage resource which can be accessed by all hosts with the service channel connection established with the storage device where the LUN is located, so that the security of the storage system is low. The newly built LUN reports to all hosts that establish service channel connection with the storage device, and most of the reported storage resources may not be utilized, resulting in low utilization rate of the storage resources. And the reported host computer cannot be freely selected when the LUN is reported, so that the reporting flexibility is low.
Based on the method, the host computer for managing the storage resource is determined when the storage device builds the storage resource newly, the storage device only reports the identification of the newly built storage resource to the host computer for managing the storage resource, the storage resource is ensured to be accessed by the host computer for managing the storage resource only, the storage safety is improved, and meanwhile, the reporting flexibility and the resource utilization rate are improved.
The implementation of the examples of the present application will be described in detail below with reference to the accompanying drawings.
The method for reporting storage resources provided in the embodiment of the present application may be applied to a storage application scenario shown in fig. 2, where the storage application scenario may include a storage system 20 and a user 21. Wherein the storage system 20 may also be referred to as a file system or otherwise.
As shown in fig. 2, the storage system 20 may include a plurality of hosts 201, a plurality of storage devices 202. One host 201 may communicate with a plurality of storage devices 202 by establishing a channel connection therebetween, and one storage device 202 may communicate with a plurality of hosts 201 by PCIE or IP.
Specifically, the host 201 is configured to receive an input request from a user, and manage storage resources in the storage device 202. The host 201 may be a computer, a server, or other electronic device with related processing capability.
The storage device 202 is used to provide storage resources to the host 201. The storage device 202 may be a RAID or other electronic device with related processing capability, such as an HBA.
The user 21 is configured to send a request and configuration information to the host 201 according to actual requirements, so as to operate the storage resources in the storage device 202 through the host 201. The user 21 may access one or more hosts 201 in the storage system 20, and the host 201 accessed by the user 21 may be a host 201 in the storage system 20 that is local to the user 21, or may be a host 201 in the storage system 20 that has access to the user 21, or otherwise.
It should be noted that, the number of hosts 201 and storage devices 202 included in the storage system 20 and the specific architecture may be configured according to actual requirements, and the size and the specific architecture of the storage system 20 are not limited in the embodiments of the present application.
Fig. 3 is a schematic system architecture diagram of a storage system 20 according to an embodiment of the present application.
The host 201 may include a driving module 2011 and others.
The driving module 2011 is configured to interact with an upper application of the host, support the transmission of input/output (I/O) information and management information, and support real-time monitoring of the state of the storage device 202. Wherein, the solid line in the figure is the transmission channel of the I/O information, and the dotted line is the transmission channel of the management information.
The storage device 202 may include a front-end module 2021, a management information processing module 2022, a resource processing module 2023, an algorithm module 2024, a back-end module 2025, and a physical disk 2026.
The front-end module 2021 is configured to receive the I/O information and the management information issued by the driver module 2011 of the host 201. Wherein, different hosts allocate independent front-end modules 2021, and each front-end module 2021 can flexibly allocate and release commands.
The management information processing module 2022 may be configured to process management information from multiple hosts, and return the management information to the corresponding host after the processing is completed. Wherein the management information may support management of the host. For example, the management channel from the host a may provide an upper layer to perform information query of two hosts, so as to improve maintenance efficiency. In addition, the management information processing module 2022 may also transmit the issued partial management information to the resource processing module 2023.
The resource processing module 2023 may process the I/O information and record the different host managed storage resources. The storage resources are matched to hosts in I/O information processing, and I/O transmissions between the front-end module and the resource processing module 2023 allocated to the host matching the storage resources are started, and I/O transmissions between the other front-end modules and the resource processing module 2023 are filtered (masked). The resource processing module 2023 further processes the supported I/O information issued to the algorithm module 2024 at the back end, and performs error statistics on the unsupported I/O information.
The algorithm module 2024 is responsible for RAID algorithms, including caching, splitting of I/O information, merging, checking, etc.
The back-end module 2025 is responsible for the downloading of I/O information and exception handling of I/O information.
The physical disk 2026 may include, for example, a Hard Disk Drive (HDD) disk and a solid state disk (solid state drives, SSD).
The information processing flow of the system architecture shown in fig. 3 may include:
the host 201 sends the I/O information and management information to the storage device 202 through the driver module 2011, and the storage device 202 receives the I/O information and management information of the host according to the front-end processing module 2021 of the different host enable allocation. The management information is then transmitted to the management information processing module 2022, and the I/O information is transmitted to the resource processing module 2023. The management information processing module 2022 processes management information of the host. The resource processing module 2023 processes the I/O information, filters the I/O information of the plurality of hosts, supports only transmission of I/O information of hosts that match the storage resource, and the resource processing module 2023 passes the matched I/O information to the algorithm module 2024. The algorithm module 2024 performs a RAID algorithm on the I/O information, and then transmits the I/O information to the physical disk 2026 through the back-end module 2025, where the physical disk 2026 performs a corresponding operation according to the I/O information.
The method and the device for reporting the storage resources provided by the embodiment of the application are specifically described below with reference to the accompanying drawings.
In one aspect, an embodiment of the present application provides an electronic device 40, for executing a method for reporting a storage resource provided in the present application, where the electronic device 40 may be the host 201 or the storage device 202 illustrated in fig. 2 or fig. 3.
As shown in fig. 4, the electronic device 40 may include a processor 401, a memory 402, and a transceiver 403.
The following describes the respective constituent elements of the electronic device 40 in detail with reference to fig. 4:
wherein the memory 402 may be a volatile memory (RAM), such as a random-access memory (RAM); or a nonvolatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a hard disk (HDD) or a Solid State Drive (SSD); or a combination of the above, for storing program code, configuration files, or other content that may be used to implement the methods of the present application.
The processor 401 is a control center of the electronic device 40. For example, processor 401 may be a central processing unit (central processing unit, CPU), may be an integrated circuit (application specific integrated circuit, ASIC), or may be one or more integrated circuits configured to implement embodiments of the present application, such as: one or more microprocessors (digital singnal processor, DSPs), or one or more field programmable gate arrays (field programmable gate array, FPGAs).
The transceiver 403 is used to communicate with other devices. The transceiver 403 may be a communication port or otherwise.
In a possible implementation, when electronic device 40 is a storage device, processor 401 performs the following functions by running or executing software programs and/or modules stored in memory 402, and invoking data stored in memory 402:
receiving a size of a first storage resource; determining a first host that manages a first storage resource; the first host establishes channel connection with the first storage device; selecting a physical disk with the size meeting the size of a first storage resource in first storage equipment, and establishing the first storage resource; an identification of the first storage resource is sent to the first host.
In another possible implementation, when electronic device 40 is a host, processor 401 performs the following functions by running or executing software programs and/or modules stored in memory 402, and invoking data stored in memory 402:
receiving the size of a first storage resource which is input by a user and is requested to be accessed; selecting a first storage device supporting the size from a plurality of storage devices; determining a first host for managing the first storage resource, wherein the first host establishes channel connection with the first storage device; the size of the first storage resource is sent to the first storage device.
On the other hand, the embodiment of the application provides a method for reporting storage resources, which is applied to an interaction process of a host and storage equipment in a storage system. The storage system may be the storage system 20 illustrated in fig. 2 or fig. 3. The storage system may include a plurality of hosts and a plurality of storage devices, one storage device may establish a channel connection with the plurality of hosts, and one host may establish a channel connection with the plurality of storage devices.
As shown in fig. 5, the method for reporting storage resources provided in the present application may include:
s501, the third host receives the size of the first storage resource which is input by the user and is requested to be accessed.
Wherein the third host is any host accessed by the user in the storage system. For example, the third host may be a host local to the user in the storage system, or a host having access rights to the user, which is not limited in the embodiments of the present application.
For example, the user may determine the size of the first storage resource requested to be accessed according to the actual requirement, and send the size of the first storage resource to the third host through a preconfigured interface or a user control interface. Accordingly, the third host may receive the size of the first storage resource requested to be accessed, which is input by the user, through a pre-configured interface or a user control interface in S501.
It should be noted that, the first storage resource is any storage resource that the user requests to access, and for each storage resource that the user requests to access, the processing manner of the solution in this application is the same, and in this embodiment of the application, the solution provided in this application is described by taking the first storage resource as an example, which is not limited, and other details are not repeated.
S502, the third host selects a first storage device supporting the size of the first storage resource from a plurality of storage devices.
The first storage device is any storage device which establishes a channel connection with the third host.
Specifically, the third host may determine whether the first rule is satisfied through the storage information of each storage device in the storage system with which the channel connection is established. The storage information for each storage device may be stored in a common location in the storage system and accessible to each host. Of course, the stored information may also be shared with each host in real time or otherwise viewed by the host, which is not limited in this embodiment of the present application.
Specifically, the third host may query the size of the occupied resource and the size of the unoccupied resource in each storage device with which the channel connection is established, and select a storage device that satisfies the first rule as the first storage device.
The user may configure the first rule according to the actual requirement, which is not limited in the present application.
In one possible implementation, the first rule may be to support the size of the first storage resource, and the size of the unoccupied storage resource is the largest.
The size of the first storage resource may be the size of the unoccupied resource, and is greater than or equal to the size of the first storage resource.
In another possible implementation, the first rule may be any storage device supporting the size of the first storage resource.
S503, the third host determines a first host that manages the first storage resource.
The first host establishes a channel connection with the first storage device. The first host is any host in the storage system that establishes a channel connection with the first storage device.
In a possible implementation manner, in S502, the third host determines that it manages the first storage resource, that is, the third host is the first host.
In another possible implementation, the third host may determine, from the storage system, a first host that manages the first storage resource that satisfies the second rule. The third host can determine whether the second rule is satisfied through the storage information of each host in the storage system. The storage information for each host may be stored in a common location in the storage system and accessible to each host. Of course, the stored information may also be shared with each host in real time or otherwise viewed by the host, which is not limited in this embodiment of the present application.
The second rule may be configured according to actual requirements, which is not limited in this application. The second rule may be statically configured during the design phase of the storage system or the second rule may be configured as configurable content, the configuration being modified by a user or administrator or other personnel of the storage system during the use phase of the storage system.
In one possible implementation, the second rule may be that a host that receives a size of the first storage resource that the user input requests access to acts as a host that manages the first storage resource. For example, the third host is the first host.
In another possible implementation, the second rule may be: the first storage resource is managed by a host that manages a number of storage resources less than or equal to a second threshold. For example, the third host may select, in S502, a host whose number of managed storage resources is less than or equal to the second threshold in the storage system as the first host that manages the first storage resources.
It should be noted that, when the number of hosts managed by the storage system is less than or equal to the second threshold is plural, the third host may select, as the first host, the host with the smallest number of storage resources managed by the storage system, or randomly select, as the first host, a host with the number of storage resources managed by the storage system being less than or equal to the second threshold. Of course, when the number of the hosts managed in the storage system is smaller than or equal to the second threshold is multiple, the third host may also select one of the hosts as the first host in other manners, which is not limited in particular.
In yet another possible implementation, the second rule may be: the first storage resource is managed by a host having a total size of managed storage resources less than or equal to a third threshold. For example, the third host may select, in S502, a host whose total size of the managed storage resources is less than or equal to the third threshold as the first host that manages the first storage resources in the storage system.
When the number of hosts whose total size of the storage resources managed in the storage system is less than or equal to the third threshold is plural, the third host may select, as the first host, a host whose total size of the storage resources managed in the storage system is smallest, or randomly select, as the first host, a host whose total size of the storage resources managed is less than or equal to the third threshold. Of course, when the total size of the storage resources managed in the storage system is smaller than or equal to the third threshold, the third host may also select one of the hosts as the first host in other manners, which is not limited in particular.
The user may configure the second threshold and the third threshold according to the actual requirement, which is not limited in the present application.
S504, the third host sends the size of the first storage resource to the first storage device.
Specifically, the third host sends the size of the first storage resource acquired in S501 to the first storage device selected in S502 through the management channel in the channel connection between the third host and the first storage device.
In one possible implementation manner, as shown in fig. 6, if the third host determines in S503 that the first host that manages the first storage resource is not the third host, the method for reporting the storage resource provided in the present application may further include S504a.
S504a, the third host sends an identification of the first host to the first storage device.
Specifically, the third host may send the identifier of the first host managing the first storage resource determined in S503 to the first storage device through a management channel between the third host and the first storage device, so that the first storage device reports the identifier of the first storage resource to the first host according to the identifier of the first host.
In another possible implementation, when the host sends a certain content to the storage device, the host may also provide an identifier of the target storage device, so as to determine whether the received content is a content processed by itself when the storage of the content (which may be the target storage device or not) is received, in consideration of channel interference between the host and the storage device. For example, the third host may also send the identification of the first storage device to the first storage device at or before or after the third host sends the size of the first storage resource to the first storage device in S504, so that the storage device (which may or may not be the first storage device) that receives the identification of the first storage device determines whether to establish the first storage resource by itself.
S505, the first storage device receives a size of the first storage resource.
Specifically, the first storage device may receive the size of the first storage resource through a management channel between the first storage device and the third host.
In another possible implementation, as mentioned above, the third host may also send the identification of the first storage device to the first storage device in consideration of channel interference between the host and the storage device, so that the storage device (which may or may not be the first storage device) that receives the identification of the first storage device determines whether to establish the first storage resource by itself. In S505, the first storage device further receives the identifier of the first storage device after or before or after receiving the size of the first storage resource, and the first storage device determines to establish the first storage resource by itself, and performs the processes in S506 to S508.
Accordingly, if the first storage device in S505 does not receive the identifier of the first storage device sent by the third host after or before the first storage resource is received, or receives the identifiers of other storage devices other than the first storage device sent by the third host, the first storage device determines that it is not necessary to establish the first storage resource, and ignores the received first storage resource, and does not need to execute the processes from S506 to S508.
S506, the first storage device determines a first host for managing the first storage resource.
In one possible implementation, the first storage device determines a third host that sends the size of the first storage resource as the first host that manages the first storage resource.
In another possible implementation manner, corresponding to the foregoing S504a, the first storage device receives the identifier of the first host that manages the first storage resource, and the first storage device determines in S506 that the host indicated by the received identifier is the first host that manages the first storage resource.
S507, the first storage device selects a physical disk with the size meeting the size of the first storage resource in the first storage device, and establishes the first storage resource.
Specifically, the first storage device may select a physical disk with a size that satisfies the size of the first storage resource in the first storage device as the first storage resource, identify the first storage resource to determine the identifier of the first storage resource, and then establish a logical correspondence between the physical disk and the identifier of the first storage resource, so as to complete establishment of the first storage resource.
S508, the first storage device sends the identification of the first storage resource to the first host.
Wherein in S508 the first storage device sends only the identity of the first storage resource to the first host, the identity being determined in S507.
The first storage device may filter (I/O channels) the reported traffic channels, and filter (mask) traffic channels of the resource processing module in the first storage device and front end modules of other hosts except the first host, so as to send only the identifier of the first storage resource to the first host through the traffic channel between the first storage device and the first host.
Specifically, the user may configure the specific filtering scheme according to the actual requirement, which is not limited in this application.
The filtering may be implemented by a software algorithm or a hardware filter, for example.
In one possible implementation manner, considering channel interference between the host and the storage device, the storage device may further provide a host identifier for managing the storage resource when reporting the identifier of the first storage resource, and in S508, when or before or after the first storage device sends the identifier of the first storage resource to the first host, the first storage device may further send the identifier of the first host to the first host, so that the host (possibly the first host or not) that receives the identifier of the first storage resource determines whether the first storage resource is a storage resource managed by itself.
S509, the first host receives the identification of the first storage resource reported by the first storage device.
The first host may be a third host, or may be a host other than the third host.
In a possible implementation, the first host records the first storage resource as a storage resource managed by the first host in S509.
In another possible implementation manner, considering channel interference between the host and the storage device, the storage device may further provide a host identifier for managing the storage resource when reporting the identifier of the first storage resource, and in S509, when the first host receives the identifier of the first storage resource reported by the first storage device, or before or after the first host receives the identifier of the first host sent by the first storage device, the first host determines that the first storage resource is a storage resource managed by the first host, and records the first storage resource as a storage resource managed by the first host, where a specific recording manner is not limited.
Correspondingly, if the first host does not receive the identification of the first host sent by the first storage device when or before or after receiving the identification of the first storage resource reported by the first storage device, or receives the identifications of other hosts except the first host sent by the first storage device, the first host determines that the first storage resource is not a storage resource managed by the first host, and ignores the received identification of the first storage resource.
The preset duration may be configured as a time interval between the receipt of the identifier of the first storage resource and the receipt of the identifier of the host managing the first storage resource, and the host identifier received in the preset duration may be considered as the host managing the first storage resource. The preset duration may be implemented by a timer.
By the method for reporting the storage resource, the host for managing the storage resource is determined when the storage device newly builds the storage resource, and the storage device only reports the identification of the newly built storage resource to the host for managing the storage resource, so that the storage resource is ensured to be accessed by the host for managing the storage resource, the storage security is improved, and meanwhile, the reporting flexibility and the resource utilization rate are improved.
Further, as shown in fig. 6, after S507, the method for reporting a storage resource provided in the present application may further include S510.
S510, the first storage device records the first storage resource as a storage resource managed by the first host.
Specifically, the user may configure the recording manner according to the actual requirement, which is not limited in this application.
For example, a record table as illustrated in table 1 may be configured in the first storage device, in which a correspondence relationship between storage resources in the first storage device and hosts that manage the storage resources is recorded. In the record table, the devices are indicated by the identifications of the respective devices.
As shown in Table 1, host Z1 manages storage resources C1-1, C1-2, and C1-3, host Z2 manages storage resources C1-4, and C1-5, and host Z3 manages storage resources including storage resources C1-6.
TABLE 1
It should be noted that table 1 is merely illustrative of the storage resources managed by the first storage device record host, and is not limited to the form and content thereof.
Correspondingly, S510 may be implemented to update the record table according to the identity of the first host and the identity of the first storage resource.
Furthermore, in order to ensure normal use of the storage resources when the host cannot manage the storage resources (unreachable or high occupancy rate of the host resources or other reasons), the backup host can be selected to manage the storage resources managed by the host.
Specifically, the method may be configured to determine a preset condition that the host cannot manage the storage resource, and determine that the storage resource (part or all) managed by the host is switched to its backup host management when the preset condition is determined to be satisfied.
For example, the preset condition may be that the host is not reachable; alternatively, the number of storage resources managed by the host is greater than or equal to the first threshold. Of course, the content of the preset condition may be configured according to the actual requirement, which is not limited in the present application.
In one possible implementation manner, whether the host meets the preset condition may be determined in real time or periodically.
In one possible implementation manner, the storage device may determine whether the host with which the channel connection is established meets a preset condition, and after a certain host meets the preset condition, the storage device requests the fifth host to select a backup host of the host. For example, the storage device in the storage device may detect the channel state between the storage device and each host in real time, and if the channel is abnormal, determine that the host is not reachable, and meet the preset condition.
In one possible implementation manner, the fifth host may determine whether the host in the storage system meets a preset condition, and select a backup host of the host after a certain host meets the preset condition. The fifth host may be the third host, the first host, or any other host other than the third host or the first host.
For example, the fifth host may be a host configured by the user for monitoring according to the need.
Specifically, the fifth host can detect the number of storage resources managed by each host in each storage device in the storage system in real time through the management channel, and judge whether the preset condition is satisfied.
For example, when the first storage device or the fifth host determines that the first host meets the preset condition, as shown in fig. 6, the method for reporting storage resources provided in the present application may further include:
s511, the fifth host selects the second host.
Specifically, in S511, the fifth host may select, as the second host, a host in the storage system that does not satisfy the preset condition, and that has also established a channel connection with the storage device that has established a channel connection with the first host. The second host may be one or more.
In one possible implementation manner, the fourth host may select, as the second host, one host from the hosts that do not meet a preset condition in the storage system according to the random algorithm, and that have also established a channel connection with the storage device that has established a channel connection with the first host.
In another possible implementation manner, the fourth host may select the second host from the hosts that do not meet the preset condition in the storage system and that have also established a channel connection with the first host according to the third rule.
For example, the third rule may include that the number of managed storage resources is less than or equal to the fourth threshold. Alternatively, the data transfer speed with the first storage device is greater than or equal to the fifth threshold.
The user may configure the fourth threshold and the fifth threshold according to the actual requirement, which is not limited in the present application.
In another possible implementation manner, the fifth host may further select to switch to the storage resource managed by the second host from the storage resources managed by the first host in the first storage device. Accordingly, in S509, the fifth host may further determine to switch to the storage resource managed by the second host from the storage resources managed by the first host in the first storage device.
In one possible implementation, the fifth host may determine to switch all storage resources in the first storage device managed by the first host to the second host management.
In another possible implementation manner, the fifth host divides the memory resources managed by the first host in the first storage device into multiple parts, and switches the multiple parts to different hosts (the scheme corresponds to the multiple second hosts).
For example, when the fifth host divides the memory resources managed by the first host in multiple parts in the first storage device, the memory resources may be equally allocated or divided according to the capability of each host to bear the memory resources, or otherwise.
In yet another possible implementation, the fifth host may first determine the number of storage resources managed by the first host in the first storage device that exceeds the first threshold, and then determine to switch to the storage resources managed by the second host from the storage resources managed by the first host in the first storage device according to the number in a certain order.
S512, the fifth host sends the second host identification to the first storage device.
Specifically, the fifth host may send the identifier of the second host through a management channel between the fifth host and the first storage device, so that the first storage device switches the storage resource managed by the first host in the first storage device to be managed by the second host.
In a possible implementation manner, the fifth host in S512 may further send, corresponding to the fifth host in S511 further selecting to switch to the storage resource managed by the second host from the storage resources managed by the first host in the first storage device, switching information to the first storage device, where the switching information is used to instruct to switch to the storage resource managed by the second host in the storage resource managed by the first host in the first storage device.
S513, the first storage device acquires the identification of the second host.
Specifically, in S513, the first storage device obtains the identifier of the second host, that is, the identifier of the second host sent by the fifth host in S512, which is not described herein.
In a possible implementation manner, in S513, the first storage device may further receive switching information sent by the fifth host, where the switching information is used to instruct, from among the storage resources managed by the first host in the first storage device, to switch to the storage resources managed by the second host, where the fifth host is further selected to switch to the storage resources managed by the second host from the storage resources managed by the first host in the first storage device in S511.
S514, the first storage device sends the identification of the storage resource managed by the first host to the second host according to the identification of the second host.
In a possible implementation manner, the first storage device in S514 may send the identification of all storage resources managed by the first host to the second host through a service channel between the first storage device and the first host.
In another possible implementation manner, the first storage device in S514 may send, to the second host, the identity of the storage resource indicated by the handover information according to the indication of the handover information.
It should be noted that, when there are multiple second hosts, the first storage device executes S514 according to the identifier of each second host, which is not described in detail.
Further, the foregoing process of reporting the storage resource enables the host managing the storage resource to receive the identifier of the storage resource managed by the host. In practical application, the host can also perform corresponding operations on the storage resources managed by the host according to the access requirement, including writing, reading or deleting. As shown in fig. 6, the method for reporting a storage resource provided in the present application may further include:
s515, the fourth host sends an operation instruction and an identification of the second storage resource to the first storage device.
The second storage resource is any storage resource managed by the fourth host in the first storage device. The operation indication is to indicate an operation on the second storage resource.
Optionally, the operation instruction corresponds to an operation, which may include: write operation, or read operation, or delete operation.
In a possible implementation, when the operation indicates that the corresponding operation is a write operation, the fourth host may also send write data to the first storage device in S515.
S516, the first storage device receives the sending operation instruction sent by the fourth host and the identification of the second storage resource.
It should be noted that, the content received by the first storage device in S516, that is, the content sent by the fourth host in S515, is not described herein.
S517, the first storage device determines that the second storage resource is a storage resource managed by the fourth host.
Specifically, the first storage device queries the record information to determine whether the second storage resource is a storage resource managed by the fourth host.
If the second storage resource is a storage resource managed by the fourth host, S518 is performed.
If the second storage resource is a fourth host managed storage resource, the received content in S516 is discarded.
S518, the first storage device executes operation corresponding to the operation instruction on the second storage resource.
Optionally, the first storage device may open a service transmission channel between the fourth host and the second storage resource, and shield the service transmission channel between the other hosts and the second storage resource, where the first storage device manages the second storage resource according to the service transmission channel.
For example, the first storage device performing the operation corresponding to the operation indication on the second storage resource may include: the first storage device writes data to be written into the second storage resource; or the first storage device reads the data of the second storage resource; alternatively, the first storage device deletes the data in the second storage resource.
Fig. 7 illustrates a scenario of reporting a storage resource, where the storage resource is taken as an example of a LUN. The process mainly comprises steps 1 to 12.
The storage system comprises a host A, a host B, a host C, a storage device a, a storage device B and a storage device C. As shown by the dotted line in fig. 7, the host a establishes a channel connection with the storage device a, the storage device b, and the storage device c; the host B establishes channel connection with the storage device a, the storage device B and the storage device c; the host C establishes a channel connection with the storage device a, the storage device b, and the storage device C.
Step 1, a host A obtains the size of a first LUN, and selects a storage device a according to a first rule.
Step 2, the host A sends the size of the first LUN to the storage device a.
And 3, selecting a physical disk with the size meeting the size of the first LUN by the storage device a, and establishing the first LUN.
And 4, the storage equipment a sends the identification LUNC-1 of the first LUN to the host A.
It is assumed that after a plurality of hosts perform steps 1 to 4 a plurality of times, LUNa-1, LUNa-2, LUNa-3, LUNa-4 are included in the storage device a. Wherein LUNa-1, LUNa-2 are managed by host A, LUNa-3 is managed by host B, and LUNa-4 is managed by host C. The memory device b includes LUNb-1, LUNb-2, LUNb-3, and LUNb-4. Wherein, LUNb-1, LUNb-2 are managed by host B, and LUNb-3, LUNb-4 are managed by host C. The storage device c includes LUNc-1. Wherein LUNc-1 is managed by host B.
Further, if the host a fails, the processes of the backup host management need to be switched to the LUNa-1, LUNa-2 managed by the host a in the storage device a, which may include the following steps 5-8.
And 5, selecting a host C with the managed LUNs smaller than 3 as a backup host for managing LUNa-1 and LUNa-2 after switching by the host B according to a third rule.
Step 6, the host B sends the identification Z3 of the host C to the storage device a.
Step 7, the storage device a receives Z3.
Step 8, the storage device a sends LUNa-1, LUNa-2 to the host C.
Furthermore, the host may also manage the reported LUNs, and the process of managing storage resources by the host is described by taking the case that the host C needs to write the data M into the LUNb-3. The process may include steps 9-11 described below.
Step 9, the host C sends LUNb-3, a write command, and data M to the storage device b.
Step 10, the storage device b receives the LUNb-3, the write command and the data M.
Step 11, the storage device B determines that the LUNb-3 is managed by the host B, and opens a transmission channel between the host B and the LUNb-3.
Step 12, the storage device b writes the data M into the LUNb-3 according to the write command.
The scheme provided by the embodiment of the invention is mainly introduced from the aspect of interaction between the storage device and the host in the storage system. It will be appreciated that each means for reporting storage resources, e.g. storage devices, hosts, etc. for implementing the above functions, includes corresponding hardware structures and/or software modules for performing each function. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the invention can divide the functional modules of the device for reporting the storage resources and the like according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present invention, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
In the case of dividing each functional module by using the corresponding each function, fig. 8 shows an apparatus 80 for reporting storage resources provided in the embodiment of the present application, which is used to implement the functions of the storage device in the foregoing embodiment. The means 80 for reporting storage resources may be a storage device or the means 80 for reporting storage resources may be disposed on a storage device. As shown in fig. 8, the apparatus 80 for reporting a storage resource may include: a first receiving unit 801, a first determining unit 802, a setting-up unit 803, and a first transmitting unit 804. The first receiving unit 801 is configured to perform S505 in fig. 5 or 6; the first determining unit 802 is configured to perform S506 in fig. 5 or fig. 6; the setup unit 803 is for performing S507 in fig. 5 or 6; the first transmitting unit 804 is used to perform S508 in fig. 5 or 6. All relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
Further, as shown in fig. 9, the apparatus 80 for reporting a storage resource may further include: a recording unit 805, an acquisition unit 806, a second transmission unit 807, a second reception unit 808, a second determination unit 809, and a processing unit 810. Wherein the recording unit 805 is configured to perform S510 in fig. 6; the acquisition unit 806 is configured to perform S513 in fig. 6; the second transmitting unit 807 is configured to perform S514 in fig. 6; the second receiving unit 808 is configured to perform S516 in fig. 6; the second determination unit 809 is configured to perform S517 in fig. 6; the processing unit 810 is configured to execute S518 in fig. 6. All relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
In the case of using an integrated unit, fig. 10 shows a memory device 100 provided in an embodiment of the present application, which is used to implement the functions of the memory device in the above method. The storage device 100 includes at least one processing module 1001 for implementing the functions of the storage device in the embodiments of the present application. Illustratively, the processing module 1001 may be configured to perform the processes S506, S507 in fig. 5, or the processes S506, S507, S510, S513, S517, S518 in fig. 6, which are specifically referred to in the detailed description in the method example and are not described herein.
Storage device 100 may also include at least one memory module 1002 for storing program instructions and/or data. The memory module 1002 is coupled to the processing module 1001. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units, or modules, which may be in electrical, mechanical, or other forms for information interaction between the devices, units, or modules. The processing module 1001 may cooperate with the storage module 1002. The processing module 1001 may execute program instructions stored in the storage module 1002. At least one of the at least one memory module may be included in the processing module.
The storage device 100 may also include a communication module 1003 for communicating with other devices over a transmission medium for determining that the storage device 100 may communicate with other devices. The communication module 1003 is used for the device to communicate with other devices. The processing module 1001 may execute the process S508 of fig. 5 or 6 using the communication module 1003, for example.
When the processing module 1001 is a processor, the storage module 1002 is a memory, and the communication module 1003 is a transceiver, the storage device 100 according to fig. 10 of the embodiment of the present application may be the electronic device 40 shown in fig. 4.
As mentioned above, the device 80 for reporting storage resources or the storage device 100 provided in the embodiments of the present application may be used to implement the functions of the storage device 100 in the method implemented by the embodiments of the present application, and for convenience of explanation, only the portions relevant to the embodiments of the present application are shown, and specific technical details are not disclosed, which refer to the embodiments of the present application.
In the case of dividing each functional module by using each corresponding function, fig. 11 shows a device 110 for reporting storage resources provided in the embodiment of the present application, which is configured to implement the functions of the host in the foregoing embodiment. The device 110 for reporting storage resources may be a host or the device 110 for reporting storage resources may be deployed on a host. As shown in fig. 11, the apparatus for reporting storage resources 110 may include: a first receiving unit 1101, a first selecting unit 1102, a determining unit 1103, a transmitting unit 1104. The first receiving unit 1101 is configured to execute S501 in fig. 5 or fig. 6; the first selecting unit 1102 is configured to perform S502 in fig. 5 or fig. 6; the determining unit 1103 is configured to perform S503 in fig. 5 or 6; the transmission unit 1104 is used to execute S504, S504a in fig. 5 or 6. All relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
Further, as shown in fig. 12, the apparatus for reporting storage resources 110 may further include: a second receiving unit 1105, a recording unit 1106, a second selecting unit 1107. Wherein the second receiving unit 1105 is configured to execute S509 in fig. 6; the recording unit 1106 is for executing S509 in fig. 6; the second selection unit 1107 is used to execute S511 in fig. 6. All relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
In the case of an integrated unit, fig. 13 shows a host 130 provided in the embodiment of the present application, which is used to implement the functions of the host in the above embodiment. The host 130 may include at least one processing module 1301, which is configured to implement the functions of the host in the embodiments of the present application, and is specifically referred to in the detailed description of the method examples, which are not described herein.
The host 130 may also include at least one storage module 1302 for storing program instructions and/or data. The memory module 1302 is coupled to the processing module 1301. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units, or modules, which may be in electrical, mechanical, or other forms for information interaction between the devices, units, or modules. Processing module 1301 may operate in conjunction with storage module 1302. Processing module 1301 may execute program instructions stored in memory module 1302. At least one of the at least one memory module may be included in the processing module.
The host 130 may also include a communication module 1303 for communicating with other devices over a transmission medium to determine that the host 130 may communicate with other devices. The communication module 1303 is configured to communicate with other devices by using the device. The processor 1301 executes S504, S504a in the process of fig. 5 or 6 using the communication module 1303, for example.
When the processing module 1301 is a processor, the storage module 1302 is a memory, and the communication module 1303 is a transceiver, the host 130 according to fig. 13 of the embodiment of the present application may be the electronic device 40 shown in fig. 4.
As mentioned above, the device 110 or the host 130 for reporting storage resources provided in the embodiments of the present application may be used to implement the functions of the host in the embodiments of the present application, and for convenience of explanation, only the portions relevant to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the embodiments of the present application.
Other embodiments of the present application provide a storage system, where the storage system may include a first device for reporting a storage resource and a second device for reporting a storage resource, where the first device for reporting a storage resource may implement a function of the storage device in the foregoing embodiment, and the second device for reporting a storage resource may implement a function of a host. For example, the first device for reporting a storage resource may be a storage device described in the embodiments of the present application, and the second device for reporting a storage resource may be a host described in the embodiments of the present application.
Further embodiments of the present application provide a chip system, which includes a processor and may further include a memory, for implementing the functions of the memory device in the embodiments shown in fig. 5 or fig. 6. The chip system may be formed of a chip or may include a chip and other discrete devices.
Further embodiments of the present application provide a chip system, which includes a processor and may further include a memory, for implementing the functions of the host in the embodiments shown in fig. 5 or fig. 6. The chip system may be formed of a chip or may include a chip and other discrete devices.
Still further embodiments of the present application provide a computer readable storage medium, which may include a computer program, which when run on a computer, causes the computer to perform the steps of the embodiments shown in fig. 5 or fig. 6 described above.
Still further embodiments of the present application provide a computer program product comprising a computer program product for causing a computer to perform the steps of the embodiments shown in fig. 5 or 6 described above when the computer program product is run on the computer.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (34)
1. A method of reporting a storage resource, the method being applied to a first storage device in a storage system, the storage system further comprising a plurality of hosts that establish a channel connection with the first storage device, the method comprising:
receiving a size of a first storage resource;
determining a first host that manages the first storage resource; the first host establishes channel connection with the first storage device;
selecting a physical disk with the size meeting the size of the first storage resource in the first storage device, and establishing the first storage resource;
and sending the identification of the first storage resource to the first host.
2. The method of claim 1, wherein the determining the first host that manages the first storage resource comprises:
the host that determines the size of the first storage resource is sent is the first host.
3. The method of claim 1, wherein the determining the first host that manages the first storage resource comprises: and receiving an identification of a host managing the first storage resource, wherein the host indicated by the identification is the first host.
4. A method according to any one of claims 1-3, wherein the method further comprises:
and sending the identification of the first host to the first host.
5. A method according to any one of claims 1-3, wherein the method further comprises:
and recording the first storage resource as the storage resource managed by the first host.
6. A method according to any one of claims 1-3, wherein the method further comprises:
acquiring an identification of a second host; the second host is a backup host when the first host meets a preset condition;
and sending the identification of the storage resource managed by the first host to the second host according to the identification of the second host.
7. A method according to any of claims 1-3, wherein prior to said establishing said first storage resource, said method further comprises:
And if the identification indicating the first storage equipment is received, executing the establishment of the first storage resource.
8. A method according to any one of claims 1-3, wherein the method further comprises:
receiving an operation instruction sent by a fourth host and an identifier of a second storage resource, wherein the operation instruction is used for indicating the operation on the second storage resource, and the second storage resource is any storage resource in the first storage device;
determining that the second storage resource is a storage resource managed by the fourth host;
and executing the operation corresponding to the operation instruction on the second storage resource.
9. A method according to any of claims 1-3, wherein the storage resource is a logical unit LUN.
10. A method for reporting a storage resource, the method being applied to a third host in a storage system, the storage system further comprising a plurality of storage devices that establish a channel connection with the third host, one of the storage devices establishing a channel connection with a plurality of hosts in the storage system, the method comprising:
receiving the size of a first storage resource which is input by a user and is requested to be accessed;
Selecting a first storage device supporting the size from the plurality of storage devices;
determining a first host for managing the first storage resource, wherein the first host establishes channel connection with the first storage device;
and sending the size of the first storage resource to the first storage device.
11. The method according to claim 10, wherein the method further comprises:
and sending the identification of the first host to the first storage device.
12. The method according to claim 10, wherein the method further comprises:
and sending the identification of the first storage device to the first storage device.
13. The method according to any one of claims 10-12, further comprising:
receiving an identification of the first storage resource sent by the first storage device;
recording the first storage resource as a storage resource managed by the third host.
14. The method of claim 13, wherein the method further comprises:
and if the third host identifier is received, executing the recording of the first storage resource as the storage resource managed by the third host.
15. The method according to any one of claims 10-12, further comprising:
if the first host meets the preset condition, the third host selects a second host; the second host is a host which does not meet the preset condition in the storage system;
the third host sends the second host identity to the first storage device.
16. The method according to any one of claims 10-12, further comprising:
when the third host performs a first operation on a second storage resource, the third host sends an operation instruction of the first operation and an identifier of the second storage resource to the first storage device, wherein the second storage resource is any storage resource managed by the third host in the first storage device.
17. An apparatus for reporting a storage resource, the apparatus being disposed on a first storage device in a storage system, the storage system further comprising a plurality of hosts that establish a channel connection with the first storage device, the apparatus comprising:
a first receiving unit, configured to receive a size of a first storage resource;
a first determining unit configured to determine a first host that manages the first storage resource; the first host establishes channel connection with the first storage device;
The establishing unit is used for selecting a physical disk with the size meeting the size of the first storage resource in the first storage device and establishing the first storage resource;
and the first sending unit is used for sending the identification of the first storage resource to the first host.
18. The apparatus according to claim 17, wherein the first determining unit is specifically configured to:
the host that determines the size of the first storage resource is sent is the first host.
19. The apparatus of claim 17, wherein the first receiving unit is further configured to receive an identification of a host that manages the first storage resource;
the first determining unit is specifically configured to: and determining that the host indicated by the identification of the host managing the first storage resource received by the first receiving unit is the first host.
20. The apparatus according to any one of claims 17-19, wherein the first transmission unit is further configured to,
and sending the identification of the first host to the first host.
21. The apparatus according to any one of claims 17-19, wherein the apparatus further comprises:
and the recording unit is used for recording the first storage resource as the storage resource managed by the first host.
22. The apparatus according to any one of claims 17-19, wherein the apparatus further comprises:
the acquisition unit is used for acquiring the identification of the second host; the second host is a backup host when the first host meets a preset condition;
and the second sending unit is used for sending the identification of the storage resource managed by the first host to the second host according to the identification of the second host.
23. The apparatus of any one of claims 17-19, wherein prior to said establishing said first storage resource,
the first receiving unit is further configured to receive an identifier indicating the first storage device;
the establishing unit is further configured to execute the establishing of the first storage resource after the receiving unit receives the identifier of the first storage device.
24. The device according to any one of claims 17 to 19, wherein,
the second receiving unit is used for receiving an operation instruction sent by the fourth host and an identifier of a second storage resource, wherein the operation instruction is used for indicating the operation on the second storage resource, and the second storage resource is any storage resource in the first storage device;
The apparatus further comprises:
a second determining unit, configured to determine that the second storage resource is a storage resource managed by the fourth host;
and the processing unit is used for executing the operation corresponding to the operation instruction on the second storage resource.
25. The apparatus of any of claims 17-19, wherein the storage resource is a logical unit LUN.
26. An apparatus for reporting storage resources, wherein the apparatus is disposed on a third host in a storage system, the storage system further includes a plurality of storage devices that establish a channel connection with the third host, and one of the storage devices establishes a channel connection with a plurality of hosts in the storage system, the apparatus comprising:
the first receiving unit is used for receiving the size of a first storage resource which is input by a user and is requested to be accessed;
a first selecting unit configured to select a first storage device supporting the size from the plurality of storage devices;
a determining unit, configured to determine a first host that manages the first storage resource, where the first host establishes a channel connection with the first storage device;
and the sending unit is used for sending the size of the first storage resource to the first storage device.
27. The apparatus of claim 26, wherein the transmitting unit is further configured to,
and sending the identification of the first host to the first storage device.
28. The apparatus of claim 26, wherein the transmitting unit is further configured to,
and sending the identification of the first storage device to the first storage device.
29. The apparatus according to any one of claims 26-28, wherein the apparatus further comprises:
a second receiving unit, configured to receive an identifier of the first storage resource sent by the first storage device;
and the recording unit is used for recording the first storage resource as the storage resource managed by the third host.
30. The apparatus of claim 29, wherein the second receiving unit is further configured to receive the third host identity;
the recording unit is further configured to execute the recording of the first storage resource as a storage resource managed by the third host after the second receiving unit receives the third host identifier.
31. The apparatus according to any one of claims 26-28, wherein the apparatus further comprises:
The second selection unit is used for selecting a second host if the first host meets the preset condition; the second host is a host which does not meet the preset condition in the storage system;
the sending unit is further configured to send the second host identifier to the first storage device.
32. The apparatus according to any one of claims 26-28, wherein the apparatus further comprises:
the sending unit is further configured to send, when the third host performs a first operation on a second storage resource, an operation instruction of the first operation and an identifier of the second storage resource to the first storage device, where the second storage resource is any storage resource managed by the third host in the first storage device.
33. A storage device, the storage device comprising: a processor and a memory;
the memory is connected with the processor; the memory is for storing computer instructions which, when executed by the processor, the apparatus performs the method of reporting storage resources as claimed in any one of claims 1 to 9.
34. A host, the host comprising: a processor and a memory;
The memory is connected with the processor; the memory is for storing computer instructions which, when executed by the processor, the host performs the method of reporting storage resources as claimed in any one of claims 10 to 16.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010477933.5A CN113741793B (en) | 2020-05-29 | 2020-05-29 | Method, device and system for reporting storage resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010477933.5A CN113741793B (en) | 2020-05-29 | 2020-05-29 | Method, device and system for reporting storage resources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113741793A CN113741793A (en) | 2021-12-03 |
CN113741793B true CN113741793B (en) | 2024-04-09 |
Family
ID=78724999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010477933.5A Active CN113741793B (en) | 2020-05-29 | 2020-05-29 | Method, device and system for reporting storage resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113741793B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6810396B1 (en) * | 2000-03-09 | 2004-10-26 | Emc Corporation | Managed access of a backup storage system coupled to a network |
CN1661572A (en) * | 2004-02-23 | 2005-08-31 | 深圳市朗科科技有限公司 | Method in use for managing data access between storing devices and equipment of host computer |
CN103392166A (en) * | 2011-04-27 | 2013-11-13 | 株式会社日立制作所 | Information storage system and storage system management method |
CN105183390A (en) * | 2015-09-17 | 2015-12-23 | 华为数字技术(成都)有限公司 | Data access method and device |
CN107203329A (en) * | 2016-03-17 | 2017-09-26 | 伊姆西公司 | Memory management method and equipment |
CN107402722A (en) * | 2017-07-04 | 2017-11-28 | 杭州宏杉科技股份有限公司 | A kind of data migration method and storage device |
CN108572868A (en) * | 2017-09-25 | 2018-09-25 | 北京金山云网络技术有限公司 | A kind of physical host selection method, device, equipment and readable storage medium storing program for executing |
CN108572869A (en) * | 2017-09-25 | 2018-09-25 | 北京金山云网络技术有限公司 | A kind of physical host selection method, device, equipment and readable storage medium storing program for executing |
CN109189347A (en) * | 2018-09-20 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of sharing storage module, server and system |
CN110780810A (en) * | 2018-07-31 | 2020-02-11 | 爱思开海力士有限公司 | Apparatus and method for interfacing a plurality of memory systems with each other to store data |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7711979B2 (en) * | 2007-02-16 | 2010-05-04 | Symantec Corporation | Method and apparatus for flexible access to storage facilities |
-
2020
- 2020-05-29 CN CN202010477933.5A patent/CN113741793B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6810396B1 (en) * | 2000-03-09 | 2004-10-26 | Emc Corporation | Managed access of a backup storage system coupled to a network |
CN1661572A (en) * | 2004-02-23 | 2005-08-31 | 深圳市朗科科技有限公司 | Method in use for managing data access between storing devices and equipment of host computer |
CN103392166A (en) * | 2011-04-27 | 2013-11-13 | 株式会社日立制作所 | Information storage system and storage system management method |
CN105183390A (en) * | 2015-09-17 | 2015-12-23 | 华为数字技术(成都)有限公司 | Data access method and device |
CN107203329A (en) * | 2016-03-17 | 2017-09-26 | 伊姆西公司 | Memory management method and equipment |
CN107402722A (en) * | 2017-07-04 | 2017-11-28 | 杭州宏杉科技股份有限公司 | A kind of data migration method and storage device |
CN108572868A (en) * | 2017-09-25 | 2018-09-25 | 北京金山云网络技术有限公司 | A kind of physical host selection method, device, equipment and readable storage medium storing program for executing |
CN108572869A (en) * | 2017-09-25 | 2018-09-25 | 北京金山云网络技术有限公司 | A kind of physical host selection method, device, equipment and readable storage medium storing program for executing |
CN110780810A (en) * | 2018-07-31 | 2020-02-11 | 爱思开海力士有限公司 | Apparatus and method for interfacing a plurality of memory systems with each other to store data |
CN109189347A (en) * | 2018-09-20 | 2019-01-11 | 郑州云海信息技术有限公司 | A kind of sharing storage module, server and system |
Also Published As
Publication number | Publication date |
---|---|
CN113741793A (en) | 2021-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10509706B2 (en) | Identification of an alternate principal member port by a target device in a storage area network | |
US7437462B2 (en) | Method for zoning data storage network using SAS addressing | |
US9026694B1 (en) | Techniques for workload redistibution | |
JP4566874B2 (en) | Storage access management function and system in IP network | |
US7032041B2 (en) | Information processing performing prefetch with load balancing | |
US9251050B2 (en) | Apparatus and method for resource alerts | |
CN110914796B (en) | Method and equipment for processing I/O (input/output) request | |
US9535866B2 (en) | Asymmetric storage device wide link | |
JP5226810B2 (en) | Method, apparatus, system, and computer program for dynamically managing logical path resources | |
US11032123B1 (en) | Hierarchical storage system management | |
US8533300B2 (en) | Storage device, controller, and address management method | |
EP3951582B1 (en) | Offloading device management responsibilities from a storage device in an array of storage devices | |
CN106961363A (en) | A kind of method and system for capturing virtual switch User space data plane data message | |
US11194746B2 (en) | Exchanging drive information | |
US10318196B1 (en) | Stateless storage system controller in a direct flash storage system | |
US20150281124A1 (en) | Facilitating management of resources | |
CN108228099B (en) | Data storage method and device | |
CN108512753A (en) | The method and device that message is transmitted in a kind of cluster file system | |
CN113741793B (en) | Method, device and system for reporting storage resources | |
JP2001265655A (en) | Security system for storage sub system | |
JP2003316521A (en) | Storage controller | |
CN112650440A (en) | Path replacing method and device | |
US8898514B2 (en) | SAS storage device drive system with failure information table | |
WO2014118874A1 (en) | Storage system | |
US10496305B2 (en) | Transfer of a unique name to a tape drive |
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 |