CN111857598A - Mapping method, device, equipment and readable medium for remote disk localization - Google Patents

Mapping method, device, equipment and readable medium for remote disk localization Download PDF

Info

Publication number
CN111857598A
CN111857598A CN202010737841.6A CN202010737841A CN111857598A CN 111857598 A CN111857598 A CN 111857598A CN 202010737841 A CN202010737841 A CN 202010737841A CN 111857598 A CN111857598 A CN 111857598A
Authority
CN
China
Prior art keywords
iscsi
scsi
command
disk
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010737841.6A
Other languages
Chinese (zh)
Inventor
刘学兵
梁记斌
刘毅枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN202010737841.6A priority Critical patent/CN111857598A/en
Publication of CN111857598A publication Critical patent/CN111857598A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed 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)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention discloses a mapping method for remote disk localization, which comprises the following steps: enabling the physical host to identify the simulated disk equipment through the SCSI controller; in response to receiving a disk read-write command sent by a physical host, re-encapsulating the disk read-write command to obtain an iSCSI command unit, and sending the iSCSI command unit to a remote storage iSCSI server for processing; and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive. The invention also discloses a mapping device, computer equipment and a readable storage medium for the localization of the remote disk. The invention realizes that the BIOS can identify the disk on the remote storage when the physical host computer is started, thereby supporting the boot from the remote disk.

Description

