CN117218773A - Hard disk cabinet control method, device and medium - Google Patents
Hard disk cabinet control method, device and medium Download PDFInfo
- Publication number
- CN117218773A CN117218773A CN202311262829.4A CN202311262829A CN117218773A CN 117218773 A CN117218773 A CN 117218773A CN 202311262829 A CN202311262829 A CN 202311262829A CN 117218773 A CN117218773 A CN 117218773A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- server
- target
- access request
- occupation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 abstract description 13
- 238000013500 data storage Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 16
- 241000720945 Hosta Species 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 239000004744 fabric Substances 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 238000000926 separation method Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Storage Device Security (AREA)
Abstract
The application relates to the field of data storage, and discloses a hard disk cabinet control method, a device and a medium, wherein the method comprises the following steps: and acquiring and analyzing the current access request sent by the server to determine the target hard disk. Judging whether an occupation identifier which is sent by a target hard disk and used for representing an occupation state is received or not; the occupation mark is a mark sent by a vendor user-defined asynchronous event notification under the condition that a target hard disk responds to an operation instruction; if the occupation identification is received, judging whether a to-be-processed server corresponding to the current access request is consistent with the target server or not; if not, rejecting the current access request. According to the method and the device for processing the hard disk, the access request is refused when the to-be-processed server corresponding to the current access request is inconsistent with the target server, so that the hard disk data disorder caused by different servers accessing the same target hard disk at the same time is prevented. Meanwhile, the hard disk sends access conditions through vendor self-defined asynchronous event notification, an access link is not required to be set independently, and system cost and complexity are reduced.
Description
Technical Field
The present application relates to the field of data storage, and in particular, to a method, an apparatus, and a medium for controlling a hard disk cabinet.
Background
With the rapid development of data storage technology, in order to improve the utilization rate of storage devices and meet the requirement of user data sharing, the concept of separation of storage and calculation is widely applied to server systems. Fig. 1 is a schematic diagram of a separate server, and after the separate server is shown in fig. 1, no data disc is set in the server 1, and the hard discs storing the server data are centrally set in a hard disc cabinet so as to be convenient for unified management. The hard disk cabinet is connected with the diskless server through a network.
Fig. 2 is a structural view of a hard disk cabinet, and as shown in fig. 2, the hard disk cabinet includes a controller 2 and a hard disk 3. The controller 2 is used for responding to a hard disk operation request sent by the server so as to perform read-write operation on data in the hard disk. Because access failure may be caused by network cable failure, network interface card failure, failure of the hard disk cabinet controller 2 and other reasons when accessing the hard disk in the hard disk cabinet through the network, in order to improve system stability, a dual-controller architecture is mostly adopted at present, each controller 2 is connected with all hosts through arranging a plurality of controllers 2 in the hard disk cabinet, when any server 1 (for example, a server HostA) needs to read and write data in the hard disk, in order to ensure successful execution of read and write operations, an access request needs to be sent to all controllers 2, and thus, the problem of hard disk data disorder caused by simultaneous access of the plurality of controllers 2 to the hard disk 3 may occur.
Therefore, how to provide a control method for a hard disk cabinet to realize orderly access of a server to a hard disk is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to solve the problem of hard disk data disorder caused by the fact that a plurality of hosts access hard disks in a hard disk cabinet through all controllers simultaneously in the prior art.
In order to solve the technical problems, the invention provides a hard disk cabinet control method applied to a controller side of a hard disk cabinet, comprising the following steps:
the method comprises the steps of obtaining and analyzing a current access request sent by a server to determine a target hard disk;
judging whether an occupation identifier which is sent by the target hard disk and used for representing an occupation state is received or not; the occupation identifier is an identifier sent by the target hard disk through vendor self-defined asynchronous event notification under the condition of responding to an operation instruction;
if the occupation identification is received, determining a target server which has accessed the target hard disk according to the occupation identification, and judging whether a to-be-processed server corresponding to the current access request is consistent with the target server or not;
If the current access request is consistent, generating the operation instruction according to the current access request, and sending the operation instruction to the target hard disk so that the target hard disk can respond to the current access request;
and if not, rejecting the current access request.
In some embodiments, the occupancy identifier is server identity information of the target server;
correspondingly, the judging whether the server to be processed corresponding to the current access request is consistent with the target server comprises:
analyzing the current access request to acquire server identity information of the server to be processed;
judging whether the server identity information of the server to be processed is the same as the server identity information of the target server;
and if the server to be processed is the same as the target server, determining that the server to be processed is consistent with the target server.
In some embodiments, after the step of determining that the occupancy identifier sent by the target hard disk is not received, the method further includes:
generating an operation instruction according to the current access request;
and sending the operation instruction to the target hard disk.
In some embodiments, the generating an operation instruction according to the current access request and controlling the target hard disk to respond to the current access request according to the operation instruction includes:
Analyzing the current access request to generate an operation instruction;
correspondingly, the sending the operation instruction to the target hard disk includes:
if the operation instruction is a reading instruction, analyzing the operation instruction to acquire reading address information;
determining data to be read according to the read address information, and copying the data to be read into a cache area;
transmitting the data to be read in the cache area to the server;
if the operation instruction is a writing instruction, analyzing the operation instruction to acquire data to be written and writing address information, and storing the data to be written into the cache area;
and writing the data to be written in the cache area into the target hard disk according to the writing address information, and sending a writing success message to a server corresponding to the current access request.
In some embodiments, further comprising:
when the permission release request sent by the target server is obtained, an occupied identification clearing instruction is generated according to the server identity information of the target server, and the occupied identification clearing instruction is sent to the target hard disk, so that the target hard disk can update the occupied identification according to the server identity information to be cleaned.
In some embodiments, further comprising:
acquiring a right acquisition request sent by the server to be processed;
analyzing the right acquisition request to acquire priority information of the server to be processed;
judging whether the server to be processed has acquisition permission according to the server identity information and the priority information of the server to be processed;
if the server has the acquisition permission, generating an occupied identification updating instruction according to the server identity information, and sending the occupied identification updating instruction to the target hard disk so that the hard disk can update the occupied identification according to the server identity information.
In order to solve the technical problem, the application also provides a hard disk cabinet control method which is applied to the hard disk side of the hard disk cabinet, and the hard disk cabinet control method comprises the following steps:
receiving an operation instruction sent by a controller; the operation instruction is an instruction sent to the target hard disk by the controller for the first time, or an instruction sent by the controller when an occupation identifier which is sent by the target hard disk and used for representing an occupation state is received and a to-be-processed server corresponding to a current access request is consistent with the target server; the target server is a server which is determined by the controller according to the occupation identification and has accessed the target hard disk;
Responding to the operation instruction of the controller, and sending a occupation identifier for representing an occupation state to the controller; the occupation mark is the mark sent by the target hard disk through vendor self-defined asynchronous event notification.
In some embodiments, further comprising:
judging whether an occupied identification updating instruction is acquired or not; the occupation identification updating instruction is an instruction sent by the controller when acquiring an authority acquisition request sent by the server to be processed, and determining that the server to be processed has an acquisition authority according to server identity information and priority information of the server to be processed;
if the occupation identification updating instruction is acquired, analyzing the occupation identification updating instruction to acquire the server identity information of the server to be processed, and updating the occupation identification according to the server identity information.
In order to solve the technical problem, the application also provides a hard disk cabinet control device, which is characterized in that the hard disk cabinet control device is applied to a controller side of a hard disk cabinet and comprises:
the acquisition module is used for acquiring and analyzing the current access request sent by the server so as to determine a target hard disk;
The first judging module is used for judging whether an occupation identifier which is sent by the target hard disk and used for representing the occupation state is received or not; the occupation identifier is an identifier sent by the target hard disk through vendor self-defined asynchronous event notification under the condition of responding to an operation instruction;
the second judging module is used for determining a target server which has accessed the target hard disk according to the occupation identifier if the occupation identifier is received, and judging whether a to-be-processed server corresponding to the current access request is consistent with the target server or not;
the generating module is used for generating an operation instruction according to the current access request and controlling the target hard disk to respond to the current access request according to the operation instruction if the current access request is consistent with the current access request;
and the rejecting module is used for rejecting the current access request if the access requests are inconsistent.
In order to solve the technical problem, the application also provides a hard disk cabinet control device, which comprises a memory for storing a computer program;
and the processor is used for realizing the steps of the hard disk cabinet control method when executing the computer program.
In order to solve the technical problem, the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the steps of the hard disk cabinet control method when being executed by a processor.
The application provides a hard disk cabinet control method, which is applied to a controller side of a hard disk cabinet, and comprises the following steps: and acquiring and analyzing the current access request sent by the server to determine the target hard disk. Judging whether an occupation identifier which is sent by a target hard disk and used for representing an occupation state is received or not; the occupation mark is a mark sent by a vendor user-defined asynchronous event notification under the condition that a target hard disk responds to an operation instruction; if the occupation identification is received, determining a target server accessed to the target hard disk according to the occupation identification, and judging whether a to-be-processed server corresponding to the current access request is consistent with the target server or not; if the access request is consistent, generating an operation instruction according to the current access request, and sending the operation instruction to the target hard disk so that the target hard disk can respond to the current access request; if not, rejecting the current access request. Therefore, according to the technical scheme provided by the application, whether the server to be processed corresponding to the current access request is consistent with the target server or not is judged, and the access request is refused when the server is inconsistent with the target server, so that the hard disk data disorder caused by that different servers access the same target hard disk at the same time through different controllers is prevented. Meanwhile, the hard disk sends the access condition through self-contained manufacturer self-defined asynchronous event notification, an access link is not required to be set independently, and the cost and complexity of the system are reduced.
In addition, the invention also provides a hard disk cabinet control device and a medium, which correspond to the method and have the same effects.
Drawings
For a clearer description of embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art.
FIG. 1 is a schematic diagram of a storage separation server;
FIG. 2 is a block diagram of a hard disk cabinet;
FIG. 3 is a flowchart of a method for controlling a hard disk cabinet according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for controlling a hard disk cabinet according to an embodiment of the present invention
Fig. 5 is a block diagram of a hard disk cabinet control device according to an embodiment of the present invention;
FIG. 6 is a block diagram of a hard disk cabinet control device according to another embodiment of the present invention;
the reference numerals are as follows: 1 is a server, 2 is a controller, and 3 is a hard disk.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making any inventive effort are within the scope of the present invention.
The core of the invention is to provide a control method of a hard disk cabinet, which can prevent the problem of hard disk data disorder caused by simultaneous access of different servers to hard disks through a plurality of controllers and reduce the cost and complexity of the system.
With the rapid development of data storage technology and the acceleration innovation of new applications, the demand for data sharing is more and more urgent, and the concept of memory separation, namely, separating the hard disk in the traditional server, starts to appear in recent time. However, as most of the existing hard disks are PCIE interfaces, in order to enable the server to access the hard disks through the network, a controller needs to be added to the hard disk cabinet to convert the hard disk providing PCIE interface operation into the hard disk providing network interface operation. The hard disk managed by the hard disk cabinet described in the patent is an NVMe SSD disk, and the network used can be selected from an FC network, an Ethernet network and an IB network, and communication access is carried out between the server and the hard disk cabinet on the network through a NVMe Over Fabrics protocol.
The probability of failure is increased by accessing the hard disk in the remote hard disk cabinet over the network, such as network cable failure, network interface card failure, hard disk cabinet controller failure, etc., as compared to the local hard disk of a conventional server. The network sharing of storage resources is not expected to sacrifice reliability, so that the hard disk cabinet is generally designed into a dual-controller architecture, and a plurality of links exist between the server and the hard disk cabinet. The hard disk used by the hard disk cabinet of this dual controller architecture is also required to be a dual port hard disk, i.e., each hard disk can be connected to the controllers of both hard disk cabinets. The hard disk realizes the sharing use of a plurality of servers through a network, and the very important point is that the security of data needs to be ensured, and the data is prevented from being disordered when the plurality of servers are simultaneously written into the hard disk. Solving this problem may allow servers to solve itself, i.e. the servers coordinate with each other, but involves the situation that multiple servers may write at the same time, and negotiation between servers or using a distributed lock, etc. becomes complex and takes a long time. The better method is that the shared hard disk itself provides the lock function, the server only needs to obtain the lock right first, then write the data, and release the lock right after the writing is completed. Servers that do not obtain lock rights are denied write data.
As shown in fig. 1 or fig. 2, the hard disk in the drawing uses an NVMe SSD, a main body accessing the hard disk is called a Host in an NVMe protocol, the dual-port hard disk in the drawing is respectively connected with two controllers of the hard disk cabinet, that is, the hard disk supports two hosts, namely Host1 and Host2 in the drawing, and each Host has an own identification number. The lock function of the hard disk may enable writing only from Host1 or only from Host2 at the same time. The two controllers in the figure are used for improving reliability, the same server can be respectively connected to the two controllers of the hard disk cabinet through two links to access the hard disk, if one of the two servers (supposing HostA in the corresponding figure) obtains the lock authority from the first controller of the hard disk cabinet, the first controller obtains the lock authority to the hard disk by means of the preset function of the NVMe SSD disk, the hard disk can allow Host1 to write, but not Host2 to write, namely the second controller of the hard disk cabinet cannot write. However, from the perspective of the server, although the lock authority is obtained from the first controller of the hard disk cabinet, writing from the second controller of the hard disk cabinet still fails. This results in the server only writing from the corresponding link in terms of the connection link from which network link the lock authority was obtained. In addition, there is a problem that the HostA obtains the lock authority from the first controller of the hard disk cabinet, but from the perspective of the hard disk, the HostA gives the lock authority of Host1, and the HostB or HostC only operates the authority of Host1 from the first controller of the hard disk cabinet, so that the aim of locking is not achieved.
In order to solve the technical problem, the invention provides a hard disk cabinet control method, which prevents hard disk data disorder caused by different servers accessing the same target hard disk at the same time through different controllers by judging whether a server to be processed corresponding to a current access request is consistent with the target server and rejecting the access request when the current access request is inconsistent with the target server. Meanwhile, the hard disk sends the access condition through self-contained manufacturer self-defined asynchronous event notification, an access link is not required to be set independently, and the cost and complexity of the system are reduced. In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description.
Fig. 3 is a flowchart of a method for controlling a hard disk cabinet according to an embodiment of the present invention, where the method is applied to a controller side of the hard disk cabinet, and as shown in fig. 3, the method for controlling the hard disk cabinet includes:
s10: the method comprises the steps of obtaining and analyzing a current access request sent by a server to determine a target hard disk;
s11: judging whether an occupation identifier which is sent by a target hard disk and used for representing an occupation state is received or not; the occupation mark is a mark sent by a vendor user-defined asynchronous event notification under the condition that a target hard disk responds to an operation instruction;
S12: if the occupation identification is received, determining a target server accessed to the target hard disk according to the occupation identification, and judging whether a to-be-processed server corresponding to the current access request is consistent with the target server or not;
s120: if the access request is consistent, generating an operation instruction according to the current access request, and sending the operation instruction to the target hard disk so that the target hard disk can respond to the current access request;
s121: if not, rejecting the current access request.
As shown in fig. 1, a plurality of different servers are connected with the controller of the hard disk cabinet to operate the hard disk in the hard disk cabinet by controlling. In this embodiment, the server to be processed is a server that sends a hard disk access request to the control, and the target server is a server that is currently accessing the hard disk. When a current access request sent by any server is obtained, determining a target hard disk corresponding to the current access request, and judging whether an occupation identifier which is sent by the target hard disk and used for representing an occupation state is received or not. For example: when servers HOSTA, HOSTB and HOSTC exist in the system, controllers host1, host2, hard disk 1 and hard disk 2 exist, when the HOSTA needs to access the hard disk 1, the HOSTA simultaneously sends hard disk access requests to the controllers host1 and host2, if the hard disk 1 is not accessed by the servers HOSTB and HOSTC at the moment, the controller host1 or the controller host2 generates an operation instruction from the access request of the HOSTA, and the hard disk is controlled to respond to the current access request through the operation instruction. Meanwhile, the hard disk 1 sends the occupation identification to each controller (which may or may not include the controller host 1) through the hard disk drive. After receiving the occupation identifier, the controller 2 determines whether the server sending the access request is a HOSTA server after acquiring the hard disk access request, and if so, allows access, and generates an operation instruction according to the access request. If the access request is an HOSTB or an HOSTC server, the access request is denied.
In a specific implementation, the hard disk cabinet is a device for centrally managing hard disks and providing a storage server for a server through a network interface, and the device internally comprises an NVMe SSD hard disk, two controllers and a network interface card. The hard disk uses an NVMe SSD hard disk, and in a Set Feature command defined by an NVMe protocol, a Host Identifier function setting instruction exists, and hard disk support is required. In the asynchronous event notification function defined by the NVMe protocol, a vendor custom event is reserved, and in the method, a Host Identifier notification function is required to be added in the vendor custom event.
A central processing unit (Central Processing Unit, CPU) and a memory are arranged in the two controllers in the hard disk cabinet and are used for running a software system, wherein the software system comprises a hard disk drive, a network interface virtual disk and a mapping and butting process between the network interface virtual disk and the hard disk drive. The network interface card of the hard disk cabinet is responsible for network connection between the server and the hard disk cabinet, and a NVM Express over Fabrics protocol is loaded on a network link and used for the server to access the network interface virtual disk in the hard disk cabinet. The network interface virtual disk created based on the hard disk cabinet controller is used for receiving and processing the request transmitted from the network, and internally manages the connection established by the server through NVM Express over Fabrics and the relevant information of the server. On each controller of the hard disk cabinet, the number of the network interface virtual disks is the same as the number of the actual hard disks in the hard disk cabinet, so that the virtual disks have a one-to-one mapping relationship. When the server reads and writes the network interface virtual disk through the network, the network interface virtual disk sends the read-write request of the server to the corresponding hard disk through the drive of the mapped hard disk, and after the hard disk processing is completed, the network interface virtual disk responds the request processing result to the server through the network. The reservation function is realized in the network interface virtual disk, and the network interface virtual disk and the actual hard disk are not divided into a plurality of storage partitions, namely each disk only has one naming space (namespace), and the authority management and control of the naming space is equal to the authority management and control of the disk.
In a specific implementation, the synchronization of the authorization data is achieved by an asynchronous notification function of the hard disk tape. The use of asynchronous notifications in a device driver may enable access by the driver to actively notify an application when access to the device is made. Asynchronous notification means: once the device is ready, the application is actively notified so that the application need not query the device state at all, much like the concept of "interrupts" on hardware, more precisely known as "signal driven asynchronous I/O". The signal is a simulation of the interrupt mechanism at the software level, in principle, a process receiving a signal is the same as the processor receiving an interrupt request. The signals are asynchronous, and a process does not have to wait for the arrival of a signal by any operation, nor does it actually know when a signal arrives at all. Blocking I/O means waiting until the device is accessible and then accessing, in non-blocking I/O using poll () function to query if the device is accessible, while asynchronous notification means that the device notifies the user that it is itself accessible, after which the user performs I/O processing, i.e. the application is initiated by the driver and notified actively. Several I/O modes may complement each other.
After the hard disk drive obtains the Host Identifier information, the hard disk drive needs to inform the corresponding network interface virtual disk, the network interface virtual disk judges through the Host Identifier information, if the Host is not 0 value, the Host applies for the lock authority through the other end controller, and the network interface virtual disk records the Host Identifier which currently obtains the lock authority; if the value is all 0, the network interface virtual disk of the controller at the other end informs of releasing the lock authority, and only one Host can obtain the lock authority at the same time, so that the network interface virtual disk releases the lock authority of the Host according to the lock authority record.
In a specific implementation, the occupation identifier sent by the hard disk may be server identity information of the target server, and correspondingly, after the controller of the hard disk cabinet obtains an access request sent by a server connected with the hard disk cabinet, the hard disk access request is analyzed to obtain the server identity information; and judging whether the server corresponding to the server identity information has access rights or not according to the occupation identification. The occupation mark is information sent by the hard disk through vendor self-defined asynchronous event notification. If the access right exists, generating an operation instruction according to the hard disk access request and the server identity information, and sending the operation instruction to the hard disk.
The application provides a hard disk cabinet control method, which is applied to a controller side of a hard disk cabinet, and comprises the following steps: and acquiring and analyzing the current access request sent by the server to determine the target hard disk. Judging whether an occupation identifier which is sent by a target hard disk and used for representing an occupation state is received or not; the occupation mark is a mark sent by a vendor user-defined asynchronous event notification under the condition that the target hard disk responds to an operation instruction, a target server of the accessed target hard disk is determined according to the occupation mark, and whether a to-be-processed server corresponding to a current access request is consistent with the target server or not is judged; if the access request is consistent, generating an operation instruction according to the current access request, and sending the operation instruction to the target hard disk so that the target hard disk can respond to the current access request; if not, rejecting the current access request. Therefore, according to the technical scheme provided by the application, whether the server to be processed corresponding to the current access request is consistent with the target server or not is judged, and the access request is refused when the server is inconsistent with the target server, so that the hard disk data disorder caused by that different servers access the same target hard disk at the same time through different controllers is prevented. Meanwhile, the hard disk sends the access condition through self-contained manufacturer self-defined asynchronous event notification, an access link is not required to be set independently, and the cost and complexity of the system are reduced.
In a specific implementation, the occupation identifier may be server identity information (e.g., server ID, etc.) of the target server, or may be other predefined information, for example: user name information of a login server, and the like.
In order to ensure the reliability of the occupation identifier, in this embodiment, server identity information of the target server is selected as the occupation identifier.
Correspondingly, judging whether the server to be processed corresponding to the current access request is consistent with the target server comprises the following steps: analyzing the current access request to obtain server identity information of a server to be processed; judging whether the server identity information of the server to be processed is the same as the server identity information of the target server; and if the server to be processed is the same as the target server, determining that the server to be processed is consistent with the target server.
In a specific implementation, the placeholder identifier sent by the hard disk may be an operation access list that only includes identity information of a single allowed access server, or may include identity information of a plurality of servers, which is not limited herein. It will be appreciated that when the hard disk has no server access, the hard disk does not give any server access rights, and therefore the controller does not receive the placeholder identification at this time.
On the basis of the above embodiment, after the step of determining that the occupation identifier sent by the target hard disk is not received, the method further includes: generating an operation instruction according to the current access request; and sending the operation instruction to the target hard disk.
In a specific implementation, when the controller does not receive the detection occupation identifier, it indicates that the current hard disk is not read and written by other servers, so that the current server can directly acquire the lock authority of the corresponding hard disk.
Further, generating an operation instruction according to the current access request and controlling the target hard disk to respond to the current access request according to the operation instruction includes: analyzing the current access request to generate an operation instruction; correspondingly, sending the operation instruction to the target hard disk includes: if the operation instruction is a read instruction, analyzing the operation instruction to acquire read address information; determining data to be read according to the read address information, and copying the data to be read into a cache area; transmitting the data to be read in the cache area to a server; if the operation instruction is a writing instruction, analyzing the operation instruction to acquire data to be written and writing address information, and storing the data to be written into a cache area; and writing the data to be written in the buffer area into the target hard disk according to the writing address information, and sending a writing success message to a server corresponding to the current access request.
When the host writes data into the hard disk, the hard disk controller firstly transmits the data to the buffer area, and then sequentially transmits the data to the corresponding magnetic track according to the magnetic track address. When the host reads data from the hard disk, the hard disk controller transmits the data on the corresponding track to the buffer area according to the track address, and then transmits the data to the memory according to the host command.
The server initiates a read-write request to a hard disk in the hard disk cabinet, and the corresponding network interface virtual disk discovers that a locking record exists, so that the network interface virtual disk judges a server Host Identifier initiating the request, and if the server Host Identifier is consistent with the Host Identifier obtaining the locking authority in the record, the request operation is allowed; if the request is inconsistent with the Host Identifier which obtains the lock authority in the record, the request operation is refused.
Further, when the permission release request sent by the target server is obtained, an occupied identification clearing instruction is generated according to the server identity information of the target server, and the occupied identification clearing instruction is sent to the target hard disk, so that the target hard disk can update the occupied identification according to the server identity information to be cleaned.
In a specific implementation, after obtaining Host Identifier information, the hard disk drive needs to inform a corresponding network interface virtual disk, and if the network interface virtual disk is judged by the Host Identifier information, and if the Host is not 0 value, the Host is applying for lock authority by the other end controller, and the network interface virtual disk records the Host Identifier which currently obtains the lock authority; if the value is 0, the network interface virtual disk of the other end controller informs to release the lock authority, and only one server host can obtain the lock authority at the same time, so the network interface virtual disk releases the lock authority of the server host according to the lock authority record.
It will be appreciated that even in the same system, the processes running in different servers are not identical, and therefore, the priorities of the different servers are not identical. In order to ensure the normal operation of the server system, when a server with high priority needs to access the hard disk, even if the current hard disk is in an occupied state, the current access process needs to be stopped so that the server with higher priority can read and write the hard disk.
On the basis of the above embodiment, the method further comprises: acquiring a right acquisition request sent by a server to be processed; analyzing the permission acquisition request to acquire priority information of the server to be processed; judging whether the server to be processed has the acquisition permission or not according to the server identity information and the priority information of the server to be processed; if the server has the acquisition permission, generating an occupation identification updating instruction according to the server identity information, and sending the occupation identification updating instruction to the target hard disk so as to enable the hard disk to update the occupation identification according to the server identity information.
In this embodiment, after the permission acquisition request sent by the server is acquired, if the server has the acquisition permission, a list update instruction is generated according to the identity information of the server, so that the hard disk immediately provides access permission for the current server, thereby ensuring that the high-priority server can access the hard disk preferentially, and improving the stability and reliability of the system.
In an implementation, multiple servers are connected to the same hard disk cabinet to implement shared storage. The task processes running in the servers may have different priorities, and when a plurality of servers with different priorities need to use the same hard disk cabinet or hard disk, the problem that the high-priority task cannot obtain the access right of the hard disk preferentially may be caused, so that the access server queue may be further set according to the priority order of the servers, so as to provide services for the servers with high priorities preferentially.
Fig. 4 is a flowchart of another method for controlling a hard disk cabinet according to an embodiment of the present invention, which is applied to a hard disk side of a hard disk cabinet, as shown in fig. 4, and the method for controlling a hard disk cabinet includes:
s20: receiving an operation instruction sent by a controller; the operation instruction is an instruction sent to the target hard disk by the controller for the first time, or an instruction sent by the controller when the controller receives an occupation identifier which is sent by the target hard disk and is used for representing the occupation state and the to-be-processed server corresponding to the current access request is consistent with the target server; the target server is a server of the accessed target hard disk, which is determined by the controller according to the occupation identification;
S21: responding to an operation instruction of the controller and sending a occupation mark for representing an occupation state to the controller; the occupation mark is the mark sent by the target hard disk through vendor self-defined asynchronous event notification.
The vendor self-defined asynchronous event notification is an event notification function provided by a hard disk manufacturer, and when the vendor self-defined asynchronous event notification is used for transmitting data, a user does not need to develop a communication link by himself or herself, and only needs to modify the existing event definition, so that the cost and complexity of the system are reduced.
In implementations, the server initiates a get lock request to a disk in the hard disk locker using a subscription function. After receiving the request, the corresponding network interface virtual disk checks whether the server can acquire the lock, and if the lock record of the network interface virtual disk marks that the server is locked by other servers, the server returns failure to acquire the lock; if the user is not locked at present, the network interface virtual disk sends a request for setting the Host Identifier to the hard disk through the hard disk drive, after the hard disk successfully informs the other controller of the hard disk cabinet through the other port, the network interface virtual disk starts the Host Identifier of the lock function record to obtain the lock authority, and the network response server informs that the lock authority is successfully obtained. At this time, the corresponding network interface virtual disks on the two controllers in the hard disk cabinet start the lock function.
The application provides a hard disk cabinet control method, which comprises the following steps: receiving an operation instruction sent by a controller; the operation instruction is an instruction sent to the target hard disk by the controller for the first time, or an instruction sent by the controller when the controller receives an occupation identifier which is sent by the target hard disk and is used for representing the occupation state and the to-be-processed server corresponding to the current access request is consistent with the target server; the target server is a server of the accessed target hard disk, which is determined by the controller according to the occupation identification; responding to an operation instruction of the controller and sending a occupation mark for representing an occupation state to the controller; the occupation mark is the mark sent by the target hard disk through vendor self-defined asynchronous event notification. Therefore, according to the technical scheme provided by the application, whether the server to be processed corresponding to the current access request is consistent with the target server or not is judged, and the access request is refused when the server is inconsistent with the target server, so that the hard disk data disorder caused by that different servers access the same target hard disk at the same time through different controllers is prevented. Meanwhile, the hard disk sends the access condition through self-contained manufacturer self-defined asynchronous event notification, an access link is not required to be set independently, and the cost and complexity of the system are reduced.
As a preferred embodiment, before the step of obtaining the operation instruction sent by each controller, the method further includes: and starting the hard disk expansion host identifier, and initializing vendor custom asynchronous event notification. In a specific implementation, a hard disk supporting dual ports is first selected, and a Enable Extended Host Identifier (EXHID) field is Set to 1 in the Set Feature function of the hard disk, so that the hard disk can support a Host Identifier of 128 bits (16 bytes) length. And after one of the controllers in the hard disk cabinet issues a request for setting a Host Identifier to the hard disk, the hard disk informs the other controller of the hard disk cabinet of the vendor self-defined asynchronous event on the other port, and after the other controller of the hard disk cabinet receives the notification and acquires the newly set Host Identifier, the port of the hard disk responds to the controller that the setting is successful.
In addition, the hard disk cabinet needs to be initialized, the network interface virtual disk starts the booking function, and the hard disk drive initiates the vendor self-defined asynchronous event waiting function to the hard disk. The server establishes a network connection with a network interface virtual disk in the hard disk cabinet through a NVMe over Fabrics protocol in a conventional manner. The connection management in the network interface virtual disk records the server Host Identifier information of each connection established through the NVMe over Fabrics protocol. This information is agreed in the protocol to be carried when a connection is established over the network.
Further, the hard disk cabinet control method provided by the scheme of the invention further comprises the following steps: when a list clearing instruction sent by the controller is detected, clearing the space occupying mark; and sending the occupation identification to each controller through vendor custom asynchronous event notification so as to facilitate the server to release the lock authority. And the system can provide access service for the high-priority server in time.
In a specific implementation, after the network interface virtual disk receives the lock authority releasing request, the network interface virtual disk clears the lock authority record, and initiates a request for setting a Host Identifier through the hard disk drive, but the Host Identifier transmitted in this setting is a value of all 0. The hard disk informs the other controller manufacturer in the hard disk cabinet of the self-defined asynchronous event through the other port, and after the hard disk drive on the other controller in the hard disk cabinet informs the network interface virtual disk of all 0 Host Identifier information, the corresponding network interface virtual disk on the other controller in the hard disk cabinet also clears the lock authority record, and the lock authority is released. It should be noted that the network interface virtual disk in the hard disk cabinet does not check whether the initiating requester is consistent with the requester who applies for the lock right when releasing the lock right, and the problem that the locked disk data can not be accessed forever due to the failure of the server which successfully applies for the lock right is prevented.
As an preferable embodiment, the hard disk cabinet control method provided by the present invention further includes: after detecting a list updating instruction sent by a controller, analyzing the list updating instruction to acquire server identity information; updating the occupation mark according to the server identity information; the placeholder identifiers are sent to the controllers through vendor custom asynchronous event notifications.
In the above embodiments, the detailed description is given to the hard disk cabinet control method, and the invention also provides a corresponding embodiment of the hard disk cabinet control device. It should be noted that the present invention describes an embodiment of the device portion from two angles, one based on the angle of the functional module and the other based on the angle of the hardware.
Fig. 5 is a block diagram of a hard disk cabinet control device according to an embodiment of the present invention, as shown in fig. 5, where the device is applied to a controller side of a hard disk cabinet, and the hard disk cabinet control device includes:
the acquisition module 10 is used for acquiring and analyzing the current access request sent by the server so as to determine a target hard disk;
the first judging module 11 is configured to judge whether an occupation identifier sent by the target hard disk and used for representing an occupation state is received; the occupation mark is a mark sent by a vendor user-defined asynchronous event notification under the condition that a target hard disk responds to an operation instruction;
The second judging module 12 is configured to determine, if the occupation identifier is received, a target server that has accessed the target hard disk according to the occupation identifier, and judge whether a to-be-processed server corresponding to the current access request is consistent with the target server;
the generating module 13 is configured to generate an operation instruction according to the current access request and control the target hard disk to respond to the current access request according to the operation instruction if the access request is consistent;
and a rejecting module 14, configured to reject the current access request if the access request is inconsistent.
In addition, the hard disk cabinet control state provided by the invention further comprises a second generation module, an analysis module, a permission release module and a permission update module.
The second generation module is used for generating an operation instruction according to the current access request after judging that the occupation identifier sent by the target hard disk is not received; and sending the operation instruction to the target hard disk.
The analysis module is used for analyzing the current access request to generate an operation instruction;
the operation instruction sending module is used for analyzing the operation instruction if the operation instruction is a reading instruction so as to acquire reading address information; determining data to be read according to the read address information, and copying the data to be read into a cache area; transmitting the data to be read in the cache area to a server; if the operation instruction is a writing instruction, analyzing the operation instruction to acquire data to be written and writing address information, and storing the data to be written into a cache area; and writing the data to be written in the buffer area into the target hard disk according to the writing address information, and sending a writing success message to a server corresponding to the current access request.
And the permission release module is used for generating an occupied mark clearing instruction according to the server identity information of the target server when the permission release request sent by the target server is acquired, and sending the occupied mark clearing instruction to the target hard disk so that the target hard disk can update the occupied mark according to the server identity information to be cleaned.
The right updating module is used for acquiring a right acquisition request sent by the server to be processed; analyzing the permission acquisition request to acquire priority information of the server to be processed; judging whether the server to be processed has the acquisition permission or not according to the server identity information and the priority information of the server to be processed; if the server has the acquisition permission, generating an occupation identification updating instruction according to the server identity information, and sending the occupation identification updating instruction to the target hard disk so as to enable the hard disk to update the occupation identification according to the server identity information.
Since the embodiments of the apparatus portion and the embodiments of the method portion correspond to each other, the embodiments of the apparatus portion are referred to the description of the embodiments of the method portion, and are not repeated herein.
The application provides a hard disk cabinet control device, which is applied to a controller side of a hard disk cabinet, and the hard disk cabinet control method comprises the following steps: and acquiring and analyzing the current access request sent by the server to determine the target hard disk. Judging whether an occupation identifier which is sent by a target hard disk and used for representing an occupation state is received or not; the occupation mark is a mark sent by a vendor user-defined asynchronous event notification under the condition that the target hard disk responds to an operation instruction, a target server of the accessed target hard disk is determined according to the occupation mark, and whether a to-be-processed server corresponding to a current access request is consistent with the target server or not is judged; if the access request is consistent, generating an operation instruction according to the current access request, and sending the operation instruction to the target hard disk so that the target hard disk can respond to the current access request; if not, rejecting the current access request. Therefore, according to the technical scheme provided by the application, whether the server to be processed corresponding to the current access request is consistent with the target server or not is judged, and the access request is refused when the server is inconsistent with the target server, so that the hard disk data disorder caused by that different servers access the same target hard disk at the same time through different controllers is prevented. Meanwhile, the hard disk sends the access condition through self-contained manufacturer self-defined asynchronous event notification, an access link is not required to be set independently, and the cost and complexity of the system are reduced.
Fig. 6 is a block diagram of a hard disk cabinet control device according to another embodiment of the present invention, and as shown in fig. 6, the hard disk cabinet control device includes: a memory 20 for storing a computer program;
and a processor 21, configured to implement the steps of the hard disk cabinet control method according to the above embodiment when executing the computer program.
The hard disk cabinet control device provided by the embodiment can include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer or the like.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in hardware in at least one of a digital signal processor (Digital Signal Processor, DSP), a Field programmable gate array (Field-Programmable Gate Array, FPGA), a programmable logic array (Programmable Logic Array, PLA). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called central processor (Central Processing Unit, CPU), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with an image processor (Graphics Processing Unit, GPU) for taking care of rendering and rendering of the content that the display screen is required to display. In some embodiments, the processor 21 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, where the computer program, when loaded and executed by the processor 21, can implement the relevant steps of the hard disk cabinet control method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may further include an operating system 202, data 203, and the like, where the storage manner may be transient storage or permanent storage. The operating system 202 may include Windows, unix, linux, among others. The data 203 may include, but is not limited to, server identity information, placeholder identifiers, and the like.
In some embodiments, the hard disk cabinet control device may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
It will be appreciated by those skilled in the art that the configuration shown in fig. 6 is not limiting of the hard disk cabinet control device and may include more or fewer components than shown.
The hard disk cabinet control device provided by the embodiment of the invention comprises a memory and a processor, wherein the processor can realize the following method when executing a program stored in the memory: judging whether an occupation identifier which is sent by a target hard disk and used for representing an occupation state is received or not; the occupation mark is a mark sent by a vendor user-defined asynchronous event notification under the condition that a target hard disk responds to an operation instruction; if the occupation identification is received, determining a target server accessed to the target hard disk according to the occupation identification, and judging whether a to-be-processed server corresponding to the current access request is consistent with the target server or not; if the access request is consistent, generating an operation instruction according to the current access request, and controlling the target hard disk to respond to the current access request according to the operation instruction; if not, rejecting the current access request.
Finally, the invention also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps described in the above-described method embodiments (the method may be a method corresponding to the controller side, a method corresponding to the hard disk side, or a method corresponding to the controller side and the hard disk side).
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium for performing all or part of the steps of the method according to the embodiments of the present invention. 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 method, the device and the medium for controlling the hard disk cabinet provided by the invention are described in detail. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Claims (11)
1. The hard disk cabinet control method is characterized by being applied to a controller side of a hard disk cabinet, and comprises the following steps:
the method comprises the steps of obtaining and analyzing a current access request sent by a server to determine a target hard disk;
judging whether an occupation identifier which is sent by the target hard disk and used for representing an occupation state is received or not; the occupation identifier is an identifier sent by the target hard disk through vendor self-defined asynchronous event notification under the condition of responding to an operation instruction;
If the occupation identification is received, determining a target server which has accessed the target hard disk according to the occupation identification, and judging whether a to-be-processed server corresponding to the current access request is consistent with the target server or not;
if the current access request is consistent, generating the operation instruction according to the current access request, and sending the operation instruction to the target hard disk so that the target hard disk can respond to the current access request;
and if not, rejecting the current access request.
2. The hard disk cabinet control method according to claim 1, wherein the occupancy identifier is server identity information of the target server;
correspondingly, the judging whether the server to be processed corresponding to the current access request is consistent with the target server comprises:
analyzing the current access request to acquire server identity information of the server to be processed;
judging whether the server identity information of the server to be processed is the same as the server identity information of the target server;
and if the server to be processed is the same as the target server, determining that the server to be processed is consistent with the target server.
3. The hard disk cabinet control method according to claim 2, further comprising, after the step of determining that the occupation identifier transmitted by the target hard disk is not received:
Generating the operation instruction according to the current access request;
and sending the operation instruction to the target hard disk.
4. The hard disk cabinet control method according to claim 1, wherein the generating an operation instruction according to the current access request and controlling the target hard disk according to the operation instruction to respond to the current access request includes:
analyzing the current access request to generate an operation instruction;
correspondingly, the sending the operation instruction to the target hard disk includes:
if the operation instruction is a reading instruction, analyzing the operation instruction to acquire reading address information;
determining data to be read according to the read address information, and copying the data to be read into a cache area;
transmitting the data to be read in the cache area to the server;
if the operation instruction is a writing instruction, analyzing the operation instruction to acquire data to be written and writing address information, and storing the data to be written into the cache area;
and writing the data to be written in the cache area into the target hard disk according to the writing address information, and sending a writing success message to a server corresponding to the current access request.
5. The hard disk cabinet control method according to claim 2, further comprising:
when the permission release request sent by the target server is obtained, an occupied identification clearing instruction is generated according to the server identity information of the target server, and the occupied identification clearing instruction is sent to the target hard disk, so that the target hard disk can update the occupied identification according to the server identity information to be cleaned.
6. The hard disk cabinet control method according to any one of claims 1 to 5, further comprising:
acquiring a right acquisition request sent by the server to be processed;
analyzing the right acquisition request to acquire priority information of the server to be processed;
judging whether the server to be processed has acquisition permission according to the server identity information and the priority information of the server to be processed;
if the server has the acquisition permission, generating an occupied identification updating instruction according to the server identity information, and sending the occupied identification updating instruction to the target hard disk so that the hard disk can update the occupied identification according to the server identity information.
7. The hard disk cabinet control method is characterized by being applied to a hard disk side of a hard disk cabinet, and comprises the following steps:
receiving an operation instruction sent by a controller; the operation instruction is an instruction sent to the target hard disk by the controller for the first time, or an instruction sent by the controller when an occupation identifier which is sent by the target hard disk and used for representing an occupation state is received and a to-be-processed server corresponding to a current access request is consistent with the target server; the target server is a server which is determined by the controller according to the occupation identification and has accessed the target hard disk;
responding to the operation instruction of the controller, and sending a occupation identifier for representing an occupation state to the controller; the occupation mark is the mark sent by the target hard disk through vendor self-defined asynchronous event notification.
8. The hard disk cabinet control method according to claim 7, further comprising:
judging whether an occupied identification updating instruction is acquired or not; the occupation identification updating instruction is an instruction sent by the controller when acquiring an authority acquisition request sent by the server to be processed, and determining that the server to be processed has an acquisition authority according to server identity information and priority information of the server to be processed;
If the occupation identification updating instruction is acquired, analyzing the occupation identification updating instruction to acquire the server identity information of the server to be processed, and updating the occupation identification according to the server identity information.
9. A hard disk cabinet control device, characterized in that it is applied to the controller side of hard disk cabinet, the hard disk cabinet control device includes:
the acquisition module is used for acquiring and analyzing the current access request sent by the server so as to determine a target hard disk;
the first judging module is used for judging whether an occupation identifier which is sent by the target hard disk and used for representing the occupation state is received or not; the occupation identifier is an identifier sent by the target hard disk through vendor self-defined asynchronous event notification under the condition of responding to an operation instruction;
the second judging module is used for determining a target server which has accessed the target hard disk according to the occupation identifier if the occupation identifier is received, and judging whether the server to be processed corresponding to the current access request is consistent with the target server or not;
the generating module is used for generating an operation instruction according to the current access request and controlling the target hard disk to respond to the current access request according to the operation instruction if the current access request is consistent with the current access request;
And the rejecting module is used for rejecting the current access request if the access requests are inconsistent.
10. The hard disk cabinet control device is characterized by comprising a memory for storing a computer program;
a processor for implementing the steps of the hard disk cabinet control method according to any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, which when executed by a processor, implements the steps of the hard disk cabinet control method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311262829.4A CN117218773A (en) | 2023-09-27 | 2023-09-27 | Hard disk cabinet control method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311262829.4A CN117218773A (en) | 2023-09-27 | 2023-09-27 | Hard disk cabinet control method, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117218773A true CN117218773A (en) | 2023-12-12 |
Family
ID=89040491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311262829.4A Pending CN117218773A (en) | 2023-09-27 | 2023-09-27 | Hard disk cabinet control method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117218773A (en) |
-
2023
- 2023-09-27 CN CN202311262829.4A patent/CN117218773A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3470984B1 (en) | Method, device, and system for managing disk lock | |
US5339427A (en) | Method and apparatus for distributed locking of shared data, employing a central coupling facility | |
US6622163B1 (en) | System and method for managing storage resources in a clustered computing environment | |
US9031984B2 (en) | Providing multiple concurrent access to a file system | |
EP3206124B1 (en) | Method, apparatus and system for accessing storage device | |
KR20200017363A (en) | MANAGED SWITCHING BETWEEN ONE OR MORE HOSTS AND SOLID STATE DRIVES (SSDs) BASED ON THE NVMe PROTOCOL TO PROVIDE HOST STORAGE SERVICES | |
US8819357B2 (en) | Method and system for ensuring cache coherence of metadata in clustered file systems | |
US20110179082A1 (en) | Managing concurrent file system accesses by multiple servers using locks | |
US20150234857A1 (en) | Configuration-less network locking infrastructure for shared file systems | |
JP2002222110A (en) | Storage system and virtual private volume controlling method | |
US8677034B2 (en) | System for controlling I/O devices in a multi-partition computer system | |
US10515067B2 (en) | Distributed reservations systems and methods | |
CN105892943A (en) | Access method and system for block storage data in distributed storage system | |
CN107491354A (en) | A kind of inter-virtual machine communication method and device based on shared drive | |
WO2010113248A1 (en) | Virtual computer system, information processing device, computer program and connection control method | |
CN116414798A (en) | Distributed consistency implementation method, device and medium based on cluster file system | |
KR20050029202A (en) | Asynchronous messaging in storage area network | |
CN107577733B (en) | Data replication acceleration method and system | |
US6966062B2 (en) | Method and apparatus for allocating use of an access device between host and guest operating systems | |
US20180107680A1 (en) | Methods for transferring reserves when moving virtual machines across systems | |
WO2023273803A1 (en) | Authentication method and apparatus, and storage system | |
KR20100040899A (en) | Avoiding failure of an initial program load in a logical partition of data storage system | |
CN117218773A (en) | Hard disk cabinet control method, device and medium | |
US20140229670A1 (en) | Cache coherency and synchronization support in expanders in a raid topology with multiple initiators | |
US20060036790A1 (en) | Method, system, and program for returning attention to a processing system requesting a lock |
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 |