Mapping method, device, equipment and readable medium for remote disk localization
Technical Field
The invention relates to the technical field of cloud computing, in particular to a mapping method, a mapping device, mapping equipment and a readable medium for remote disk localization.
Background
In the field of cloud computing, in order to manage a physical machine like a virtual machine, the performance of the physical machine is achieved, the resource elastic expansion and flexible configuration of the virtual machine are achieved, the deployment requirement of a bare metal server is met, and the physical machine can be guided and started from remote storage on the premise that a local disk is not needed. The connection of the remote iSCSI storage needs to realize all functions of the iSCSI client in an operating system, but the related functions of the iSCSI client are not existed in the BIOS of the main board when the physical host is started, so that the disk on the remote storage cannot be identified when the physical host is just started, and the bare metal deployment physical server cannot be realized. If the remote disk startup cannot be supported, the traditional PXE installation must be relied on, and the PXE installation cannot perform key functions of minute-level service delivery, console mirror image password repair and the like.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a mapping method, an apparatus, a device, and a readable medium for remote disk localization, which enable a BIOS to identify a disk on a remote storage when a physical host is started, so as to support booting from the remote disk.
Based on the above object, an aspect of the embodiments of the present invention provides a mapping method for remote disk localization, including the following steps: enabling the physical host to identify the simulated disk equipment through the SCSI controller; in response to receiving a disk read-write command sent by a physical host, re-encapsulating the disk read-write command to obtain an iSCSI command unit, and sending the iSCSI command unit to a remote storage iSCSI server for processing; and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive.
In some embodiments, causing the physical host to recognize the emulated disk device via the SCSI controller comprises: the physical host computer drives and identifies the SCSI controller through the SCSI controller in the BIOS and scans the simulated disk equipment connected with the SCSI controller; the simulated disk device returns a characteristic command to enable the physical host to identify the simulated disk device.
In some embodiments, in response to receiving a disk read-write command issued by the physical host, repackaging the disk read-write command to obtain an iSCSI command unit includes: in response to receiving a disk read-write command sent by a physical host, the SCSI controller converts the disk read-write command into an SCSI command and sends the SCSI command to the simulated disk drive through an SCSI bus; the SCSI over TCP driver acquires the SCSI command and encapsulates the SCSI command again to obtain the iSCSI command unit.
In some embodiments, in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-parsing the iSCSI result unit into SCSI result commands and returning the SCSI result commands to the emulated disk drive comprises: the remote iSCSI server puts the iSCSI command unit into a corresponding target logic unit, processes the iSCSI command unit and returns the result in the form of an iSCSI result unit; and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive.
In another aspect of the embodiments of the present invention, a mapping apparatus for remote disk localization is further provided, including: the scanning module is configured to enable the physical host to identify the simulated disk device through the SCSI controller; the first processing module is configured to respond to a received disk read-write command sent by the physical host, repackage the disk read-write command to obtain an iSCSI command unit, and send the iSCSI command unit to the remote storage iSCSI server for processing; and the second processing module is configured to respond to the received iSCSI result unit processed by the remote iSCSI server, re-analyze the iSCSI result unit into an SCSI result command and return the SCSI result command to the simulation disk driver.
In some embodiments, the scanning module is further configured to: the physical host computer drives and identifies the SCSI controller through the SCSI controller in the BIOS and scans the simulated disk equipment connected with the SCSI controller; the simulated disk device returns a characteristic command to enable the physical host to identify the simulated disk device.
In some embodiments, the first processing module is further configured to: in response to receiving a disk read-write command sent by a physical host, the SCSI controller converts the disk read-write command into an SCSI command and sends the SCSI command to the simulated disk drive through an SCSI bus; the SCSI over TCP driver acquires the SCSI command and encapsulates the SCSI command again to obtain the iSCSI command unit.
In some embodiments, the second processing module is further configured to: the remote iSCSI server puts the iSCSI command unit into a corresponding target logic unit, processes the iSCSI command unit and returns the result in the form of an iSCSI result unit; and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: the BIOS can identify the disk on the remote storage when the physical host computer is started, so that the boot from the remote disk is supported.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a diagram illustrating an embodiment of a mapping method for remote disk localization according to the present invention;
FIG. 2 is a diagram of an embodiment of a mapping apparatus for remote disk localization provided by the present invention;
FIG. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention;
FIG. 4 is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a mapping method for remote disk localization. Fig. 1 is a schematic diagram illustrating an embodiment of a mapping method for remote disk localization provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, enabling the physical host to identify the simulated disk device through the SCSI controller;
s2, in response to receiving a disk read-write command sent by the physical host, re-encapsulating the disk read-write command to obtain an iSCSI command unit, and sending the iSCSI command unit to a remote storage iSCSI server for processing; and
s3, in response to receiving the iSCSI result unit processed by the remote iSCSI server, the iSCSI result unit is re-analyzed into an SCSI result command and returned to the emulated disk drive.
In this embodiment, the iSCSI technology is a new storage technology, which combines the existing SCSI interface with the ethernet technology to allow the server to exchange data with the storage device using the IP network. iSCSI is a TCP/IP-based protocol used to establish and manage interconnections between IP storage devices, hosts and clients, etc., and to create a Storage Area Network (SAN).
In this embodiment, the storage mapping card is designed as a standard PCIe device, and is connected to the physical server through a PCIe interface, and all the SCSI controller drivers in the BIOS of the physical host are driven by the SCSI controller, so after the physical server is started, the SCSI controller driver in the BIOS of the storage mapping card discovers the SCSI controller on the storage mapping card, and then scans the SCSI device connected to the storage mapping card, and at this time, the simulated disk drive in the storage mapping module returns a simulated SCSI device characteristic instruction, so that the physical server considers the simulated disk drive as a real physical disk. And finally, reading and writing the disk of the analog disk drive through a standard SCSI drive.
The SCSI controller is the core of the SCSI storage system, which is responsible for the transmission and control of data between the physical host and the disk, receives the disk control and read-write task of the host CPU on the side of the physical host, and on the side of the disk driver, the SCSI controller and the simulation disk driver are connected by a standard SCSI bus, and the disk read-write command sent by the physical host is converted into a standard SCSI command by the SCSI controller to be transmitted between the SCSI controller and the simulation disk driver.
After receiving the SCSI command for disk reading and writing on the SCSI bus, the standard disk controller can directly drive the disk reading and writing circuit to read and write the disk. However, there is no real disk in the storage mapping card, and the SCSI over TCP driver needs to repackage the SCSI command received from the emulated disk drive, and finally encapsulates it into a command unit PDU of iSCSI. The iSCSI Command Unit PDUs received from the remote storage are re-parsed into standard SCSI commands and then sent to the emulated disk drive.
The whole functions of the iSCSI client are realized in the SCSI over TCP driver, the PDU comprises a logical unit number LUN and a SCSI command CDB which are issued to remote storage by the SCSI client, and finally the PDU is transmitted to the iSCSI server side as a carrier of the TCP on the Ethernet. The long-distance storage iSCSI server end puts the iSCSI order into the target LU according to the LUN, the LU then reflects the result after processing the order to the iSCSI server end, and finally encapsulates the iSCSI PDU into iSCSI PDU, and then uses TCP to transmit back to the iSCSI client end, namely, the iSCSI over TCP drive is reached.
In some embodiments of the present invention, causing the physical host to recognize the emulated disk device via the SCSI controller comprises: the physical host computer drives and identifies the SCSI controller through the SCSI controller in the BIOS and scans the simulated disk equipment connected with the SCSI controller; the simulated disk device returns a characteristic command to enable the physical host to identify the simulated disk device.
In some embodiments of the present invention, in response to receiving a disk read-write command sent by a physical host, repackaging the disk read-write command to obtain an iSCSI command unit includes: in response to receiving a disk read-write command sent by a physical host, the SCSI controller converts the disk read-write command into an SCSI command and sends the SCSI command to the simulated disk drive through an SCSI bus; the SCSI over TCP driver acquires the SCSI command and encapsulates the SCSI command again to obtain the iSCSI command unit.
In some embodiments of the present invention, in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-parsing the iSCSI result unit into SCSI result commands and returning the SCSI result commands to the emulated disk drive comprises: the remote iSCSI server puts the iSCSI command unit into a corresponding target logic unit, processes the iSCSI command unit and returns the result in the form of an iSCSI result unit; and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive.
It should be particularly noted that, the steps in the embodiments of the mapping method for remote disk localization described above can be mutually intersected, replaced, added, and deleted, so that these mapping methods for remote disk localization transformed by reasonable permutation and combination also belong to the scope of the present invention, and the scope of the present invention should not be limited to the embodiments.
In view of the foregoing, a second aspect of the embodiments of the present invention provides a mapping apparatus for remote disk localization. Fig. 2 is a schematic diagram illustrating an embodiment of a mapping apparatus for remote disk localization provided by the present invention. As shown in fig. 2, the embodiment of the present invention includes the following modules: a scanning module S11 configured to enable the physical host to identify the emulated disk device through the SCSI controller; the first processing module S12, configured to respond to a received disk read-write command sent by the physical host, repackage the disk read-write command to obtain an iSCSI command unit, and send the iSCSI command unit to the remote storage iSCSI server for processing; and a second processing module S13, configured to, in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-parse the iSCSI result unit into an SCSI result command and return the SCSI result command to the emulated disk drive.
In some embodiments, the scanning module S11 is further configured to: the physical host computer drives and identifies the SCSI controller through the SCSI controller in the BIOS and scans the simulated disk equipment connected with the SCSI controller; the simulated disk device returns a characteristic command to enable the physical host to identify the simulated disk device.
In some embodiments, the first processing module S12 is further configured to: in response to receiving a disk read-write command sent by a physical host, the SCSI controller converts the disk read-write command into an SCSI command and sends the SCSI command to the simulated disk drive through an SCSI bus; the SCSI over TCP driver acquires the SCSI command and encapsulates the SCSI command again to obtain the iSCSI command unit.
In some embodiments, the second processing module S13 is further configured to: the remote iSCSI server puts the iSCSI command unit into a corresponding target logic unit, processes the iSCSI command unit and returns the result in the form of an iSCSI result unit; and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device. Fig. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention. As shown in fig. 3, an embodiment of the present invention includes the following means: at least one processor S21; and a memory S22, the memory S22 storing computer instructions S23 executable on the processor, the instructions when executed by the processor implementing the steps of the above method.
The invention also provides a computer readable storage medium. FIG. 4 is a schematic diagram illustrating an embodiment of a computer-readable storage medium provided by the present invention. As shown in fig. 4, the computer readable storage medium stores S31 a computer program that, when executed by a processor, performs the method as described above S32.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program of the mapping method for remote disk localization can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. 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 disclosed embodiments of the present invention.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A mapping method for remote disk localization is characterized by comprising the following steps:
enabling the physical host to identify the simulated disk equipment through the SCSI controller;
in response to receiving a disk read-write command sent by the physical host, re-encapsulating the disk read-write command to obtain an iSCSI command unit, and sending the iSCSI command unit to a remote storage iSCSI server for processing; and
and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive.
2. The mapping method of claim 1, wherein identifying the physical host to the emulated disk device via the SCSI controller comprises:
the physical host computer drives and identifies the SCSI controller through the SCSI controller in the BIOS and scans the simulated disk equipment connected with the SCSI controller;
and returning a characteristic instruction by the simulated disk equipment to enable the physical host to identify the simulated disk equipment.
3. The mapping method for remote disk localization as claimed in claim 1, wherein, in response to receiving a disk read-write command issued by the physical host, repackaging the disk read-write command to obtain an iSCSI command unit comprises:
in response to receiving a disk read-write command sent by the physical host, the SCSI controller converts the disk read-write command into an SCSI command and sends the SCSI command to the simulated disk drive through an SCSI bus;
and the SCSI over TCP driver acquires the SCSI command and encapsulates the SCSI command again to obtain an iSCSI command unit.
4. The mapping method for remote disk localization as claimed in claim 1, wherein the re-parsing the iSCSI result unit into SCSI result commands and returning to emulated disk drives in response to receiving the iSCSI result unit processed by the remote iSCSI server comprises:
the remote iSCSI server end is put into a corresponding target logic unit according to the iSCSI command unit, processes the iSCSI command unit and returns the result in the form of an iSCSI result unit;
and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive.
5. A mapping apparatus for remote disk localization, comprising:
the scanning module is configured to enable the physical host to identify the simulated disk device through the SCSI controller;
the first processing module is configured to respond to a received disk read-write command sent by the physical host, repackage the disk read-write command to obtain an iSCSI command unit, and send the iSCSI command unit to a remote storage iSCSI server for processing; and
and the second processing module is configured to respond to the received iSCSI result unit processed by the remote iSCSI server, re-analyze the iSCSI result unit into an SCSI result command and return the SCSI result command to the simulation disk driver.
6. The mapping apparatus of claim 5, wherein the scanning module is further configured to:
the physical host computer drives and identifies the SCSI controller through the SCSI controller in the BIOS and scans the simulated disk equipment connected with the SCSI controller;
and returning a characteristic instruction by the simulated disk equipment to enable the physical host to identify the simulated disk equipment.
7. The mapping apparatus for remote disk localization according to claim 5, wherein the first processing module is further configured to:
in response to receiving a disk read-write command sent by the physical host, the SCSI controller converts the disk read-write command into an SCSI command and sends the SCSI command to the simulated disk drive through an SCSI bus;
and the SCSI over TCP driver acquires the SCSI command and encapsulates the SCSI command again to obtain an iSCSI command unit.
8. The mapping apparatus for remote disk localization according to claim 5, wherein the second processing module is further configured to:
the remote iSCSI server end is put into a corresponding target logic unit according to the iSCSI command unit, processes the iSCSI command unit and returns the result in the form of an iSCSI result unit;
and in response to receiving the iSCSI result unit processed by the remote iSCSI server, re-analyzing the iSCSI result unit into an SCSI result command and returning the SCSI result command to the simulation disk drive.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of any of the methods 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
CN202010737841.6A 2020-07-28 2020-07-28 Mapping method, device, equipment and readable medium for remote disk localization Pending CN111857598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010737841.6A CN111857598A (en) 2020-07-28 2020-07-28 Mapping method, device, equipment and readable medium for remote disk localization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010737841.6A CN111857598A (en) 2020-07-28 2020-07-28 Mapping method, device, equipment and readable medium for remote disk localization

Publications (1)

Publication Number Publication Date
CN111857598A true CN111857598A (en) 2020-10-30

Family

ID=72947668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010737841.6A Pending CN111857598A (en) 2020-07-28 2020-07-28 Mapping method, device, equipment and readable medium for remote disk localization

Country Status (1)

Country Link
CN (1) CN111857598A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117891416A (en) * 2024-03-18 2024-04-16 厦门大学 Unmapping operation optimization method and device based on SCSI protocol and readable medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040225837A1 (en) * 2003-05-07 2004-11-11 International Business Machines Corporation Virtual disk image system with local cache disk for iSCSI communications
CN1645342A (en) * 2005-01-21 2005-07-27 清华大学 Large scale resource memory managing method based on network under SAN environment
CN1834912A (en) * 2005-03-15 2006-09-20 蚬壳星盈科技有限公司 ISCSI bootstrap driving system and method for expandable internet engine
CN1862476A (en) * 2006-04-19 2006-11-15 华中科技大学 Super large capacity virtual magnetic disk storage system
US20070005816A1 (en) * 2005-06-30 2007-01-04 Nimrod Diamant LAN controller with bootable host bus adapter
CN103117991A (en) * 2012-07-18 2013-05-22 北京智网科技股份有限公司 Design and achievement of network enablement sBOOT treaty
CN106598560A (en) * 2015-10-16 2017-04-26 广达电脑股份有限公司 iSCSI based bare metal os image deployment and diskless boot
CN110691094A (en) * 2019-10-10 2020-01-14 山东超越数控电子股份有限公司 Method, equipment and medium for transmitting data based on ISCSI protocol
CN111240605A (en) * 2020-03-16 2020-06-05 山东超越数控电子股份有限公司 Device and method for deploying bare metal server in cloud computing environment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040225837A1 (en) * 2003-05-07 2004-11-11 International Business Machines Corporation Virtual disk image system with local cache disk for iSCSI communications
CN1645342A (en) * 2005-01-21 2005-07-27 清华大学 Large scale resource memory managing method based on network under SAN environment
CN1834912A (en) * 2005-03-15 2006-09-20 蚬壳星盈科技有限公司 ISCSI bootstrap driving system and method for expandable internet engine
US20070005816A1 (en) * 2005-06-30 2007-01-04 Nimrod Diamant LAN controller with bootable host bus adapter
CN1862476A (en) * 2006-04-19 2006-11-15 华中科技大学 Super large capacity virtual magnetic disk storage system
CN103117991A (en) * 2012-07-18 2013-05-22 北京智网科技股份有限公司 Design and achievement of network enablement sBOOT treaty
CN106598560A (en) * 2015-10-16 2017-04-26 广达电脑股份有限公司 iSCSI based bare metal os image deployment and diskless boot
CN110691094A (en) * 2019-10-10 2020-01-14 山东超越数控电子股份有限公司 Method, equipment and medium for transmitting data based on ISCSI protocol
CN111240605A (en) * 2020-03-16 2020-06-05 山东超越数控电子股份有限公司 Device and method for deploying bare metal server in cloud computing environment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
SCOTT MUELLE: "PC升级与维护大全 原书第12版", pages: 1131 *
褚福玺;: "iSCSI虚拟网络磁盘驱动实现", 软件导刊, no. 08 *
谭怀亮 等: "基于iSCSI网络存储协议的映射SCSI磁盘启动方法", 计算机工程与应用, pages 109 - 112 *
赵奎;李涛;刘晓洁;胡晓勤;刘念;: "一种基于IP网络的远程数据同步方法", 四川大学学报(工程科学版), no. 04 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117891416A (en) * 2024-03-18 2024-04-16 厦门大学 Unmapping operation optimization method and device based on SCSI protocol and readable medium
CN117891416B (en) * 2024-03-18 2024-05-14 厦门大学 Unmapping operation optimization method and device based on SCSI protocol and readable medium

Similar Documents

Publication Publication Date Title
US20220086219A1 (en) Using Cloud Services To Provide Secure Access To A Storage System
US9917767B2 (en) Maintaining a communication path from a host to a storage subsystem in a network
CN101557417B (en) Method and apparatus for HBA migration
US8825819B2 (en) Mounting specified storage resources from storage area network in machine provisioning platform
CN103257941B (en) Multi-protocol storage controller and system
CN110300133B (en) Cross-domain data transmission method, device, equipment and storage medium
US20050216668A1 (en) Mode device, administrative server, routing method and authentication method
JP2008529167A (en) Collaborative shared storage architecture
US20150271286A1 (en) Data Transmission
CN105450759A (en) System mirror image management method and device
CN111240605A (en) Device and method for deploying bare metal server in cloud computing environment
US20040093607A1 (en) System providing operating system independent access to data storage devices
CN111857598A (en) Mapping method, device, equipment and readable medium for remote disk localization
US10623341B2 (en) Configuration of a set of queues for multi-protocol operations in a target driver
CN104685488A (en) System and method for creating virtual disk images for use with remote computer
US20060267798A1 (en) Systems and methods for generating network messages
CN100353330C (en) Disk mirroring method based on IP network
CN105162833A (en) Client computer management system and method applied to diskless workstation
CN109308288B (en) Data processing method and device
CN104125198A (en) Web player plug-in redirection method, server and client
CN114157639B (en) Method, device and equipment for collecting information of intelligent network card of server and readable medium
CN102118389B (en) Method for accessing storage device through internet small computer system interface (iSCSI) in multipath manner and storage device
US11734223B2 (en) NVMe-over-fabrics gateway system
CN108494748A (en) A kind of communication means, device and storage medium
US11194738B2 (en) Implementing management commands utilizing an in-band interface

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