WO2016188373A1 - Method and apparatus for fusing san and nas storage architectures in storage system - Google Patents

Method and apparatus for fusing san and nas storage architectures in storage system Download PDF

Info

Publication number
WO2016188373A1
WO2016188373A1 PCT/CN2016/082806 CN2016082806W WO2016188373A1 WO 2016188373 A1 WO2016188373 A1 WO 2016188373A1 CN 2016082806 W CN2016082806 W CN 2016082806W WO 2016188373 A1 WO2016188373 A1 WO 2016188373A1
Authority
WO
WIPO (PCT)
Prior art keywords
logical address
data
address
physical
written
Prior art date
Application number
PCT/CN2016/082806
Other languages
French (fr)
Chinese (zh)
Inventor
张鹏
张国彬
叶茂
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2016188373A1 publication Critical patent/WO2016188373A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1824Distributed file systems implemented using Network-attached Storage [NAS] architecture
    • G06F16/1827Management specifically adapted to NAS
    • 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]

Definitions

  • Embodiments of the present invention relate to a storage technology, and in particular, to a method and an apparatus for converging a SAN and a NAS storage architecture in a storage system.
  • NAS Network Attached Storage
  • SAN Storage Area Network
  • the storage system when the storage system receives a data write request sent by a network host connected by a physical connection manner of a NAS or a SAN (the write request includes data to be written and When the logical address corresponding to the data to be written is): the storage system first allocates a corresponding physical address for the logical address corresponding to the data to be written; and then determines whether the allocated physical address is previously assigned to another logical address, and if so, Then, the space corresponding to the physical address is released; finally, the data to be written is stored in the physical address corresponding to the logical address corresponding to the data to be written.
  • the embodiment of the invention provides a method and a device for converging a SAN and a NAS storage architecture in a storage system, which are used to solve the SAN storage architecture in the storage system existing in the prior art.
  • the present invention provides a method for converging a SAN and a NAS storage architecture in a storage system, the storage system being configured to provide a service to a network host, the method comprising:
  • the first data write request includes a first to-be-written data and a first logical address corresponding to the first to-be-written data
  • the method further includes:
  • the second data write request includes the second to-be-written data and the second logical address corresponding to the second to-be-written data;
  • the second to-be-written data is stored according to a physical address allocated for the second logical address.
  • the second to be written according to the physical address allocated for the second logical address Before the data is stored also includes:
  • the step of storing the second data to be written is performed according to the physical address assigned to the second logical address.
  • the present invention provides a method for converging a SAN and a NAS storage architecture in a storage system, the storage system being configured to provide a service to a network host, the method comprising:
  • the data write request is sent by a network host connected by a physical connection mode of the SAN, determining a physical address corresponding to the logical address according to the correspondence between the logical address and the physical address, and according to the logic a physical address corresponding to the address, and storing the data to be written;
  • the data write request is sent by a network host connected by using a physical connection mode of the NAS, assign a corresponding physical address to the logical address, and write the to-be-written according to the physical address assigned to the logical address. Into the data for storage.
  • the method before the storing the data to be written according to the physical address allocated for the logical address, the method further includes:
  • the present invention provides a device for converging a SAN and a NAS storage architecture in a storage system, the storage system is configured to provide a service to a network host, and the device is a storage system, and the device includes:
  • a SAN module configured to receive a first data write request sent by a network host connected by a physical connection manner of the SAN, where the first data write request includes the first data to be written and a first logical address corresponding to the first to-be-written data;
  • the copy-on-write COW module is configured to determine a physical address corresponding to the first logical address according to the correspondence between the first logical address and the physical address;
  • a writing module configured to store the first to-be-written data according to a physical address corresponding to the first logical address.
  • the device further includes:
  • a NAS module configured to receive a second data write request sent by a network host connected by a physical connection manner of the NAS; the second data write request includes a second to-be-written data and a second corresponding to the second to-be-written data Two logical addresses;
  • Redirecting a write ROW module configured to allocate a corresponding physical address to the second logical address
  • the writing module is further configured to store the second to-be-written data according to a physical address allocated for the second logical address.
  • the ROW module is further configured to:
  • the present invention provides an apparatus for converging a SAN and a NAS storage architecture, the storage system for providing a service to a network host, the apparatus comprising:
  • a receiving module configured to receive a data write request, where the data write request includes a data to be written and a logical address corresponding to the data to be written;
  • a processing module configured to determine whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS; if the data write request is by using a SAN
  • the physical address corresponding to the logical address is determined according to the correspondence between the logical address and the physical address, and corresponding to the logical address.
  • a physical address the data to be written is stored; if the data write request is sent by a network host connected by a physical connection mode of the NAS, the logical address is assigned a corresponding physical address, and The physical address assigned by the logical address stores the data to be written.
  • the processing module is further configured to:
  • the present invention provides an apparatus for converging a SAN and a NAS storage architecture in a storage system, where the storage system is configured to provide a service to a network host, and the apparatus includes:
  • a communication interface configured to receive a first data write request sent by a network host connected by a physical connection manner of the SAN; the first data write request includes a first to-be-written data and a first corresponding to the first to-be-written data a logical address;
  • a processor configured to determine, according to the correspondence between the first logical address and the physical address, a physical address corresponding to the first logical address, and according to the physical address corresponding to the first logical address, to the first The data to be written is stored.
  • the communication interface is further configured to:
  • the second data write request includes the second to-be-written data and the second logical address corresponding to the second to-be-written data;
  • the processor is further configured to:
  • the processor is further configured to:
  • the present invention provides an apparatus for converging a SAN and a NAS storage architecture in a storage system, where the storage system is configured to provide a service to a network host, and the apparatus includes:
  • the communication interface is connected to the network through a physical connection manner of the SAN and a physical connection manner of the NAS, and is configured to receive a data write request, where the data write request includes a to-be-written data and a logical address corresponding to the to-be-written data; And determining whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS; if the data write request is by using a SAN When the network host connected to the physical connection is sent, the physical address corresponding to the logical address is determined according to the correspondence between the logical address and the physical address, and the to-be-written is performed according to the physical address corresponding to the logical address.
  • the processor is further configured to:
  • the present invention provides a method and an apparatus for converging a SAN and a NAS storage architecture in a storage system, by determining a physical address corresponding to the first logical address according to a correspondence between the first logical address and a physical address;
  • the write request is mainly a SAN storage architecture for the data write request of the "overwrite write" mode.
  • Corresponding relationship between the address and the physical address determining a physical address corresponding to the first logical address; avoiding the first logic when receiving the first data write request The physical address corresponding to the address allocation, and the process of releasing the space corresponding to the physical address allocated for the first logical address; improving the storage efficiency of the SAN storage architecture.
  • FIG. 1 is a schematic diagram of an application scenario of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention
  • FIG. 2A is a schematic structural view 1 of a storage system of the present invention.
  • FIG. 2B is a second schematic structural diagram of a storage system according to the present invention.
  • Embodiment 3 is a flowchart of Embodiment 1 of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention
  • Embodiment 4 is a flowchart of Embodiment 2 of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention
  • Embodiment 1 is a schematic structural diagram of Embodiment 1 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention
  • Embodiment 7 is a schematic structural diagram of Embodiment 2 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention
  • Embodiment 8 is a schematic structural diagram of Embodiment 3 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention
  • FIG. 9 is a schematic structural diagram of Embodiment 4 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention.
  • FIG. 1 is a schematic diagram of an application scenario of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention
  • a storage system and a network host 1 are connected by a physical connection manner of a NAS storage architecture
  • a storage system and a network Host 2 is connected by a physical connection of the SAN storage architecture.
  • the same storage system can implement a SAN storage architecture based on high-speed data transmission and a NAS storage architecture for file sharing between multiple hosts.
  • the network host 2 and the storage system can be interconnected through an Internet Protocol (IP) network or a Fibre Channel (FC) network, and based on the Internet Small Computer Interface (iSCSI, Internet SCSI). Protocol or FC protocol interaction; in the NAS architecture, the network host 1 and the storage system are connected by an IP network, and based on a Common Internet File System (CIFS) protocol or a Network File System (NFS) protocol. Interact.
  • IP Internet Protocol
  • FC Fibre Channel
  • iSCSI Internet Small Computer Interface
  • FC Internet SCSI
  • the processing method adopted by the storage system is: firstly The logical address corresponding to the data to be written is assigned a corresponding physical address; then, it is determined whether the allocated physical address is previously allocated to another logical address, and if so, the space corresponding to the physical address is released; The write data is stored in the physical address corresponding to the logical address corresponding to the data to be written. However, if the physical address corresponding to the logical address is first allocated, and then the space corresponding to the physical address is released, the processing method of storing the data to be written has a problem that the storage efficiency of the SAN storage architecture is low. .
  • FIG. 2A is a schematic structural diagram 1 of a storage system according to the present invention.
  • the storage system includes: an IP interface, a storage processor, and a serial SCSI. (SAS interface, Serial Attached SCSI) and hard disk.
  • the IP interface is connected to the network through the physical connection mode of the SAN and the physical connection mode of the NAS, and is used for receiving a data write request; the hard disk is used to store data; and the storage processor is configured to receive a data write request according to the IP interface through the SAS.
  • the interface writes data to the hard disk.
  • the storage system includes: an IP interface, an FC interface, a storage processor, a serial SCSI, and a hard disk.
  • the IP interface is connected to the network through the physical connection mode of the NAS, and is used for receiving a data write request.
  • the FC interface is used to connect to the network through a physical connection manner of the SAN, and is used for receiving a data write request; the hard disk is used for storing Data; the storage processor is configured to write data to the hard disk through the SAS interface according to the data write request received by the IP interface and the FC interface.
  • the hard disk in FIG. 2A and FIG. 2B is used as a storage unit for storing data; the hard disk in FIG. 2A and FIG. 2B may also be replaced with other storage devices; and the corresponding interface between the storage device and the storage processor is also A corresponding change should occur.
  • Embodiment 3 is a flowchart of Embodiment 1 of a method for merging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 3, the method in this embodiment may include:
  • Step 301 The storage system receives a first data write request sent by a network host connected by a physical connection manner of the SAN, where the first data write request includes a first to-be-written data and a first corresponding to the first to-be-written data. a logical address;
  • Step 302 The storage system determines a physical address corresponding to the first logical address according to a correspondence between the first logical address and a physical address.
  • Step 303 The storage system stores the first to-be-written data according to a physical address corresponding to the first logical address.
  • the storing, by the physical address corresponding to the first logical address, the first to-be-written data may be: the physics corresponding to the processor in the storage system according to the first logical address.
  • the write data is stored; since the SAN storage architecture is usually used to store structured data (for example, a database), its data write request is mainly a data write request of "overwrite write" mode, so it is stored for SAN.
  • the architecture allocates a corresponding physical address to the logical address for each data write request, and the storage efficiency of the SAN storage architecture is low.
  • the first data write request sent by the network host connected by using the physical connection mode of the SAN includes the first data to be written and the first data to be written a first logical address; determining, according to a correspondence between the first logical address and the physical address, a physical address corresponding to the first logical address; and causing a SAN write request for a data write request that is mainly an "overwrite write" mode for a data write request
  • the storage system can determine the first logical address corresponding to the first logical address by directly corresponding to the first logical address and the physical address when the storage system receives the first data write request sent by the network host connected by the physical connection mode of the SAN.
  • the physical address processing is a data write request sent by a network host connected by a physical connection mode of the SAN (that is, the storage system adopts copy-on-write (COW); avoiding when receiving the first data write request
  • the first logical address is assigned a corresponding physical address, and the space corresponding to the physical address assigned to the first logical address is released Processing of the release; improving the storage efficiency of the SAN storage architecture.
  • the content corresponding to the logical address in the data write request of the "overwrite write" mode is continuously updated; therefore, the present invention is based on the logical address and the physical address.
  • the correspondence determines the physical address of the data to be stored, and improves the storage efficiency of the SAN storage architecture while ensuring proper storage of the data to be stored.
  • Embodiment 4 is a flowchart of Embodiment 2 of a method for merging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 4, the embodiment may further include:
  • Step 401 The storage system receives a second data write request sent by a network host connected by a physical connection mode of the NAS, where the second data write request includes a second to-be-written data and the second to-be-written data. Second logical address;
  • step 401 there is no order between step 401 and step 301.
  • Step 402 The storage system allocates a corresponding physical location to the second logical address. site;
  • Step 403 The storage system determines whether a physical address allocated by the second logical address is allocated to another logical address.
  • step 404 If yes, go to step 404; otherwise, go to step 405;
  • Step 404 The storage system releases a space corresponding to a physical address allocated for the second logical address.
  • step 405 is performed.
  • Step 405 The storage system stores the second to-be-written data according to a physical address allocated for the second logical address.
  • the data write request of the NAS storage architecture is mainly a data write request of the “new write” mode; in this embodiment, the second data write request sent by the network host connected by using the physical connection mode of the NAS is received;
  • the second data write request includes a second logical address to be written and a second logical address corresponding to the second to-be-written data; and a physical connection using the NAS is processed by assigning a corresponding physical address to the second logical address.
  • the data write request sent by the connected network host that is, the storage system adopts ROW (Redirect-on-write); the NAS storage architecture that makes the data write request mainly for the "rewrite" mode data write request.
  • the storage system can allocate a corresponding physical address to the second logical address when receiving the second data write request sent by the network host connected by the physical connection mode of the NAS.
  • the application scenarios corresponding to the SAN and the NAS are implemented, and the corresponding processing method is adopted (that is, the COW processing method adopted for the SAN is adopted for the NAS. ROW is handled).
  • FIG. 5 is a flowchart of Embodiment 3 of a method for merging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 5, the method in this embodiment may include:
  • Step 501 The storage system receives a data write request, where the data write request includes a to-be-written data and a logical address corresponding to the to-be-written data.
  • Step 502 The storage system determines whether the data write request is sent by a network host connected by a physical connection mode of the SAN or by a network host connected by a physical connection mode of the NAS;
  • Step 503 If the data write request is sent by a network host connected by using a physical connection mode of the SAN, the storage system determines the physics corresponding to the logical address according to the correspondence between the logical address and the physical address. Addressing, and storing the data to be written according to the physical address corresponding to the logical address; if the data write request is sent by a network host connected by a physical connection mode of the NAS, the storage system is The logical address allocates a corresponding physical address, and stores the to-be-written data according to a physical address allocated for the logical address.
  • the storing the data to be written according to the physical address allocated to the logical address may further include:
  • the data write request is sent by a network host connected by using a physical connection mode of the SAN, determining the physics corresponding to the logical address according to the correspondence between the logical address and the physical address. Addressing, and storing the data to be written according to the physical address corresponding to the logical address; if the data write request is sent by a network host connected by a physical connection mode of the NAS, the logical address is Allocating a corresponding physical address, and storing the data to be written according to a physical address allocated for the logical address; so that the type of the data write request is mainly The SAN storage architecture is overwritten.
  • the storage system When the storage system receives a data write request sent by a network host connected by a physical connection mode of the SAN, the storage system can directly determine the physical address corresponding to the logical address by the correspondence between the logical address and the physical address.
  • the way to handle the data write request sent by the network host connected by the physical connection mode of the SAN that is, the storage system adopts copy-on-write (COW); avoids the logical address when receiving the data write request.
  • COW copy-on-write
  • the present invention determines the physical address of the data to be stored according to the correspondence between the logical address and the physical address, and can improve the storage efficiency of the SAN storage architecture while ensuring proper storage of the data to be stored.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of a device for merging a SAN and a NAS storage architecture in a storage system according to the present invention.
  • the device in this embodiment may include: a SAN module 601, a COW module 602, and a write module 603.
  • the SAN module 601 is configured to receive a first data write request sent by a network host connected by using a physical connection manner of the SAN, where the first data write request includes the first data to be written and the first data to be written.
  • the COW module 602 is configured to determine a physical address corresponding to the first logical address according to a correspondence between the first logical address and a physical address; and a writing module 603, configured to The physical address corresponding to the first logical address stores the first to-be-written data.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of an apparatus for merging a SAN and a NAS storage architecture in a storage system according to the present invention; as shown in FIG. 7, the apparatus of this embodiment is further based on the apparatus structure shown in FIG. Including: NAS module 604 and ROW module 605.
  • the NAS module 604 is configured to receive a second data write request sent by a network host connected by using a physical connection manner of the NAS, where the second data write request includes second to-be-written data and the second to-be-written data.
  • the ROW module 605 is further configured to: determine whether a physical address allocated to the second logical address is allocated to another logical address; if yes, corresponding to a physical address allocated for the second logical address Space is released.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of Embodiment 3 of a device for converging a SAN and a NAS storage architecture in a storage system according to the present invention.
  • the device in this embodiment may include: a receiving module 801 and a processing module 802.
  • the receiving module 801 is configured to receive a data write request, where the data write request includes a logical address corresponding to the data to be written and the data to be written, and the processing module 802 is configured to determine that the data write request is used.
  • the network host connected to the physical connection mode of the SAN is sent by the network host connected by the physical connection mode of the NAS; if the data write request is sent by the network host connected by the physical connection mode of the SAN, Corresponding relationship between the logical address and the physical address, determining a physical address corresponding to the logical address, and storing the data to be written according to the physical address corresponding to the logical address; if the data write request is When the network host connected by the physical connection mode of the NAS is sent, the logical address is assigned a corresponding physical address, and the data to be written is stored according to the physical address allocated for the logical address.
  • the processing module 802 is further configured to: determine whether a physical address allocated to the logical address is allocated to another logical address; if yes, release a space corresponding to the physical address allocated for the logical address.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of Embodiment 4 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention.
  • the apparatus in this embodiment may include: a communication interface 901 and a processor 902.
  • the communication interface 901 is configured to receive a first data write request sent by a network host connected by a physical connection manner of the SAN; the first data write The request includes a first to-be-written data and a first logical address corresponding to the first to-be-written data; the processor 902, configured to determine, according to the correspondence between the first logical address and the physical address, the first a physical address corresponding to the logical address; storing the first to-be-written data according to the physical address corresponding to the first logical address.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the communication interface 901 is further configured to receive a second data write request sent by a network host connected by using a physical connection manner of the NAS; the second data write request includes a second to-be-written data and the second to-be-written request Write a second logical address corresponding to the data; the processor 902 is further configured to allocate a corresponding physical address to the second logical address; and to read the second to be written according to the physical address allocated for the second logical address Into the data for storage.
  • the processor 902 is further configured to: determine whether a physical address allocated to the second logical address is assigned to another logical address; if yes, corresponding to a physical address allocated for the second logical address Space is released.
  • the communication interface 901 can be the IP interface in FIG. 2A, and the processor 902 can be the storage processor in FIG. 2A; or the communication interface 901 can be the IP interface and the FC interface in FIG. 2B, and the processor 902 It can be the memory processor in Figure 2B.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3 and FIG. 4, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the structure of the apparatus of this embodiment is the same as that shown in FIG. 9, and also includes a communication interface and a processor.
  • the communication interface is connected to the network through a physical connection manner of the SAN and a physical connection manner of the NAS, and is configured to receive a data write request, where the data write request includes a to-be-written data and a logical address corresponding to the to-be-written data.
  • a processor configured to determine whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS; if the data write request is adopted by When the network host connected to the physical connection mode of the SAN is sent, the physical address corresponding to the logical address is determined according to the correspondence between the logical address and the physical address, and the physical address corresponding to the logical address is used. Wait Write data for storage; if the data write request is sent by a network host connected by a physical connection mode of the NAS, assign a corresponding physical address to the logical address, and according to the physical address allocated for the logical address And storing the data to be written.
  • the processor is further configured to: determine whether a physical address allocated to the logical address is allocated to another logical address; if yes, release a space corresponding to the physical address allocated for the logical address.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

Provided in an embodiment of the present invention are a method and apparatus for fusing SAN (Storage Area Network) and NAS (Network Attached Storage) storage architectures in a storage system. The method for fusing SAN and NAS storage architectures in a storage system comprises: receiving a first data writing request sent by a network host connected by means of SAN physical connection; the first data writing request comprising first data to be written and a first logic address corresponding to the first data to be written; determining a physical address corresponding to the first logic address according to a corresponding relationship between the first logic address and the physical address; and storing the first data to be written according to the physical address corresponding to the first logic address. The present invention solves the problem in the prior art that there is a relatively low storage efficiency of the SAN storage architecture in the storage system.

Description

存储系统中融合SAN及NAS存储架构的方法及装置Method and device for integrating SAN and NAS storage architecture in storage system 技术领域Technical field
本发明实施例涉及存储技术,尤其涉及一种存储系统中融合SAN及NAS存储架构的方法及装置。Embodiments of the present invention relate to a storage technology, and in particular, to a method and an apparatus for converging a SAN and a NAS storage architecture in a storage system.
背景技术Background technique
目前,已将网络附加存储器(NAS:Network Attached Storage)和存储区域网(SAN:Storage Area Network)两种存储架构融合为一体。这样同一存储系统就可以实现基于高速数据传输的SAN存储架构、以及多台网络主机之间文件共享的NAS存储架构。At present, network storage storage (NAS: Network Attached Storage) and storage area network (SAN: Storage Area Network) storage architecture have been integrated. In this way, the same storage system can realize a SAN storage architecture based on high-speed data transmission and a NAS storage architecture for file sharing between multiple network hosts.
现有技术中,对于融合SAN及NAS两种存储架构的存储系统,当存储系统接收到采用NAS或SAN的物理连接方式相连的网络主机发送的数据写请求(该写请求包括待写入数据及该待写入数据对应的逻辑地址)时:存储系统首先为该待写入数据对应的逻辑地址分配对应的物理地址;然后确定所分配的物理地址之前是否被分配给其他的逻辑地址,若是,则对该物理地址对应的空间进行释放;最后再将该待写入数据存储至该待写入数据对应的逻辑地址所对应的物理地址中。In the prior art, for a storage system that combines two SAN and NAS storage architectures, when the storage system receives a data write request sent by a network host connected by a physical connection manner of a NAS or a SAN (the write request includes data to be written and When the logical address corresponding to the data to be written is): the storage system first allocates a corresponding physical address for the logical address corresponding to the data to be written; and then determines whether the allocated physical address is previously assigned to another logical address, and if so, Then, the space corresponding to the physical address is released; finally, the data to be written is stored in the physical address corresponding to the logical address corresponding to the data to be written.
但是,现有技术中SAN存储架构下进行存储时需要分配物理地址、以及对物理地址对应的空间进行释放的处理;因此存在存储系统中SAN存储架构的存储效率较低的问题。However, in the prior art, when the SAN storage architecture performs storage, it is required to allocate a physical address and release the space corresponding to the physical address; therefore, there is a problem that the storage efficiency of the SAN storage architecture in the storage system is low.
发明内容Summary of the invention
本发明实施例提供一种存储系统中融合SAN及NAS存储架构的方法及装置,用以解决现有技术中存在的存储系统中SAN存储架构 的存储效率较低的问题。The embodiment of the invention provides a method and a device for converging a SAN and a NAS storage architecture in a storage system, which are used to solve the SAN storage architecture in the storage system existing in the prior art. The problem of low storage efficiency.
第一方面,本发明提供一种存储系统中融合SAN及NAS存储架构的方法,所述存储系统用于向网络主机提供服务,所述方法包括:In a first aspect, the present invention provides a method for converging a SAN and a NAS storage architecture in a storage system, the storage system being configured to provide a service to a network host, the method comprising:
接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求;所述第一数据写请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;Receiving a first data write request sent by a network host connected by a physical connection manner of the SAN; the first data write request includes a first to-be-written data and a first logical address corresponding to the first to-be-written data;
根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;Determining, according to the correspondence between the first logical address and the physical address, a physical address corresponding to the first logical address;
根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。And storing the first to-be-written data according to the physical address corresponding to the first logical address.
结合第一方面,在第一方面的第一种可能实现的方式中,所述根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储之后,还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, after the storing the first to-be-written data according to the physical address corresponding to the first logical address, the method further includes:
接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;Receiving a second data write request sent by the network host connected by the physical connection mode of the NAS; the second data write request includes the second to-be-written data and the second logical address corresponding to the second to-be-written data;
为所述第二逻辑地址分配对应的物理地址;Allocating a corresponding physical address to the second logical address;
根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。The second to-be-written data is stored according to a physical address allocated for the second logical address.
结合第一方面的第一种可能实现的方式,在第一方面的第二种可能实现的方式中,所述根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储之前,还包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the second to be written according to the physical address allocated for the second logical address Before the data is stored, it also includes:
判断为所述第二逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the second logical address is assigned to another logical address;
若是,则对为所述第二逻辑地址分配的物理地址所对应的空间进行释放之后,再执行根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储的步骤;If yes, after the space corresponding to the physical address allocated for the second logical address is released, the second to-be-written data is stored according to the physical address allocated for the second logical address. step;
否则,直接执行根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储的步骤。 Otherwise, the step of storing the second data to be written is performed according to the physical address assigned to the second logical address.
第二方面,本发明提供一种存储系统中融合SAN及NAS存储架构的方法,所述存储系统用于向网络主机提供服务,所述方法包括:In a second aspect, the present invention provides a method for converging a SAN and a NAS storage architecture in a storage system, the storage system being configured to provide a service to a network host, the method comprising:
接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;Receiving a data write request, where the data write request includes a data to be written and a logical address corresponding to the data to be written;
确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的;Determining whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS;
若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待写入数据进行存储;If the data write request is sent by a network host connected by a physical connection mode of the SAN, determining a physical address corresponding to the logical address according to the correspondence between the logical address and the physical address, and according to the logic a physical address corresponding to the address, and storing the data to be written;
若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。If the data write request is sent by a network host connected by using a physical connection mode of the NAS, assign a corresponding physical address to the logical address, and write the to-be-written according to the physical address assigned to the logical address. Into the data for storage.
结合第二方面,在第二方面的第一种可能实现的方式中,所述根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储之前,还包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, before the storing the data to be written according to the physical address allocated for the logical address, the method further includes:
判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the logical address is assigned to another logical address;
若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放之后,再执行根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储的步骤;If yes, after the space corresponding to the physical address allocated to the logical address is released, the step of storing the data to be written according to the physical address allocated for the logical address is performed;
否则,直接执行根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储的步骤。Otherwise, the step of storing the data to be written according to the physical address assigned to the logical address is directly performed.
第三方面,本发明提供一种存储系统中融合SAN及NAS存储架构的装置,所述存储系统用于向网络主机提供服务,所述装置为存储系统,所述装置包括:In a third aspect, the present invention provides a device for converging a SAN and a NAS storage architecture in a storage system, the storage system is configured to provide a service to a network host, and the device is a storage system, and the device includes:
SAN模块,用于接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求;所述第一数据写请求包括第一待写入数据及 所述第一待写入数据对应的第一逻辑地址;a SAN module, configured to receive a first data write request sent by a network host connected by a physical connection manner of the SAN, where the first data write request includes the first data to be written and a first logical address corresponding to the first to-be-written data;
写时拷贝COW模块,用于根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;The copy-on-write COW module is configured to determine a physical address corresponding to the first logical address according to the correspondence between the first logical address and the physical address;
写入模块,用于根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。And a writing module, configured to store the first to-be-written data according to a physical address corresponding to the first logical address.
结合第三方面,在第三方面的第一种可能实现的方式中,所述装置还包括:In conjunction with the third aspect, in a first possible implementation manner of the third aspect, the device further includes:
NAS模块,用于接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;a NAS module, configured to receive a second data write request sent by a network host connected by a physical connection manner of the NAS; the second data write request includes a second to-be-written data and a second corresponding to the second to-be-written data Two logical addresses;
重定向写ROW模块,用于为所述第二逻辑地址分配对应的物理地址;Redirecting a write ROW module, configured to allocate a corresponding physical address to the second logical address;
所述写入模块,还用于根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。The writing module is further configured to store the second to-be-written data according to a physical address allocated for the second logical address.
结合第三方面的第一种可能实现的方式,在第三方面的第二种可能实现的方式中,所述ROW模块还用于:In conjunction with the first possible implementation of the third aspect, in a second possible implementation manner of the third aspect, the ROW module is further configured to:
判断为所述第二逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the second logical address is assigned to another logical address;
若是,则对为所述第二逻辑地址分配的物理地址所对应的空间进行释放。If yes, the space corresponding to the physical address allocated for the second logical address is released.
第四方面,本发明提供一种融合SAN及NAS存储架构的装置,所述存储系统用于向网络主机提供服务,所述装置包括:In a fourth aspect, the present invention provides an apparatus for converging a SAN and a NAS storage architecture, the storage system for providing a service to a network host, the apparatus comprising:
接收模块,用于接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;a receiving module, configured to receive a data write request, where the data write request includes a data to be written and a logical address corresponding to the data to be written;
处理模块,用于确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的;若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应 的物理地址,对所述待写入数据进行存储;若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。a processing module, configured to determine whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS; if the data write request is by using a SAN When the network host connected to the physical connection is sent, the physical address corresponding to the logical address is determined according to the correspondence between the logical address and the physical address, and corresponding to the logical address. a physical address, the data to be written is stored; if the data write request is sent by a network host connected by a physical connection mode of the NAS, the logical address is assigned a corresponding physical address, and The physical address assigned by the logical address stores the data to be written.
结合第四方面,在第四方面的第一种可能实现的方式中,所述处理模块还用于:In conjunction with the fourth aspect, in a first possible implementation manner of the fourth aspect, the processing module is further configured to:
判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the logical address is assigned to another logical address;
若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放。If so, the space corresponding to the physical address assigned to the logical address is released.
第五方面,本发明提供一种存储系统中融合SAN及NAS存储架构的装置,所述存储系统用于向网络主机提供服务,所述装置包括:In a fifth aspect, the present invention provides an apparatus for converging a SAN and a NAS storage architecture in a storage system, where the storage system is configured to provide a service to a network host, and the apparatus includes:
通信接口,用于接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求;所述第一数据写请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;a communication interface, configured to receive a first data write request sent by a network host connected by a physical connection manner of the SAN; the first data write request includes a first to-be-written data and a first corresponding to the first to-be-written data a logical address;
处理器,用于根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址,并根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。a processor, configured to determine, according to the correspondence between the first logical address and the physical address, a physical address corresponding to the first logical address, and according to the physical address corresponding to the first logical address, to the first The data to be written is stored.
结合第五方面,在第五方面的第一种可能实现的方式中,所述通信接口还用于:In conjunction with the fifth aspect, in a first possible implementation manner of the fifth aspect, the communication interface is further configured to:
接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;Receiving a second data write request sent by the network host connected by the physical connection mode of the NAS; the second data write request includes the second to-be-written data and the second logical address corresponding to the second to-be-written data;
所述处理器还用于:The processor is further configured to:
为所述第二逻辑地址分配对应的物理地址,并根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。Allocating a corresponding physical address for the second logical address, and storing the second to-be-written data according to the physical address allocated for the second logical address.
结合第五方面的第一种可能实现的方式,在第五方面的第二种可能实现的方式中,所述处理器还用于:With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the processor is further configured to:
判断为所述第二逻辑地址分配的物理地址是否被分配给其他的 逻辑地址;Determining whether the physical address assigned to the second logical address is assigned to another Logical address
若是,则对为所述第二逻辑地址分配的物理地址所对应的空间进行释放。If yes, the space corresponding to the physical address allocated for the second logical address is released.
第六方面,本发明提供一种存储系统中融合SAN及NAS存储架构的装置,所述存储系统用于向网络主机提供服务,所述装置包括:In a sixth aspect, the present invention provides an apparatus for converging a SAN and a NAS storage architecture in a storage system, where the storage system is configured to provide a service to a network host, and the apparatus includes:
通信接口,通过SAN的物理连接方式以及NAS的物理连接方式与网络相连接,用于接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;处理器,用于确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的;若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待写入数据进行存储;若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。The communication interface is connected to the network through a physical connection manner of the SAN and a physical connection manner of the NAS, and is configured to receive a data write request, where the data write request includes a to-be-written data and a logical address corresponding to the to-be-written data; And determining whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS; if the data write request is by using a SAN When the network host connected to the physical connection is sent, the physical address corresponding to the logical address is determined according to the correspondence between the logical address and the physical address, and the to-be-written is performed according to the physical address corresponding to the logical address. Entering data for storage; if the data write request is sent by a network host connected by a physical connection mode of the NAS, assigning a corresponding physical address to the logical address, and according to the physical address allocated for the logical address, The data to be written is stored.
结合第六方面,在第六方面的第一种可能实现的方式中,所述处理器还用于:In conjunction with the sixth aspect, in a first possible implementation manner of the sixth aspect, the processor is further configured to:
判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the logical address is assigned to another logical address;
若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放。If so, the space corresponding to the physical address assigned to the logical address is released.
本发明提供一种存储系统中融合SAN及NAS存储架构的方法及装置,通过根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;使得对于数据写请求主要为“覆盖写”方式的数据写请求的SAN存储架构,存储系统在接收到采用SAN的物理连接方式相连的网络主机发送的第一数据写请求时,存储系统可以直接通过第一逻辑地址与物理地址的对应关系,确定与第一逻辑地址对应的物理地址;避免了在接收到第一数据写请求时为第一逻辑 地址分配对应的物理地址,及对为第一逻辑地址分配的物理地址对应的空间进行释放的处理;提高了SAN存储架构的存储效率。The present invention provides a method and an apparatus for converging a SAN and a NAS storage architecture in a storage system, by determining a physical address corresponding to the first logical address according to a correspondence between the first logical address and a physical address; The write request is mainly a SAN storage architecture for the data write request of the "overwrite write" mode. When the storage system receives the first data write request sent by the network host connected by the physical connection mode of the SAN, the storage system can directly pass the first logic. Corresponding relationship between the address and the physical address, determining a physical address corresponding to the first logical address; avoiding the first logic when receiving the first data write request The physical address corresponding to the address allocation, and the process of releasing the space corresponding to the physical address allocated for the first logical address; improving the storage efficiency of the SAN storage architecture.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为本发明存储系统中融合SAN及NAS存储架构的方法的应用场景示意图;1 is a schematic diagram of an application scenario of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention;
图2A为本发明存储系统的结构示意图一;2A is a schematic structural view 1 of a storage system of the present invention;
图2B为本发明存储系统的结构示意图二;2B is a second schematic structural diagram of a storage system according to the present invention;
图3为本发明存储系统中融合SAN及NAS存储架构的方法实施例一的流程图;3 is a flowchart of Embodiment 1 of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention;
图4为本发明存储系统中融合SAN及NAS存储架构的方法实施例二的流程图;4 is a flowchart of Embodiment 2 of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention;
图5为本发明存储系统中融合SAN及NAS存储架构的方法实施例三的流程图;5 is a flowchart of Embodiment 3 of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention;
图6为本发明存储系统中融合SAN及NAS存储架构的装置实施例一的结构示意图;6 is a schematic structural diagram of Embodiment 1 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention;
图7为本发明存储系统中融合SAN及NAS存储架构的装置实施例二的结构示意图;7 is a schematic structural diagram of Embodiment 2 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention;
图8为本发明存储系统中融合SAN及NAS存储架构的装置实施例三的结构示意图;8 is a schematic structural diagram of Embodiment 3 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention;
图9为本发明存储系统中融合SAN及NAS存储架构的装置实施例四的结构示意图。FIG. 9 is a schematic structural diagram of Embodiment 4 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention.
具体实施方式 detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1为本发明存储系统中融合SAN及NAS存储架构的方法的应用场景示意图;如图1所示,存储系统与网络主机1之间,采用NAS存储架构的物理连接方式相连;存储系统与网络主机2之间,采用SAN存储架构的物理连接方式相连。这样,同一存储系统就可以实现基于高速数据传输的SAN存储架构、以及多台主机之间文件共享的NAS存储架构。在SAN存储架构中,网络主机2和存储系统之间可以通过互联网协议(IP,Internet Protocol)网络或光纤通道(FC,Fibre Channel)网络互连,并基于因特网小型计算机接口(iSCSI,internet SCSI)协议或FC协议交互;在NAS架构中,网络主机1和存储系统之间通过IP网络相连,并基于公共因特网系统(CIFS,Common Internet File System)协议或网络文件系统(NFS,Network File System)协议进行交互。1 is a schematic diagram of an application scenario of a method for converging a SAN and a NAS storage architecture in a storage system according to the present invention; as shown in FIG. 1 , a storage system and a network host 1 are connected by a physical connection manner of a NAS storage architecture; a storage system and a network; Host 2 is connected by a physical connection of the SAN storage architecture. In this way, the same storage system can implement a SAN storage architecture based on high-speed data transmission and a NAS storage architecture for file sharing between multiple hosts. In the SAN storage architecture, the network host 2 and the storage system can be interconnected through an Internet Protocol (IP) network or a Fibre Channel (FC) network, and based on the Internet Small Computer Interface (iSCSI, Internet SCSI). Protocol or FC protocol interaction; in the NAS architecture, the network host 1 and the storage system are connected by an IP network, and based on a Common Internet File System (CIFS) protocol or a Network File System (NFS) protocol. Interact.
当存储系统接收到网络主机1或网络主机2发送的数据写请求(该写请求包括待写入数据及该待写入数据对应的逻辑地址)时,存储系统采用的处理方式都为:首先为该待写入数据对应的逻辑地址分配对应的物理地址;然后确定所分配的物理地址之前是否被分配给其他的逻辑地址,若是,则对该物理地址对应的空间进行释放;最后再将该待写入数据存储至该待写入数据对应的逻辑地址所对应的物理地址中。但是,采用上述先为逻辑地址分配对应的物理地址,再在确定该物理地址所对应的空间已释放的前提下,对待写入数据进行存储的处理方式,存在SAN存储架构存储效率较低的问题。When the storage system receives the data write request sent by the network host 1 or the network host 2 (the write request includes the data to be written and the logical address corresponding to the data to be written), the processing method adopted by the storage system is: firstly The logical address corresponding to the data to be written is assigned a corresponding physical address; then, it is determined whether the allocated physical address is previously allocated to another logical address, and if so, the space corresponding to the physical address is released; The write data is stored in the physical address corresponding to the logical address corresponding to the data to be written. However, if the physical address corresponding to the logical address is first allocated, and then the space corresponding to the physical address is released, the processing method of storing the data to be written has a problem that the storage efficiency of the SAN storage architecture is low. .
图2A为本发明存储系统的结构示意图一,如图2A所示,存储系统包括:IP接口、存储处理器(storage processor)、序列式SCSI (SAS接口,Serial Attached SCSI)及硬盘。其中,IP接口,通过SAN的物理连接方式以及NAS的物理连接方式与网络相连接,用于接收数据写请求;硬盘用于存储数据;存储处理器用于根据IP接口接收到的数据写请求通过SAS接口向硬盘写入数据。2A is a schematic structural diagram 1 of a storage system according to the present invention. As shown in FIG. 2A, the storage system includes: an IP interface, a storage processor, and a serial SCSI. (SAS interface, Serial Attached SCSI) and hard disk. The IP interface is connected to the network through the physical connection mode of the SAN and the physical connection mode of the NAS, and is used for receiving a data write request; the hard disk is used to store data; and the storage processor is configured to receive a data write request according to the IP interface through the SAS. The interface writes data to the hard disk.
图2B为本发明存储系统的结构示意图二,如图2B所示,存储系统包括:IP接口、FC接口、存储处理器、序列式SCSI及硬盘。其中,IP接口,通过NAS的物理连接方式与网络相连接,用于接收数据写请求;FC接口,用于通过SAN的物理连接方式与网络相连接,用于接收数据写请求;硬盘用于存储数据;存储处理器用于根据IP接口及FC接口接收到的数据写请求通过SAS接口向硬盘写入数据。2B is a schematic structural diagram 2 of the storage system of the present invention. As shown in FIG. 2B, the storage system includes: an IP interface, an FC interface, a storage processor, a serial SCSI, and a hard disk. The IP interface is connected to the network through the physical connection mode of the NAS, and is used for receiving a data write request. The FC interface is used to connect to the network through a physical connection manner of the SAN, and is used for receiving a data write request; the hard disk is used for storing Data; the storage processor is configured to write data to the hard disk through the SAS interface according to the data write request received by the IP interface and the FC interface.
需要说明是,图2A及图2B中的硬盘作为存储单元使用,用于存储数据;图2A及图2B中的硬盘也可以替换为其他存储设备;相应的其与存储处理器之间的接口也应发生相应的改变。It should be noted that the hard disk in FIG. 2A and FIG. 2B is used as a storage unit for storing data; the hard disk in FIG. 2A and FIG. 2B may also be replaced with other storage devices; and the corresponding interface between the storage device and the storage processor is also A corresponding change should occur.
图3为本发明存储系统中融合SAN及NAS存储架构的方法实施例一的流程图,如图3所示,本实施例的方法可以包括:3 is a flowchart of Embodiment 1 of a method for merging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 3, the method in this embodiment may include:
步骤301、存储系统接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求;所述第一数据写请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;Step 301: The storage system receives a first data write request sent by a network host connected by a physical connection manner of the SAN, where the first data write request includes a first to-be-written data and a first corresponding to the first to-be-written data. a logical address;
步骤302、所述存储系统根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;Step 302: The storage system determines a physical address corresponding to the first logical address according to a correspondence between the first logical address and a physical address.
步骤303、所述存储系统根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。Step 303: The storage system stores the first to-be-written data according to a physical address corresponding to the first logical address.
需要说明的是,所述根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储,可以为:存储系统中的处理器根据所述第一逻辑地址对应的物理地址,将所述第一待写入数据写入到存储系统中的存储单元。It should be noted that, the storing, by the physical address corresponding to the first logical address, the first to-be-written data may be: the physics corresponding to the processor in the storage system according to the first logical address. An address that writes the first to-be-written data to a storage unit in the storage system.
现有技术中,在接收到采用SAN(或NAS)的物理连接方式相连的网络主机发送的数据写请求时,需要首先为逻辑地址分配对应的物理地址,再在确定为逻辑地址分配的物理地址所对应的空间已释放 的前提下,对待写入数据进行存储;由于通常情况下SAN存储架构用于保存结构化数据(例如,数据库),其数据写请求主要为“覆盖写”方式的数据写请求,因此针对SAN存储架构,对每次数据写请求都为逻辑地址分配一个对应的物理地址,存在SAN存储架构存储效率较低的问题。In the prior art, when receiving a data write request sent by a network host connected by a physical connection mode of a SAN (or NAS), it is necessary to first assign a corresponding physical address to the logical address, and then determine the physical address assigned to the logical address. The corresponding space has been released On the premise, the write data is stored; since the SAN storage architecture is usually used to store structured data (for example, a database), its data write request is mainly a data write request of "overwrite write" mode, so it is stored for SAN. The architecture allocates a corresponding physical address to the logical address for each data write request, and the storage efficiency of the SAN storage architecture is low.
本发明实施例中,通过接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求,所述第一数据写请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;根据第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;使得对于数据写请求主要为“覆盖写”方式的数据写请求的SAN存储架构,存储系统在接收到采用SAN的物理连接方式相连的网络主机发送的第一数据写请求时,存储系统可以直接通过第一逻辑地址与物理地址的对应关系,确定与第一逻辑地址对应的物理地址处理采用SAN的物理连接方式连接的网络主机发送的数据写请求(也即,存储系统采用写时拷贝(COW,copy-on-write);避免了在接收到第一数据写请求时为第一逻辑地址分配对应的物理地址,及对为第一逻辑地址分配的物理地址所对应的空间进行释放的处理;提高了SAN存储架构的存储效率。同时,由于“覆盖写”方式的数据写请求中的逻辑地址对应的内容是被不断更新的;因此,本发明通过根据逻辑地址与物理地址的对应关系确定待存储数据的物理地址,能够在确保对待存储数据的正确存储的前提下,提高SAN存储架构的存储效率。In the embodiment of the present invention, the first data write request sent by the network host connected by using the physical connection mode of the SAN, the first data write request includes the first data to be written and the first data to be written a first logical address; determining, according to a correspondence between the first logical address and the physical address, a physical address corresponding to the first logical address; and causing a SAN write request for a data write request that is mainly an "overwrite write" mode for a data write request The storage system can determine the first logical address corresponding to the first logical address by directly corresponding to the first logical address and the physical address when the storage system receives the first data write request sent by the network host connected by the physical connection mode of the SAN. The physical address processing is a data write request sent by a network host connected by a physical connection mode of the SAN (that is, the storage system adopts copy-on-write (COW); avoiding when receiving the first data write request The first logical address is assigned a corresponding physical address, and the space corresponding to the physical address assigned to the first logical address is released Processing of the release; improving the storage efficiency of the SAN storage architecture. At the same time, the content corresponding to the logical address in the data write request of the "overwrite write" mode is continuously updated; therefore, the present invention is based on the logical address and the physical address. The correspondence determines the physical address of the data to be stored, and improves the storage efficiency of the SAN storage architecture while ensuring proper storage of the data to be stored.
图4为本发明存储系统中融合SAN及NAS存储架构的方法实施例二的流程图,如图4所示,本实施例在图3所示方法实施例的基础上,还可以包括:4 is a flowchart of Embodiment 2 of a method for merging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 4, the embodiment may further include:
步骤401、所述存储系统接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;Step 401: The storage system receives a second data write request sent by a network host connected by a physical connection mode of the NAS, where the second data write request includes a second to-be-written data and the second to-be-written data. Second logical address;
需要说明的是,步骤401与步骤301之间并没有先后顺序。It should be noted that there is no order between step 401 and step 301.
步骤402、所述存储系统为所述第二逻辑地址分配对应的物理地 址;Step 402: The storage system allocates a corresponding physical location to the second logical address. site;
步骤403、所述存储系统判断为所述第二逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Step 403: The storage system determines whether a physical address allocated by the second logical address is allocated to another logical address.
若是,则执行步骤404;否则,执行步骤405;If yes, go to step 404; otherwise, go to step 405;
步骤404、所述存储系统对为所述第二逻辑地址分配的物理地址所对应的空间进行释放;Step 404: The storage system releases a space corresponding to a physical address allocated for the second logical address.
需要说明的是,步骤404执行完之后执行步骤405。It should be noted that after step 404 is performed, step 405 is performed.
步骤405、所述存储系统根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。Step 405: The storage system stores the second to-be-written data according to a physical address allocated for the second logical address.
现有技术中,NAS存储架构的数据写请求主要为“新增写”方式的数据写请求;本实施例中,通过接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;为所述第二逻辑地址分配对应的物理地址的方式处理采用NAS的物理连接方式连接的网络主机发送的数据写请求(也即,存储系统采用重定向写(ROW,Redirect-on-write);使得对于数据写请求主要为“重新写”方式的数据写请求的NAS存储架构,存储系统在接收到采用NAS的物理连接方式相连的网络主机发送的第二数据写请求时,能够为第二逻辑地址分配对应的物理地址。对于融合SAN及NAS两种存储架构的存储系统,实现了针对SAN及NAS分别对应的应用场景,采用相应的处理方式(也即针对SAN采用的COW处理方式,针对NAS采用ROW的处理方式)。In the prior art, the data write request of the NAS storage architecture is mainly a data write request of the “new write” mode; in this embodiment, the second data write request sent by the network host connected by using the physical connection mode of the NAS is received; The second data write request includes a second logical address to be written and a second logical address corresponding to the second to-be-written data; and a physical connection using the NAS is processed by assigning a corresponding physical address to the second logical address. The data write request sent by the connected network host (that is, the storage system adopts ROW (Redirect-on-write); the NAS storage architecture that makes the data write request mainly for the "rewrite" mode data write request. The storage system can allocate a corresponding physical address to the second logical address when receiving the second data write request sent by the network host connected by the physical connection mode of the NAS. For the storage system that integrates the storage architecture of the SAN and the NAS, The application scenarios corresponding to the SAN and the NAS are implemented, and the corresponding processing method is adopted (that is, the COW processing method adopted for the SAN is adopted for the NAS. ROW is handled).
图5为本发明存储系统中融合SAN及NAS存储架构的方法实施例三的流程图,如图5所示,本实施例的方法可以包括:FIG. 5 is a flowchart of Embodiment 3 of a method for merging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 5, the method in this embodiment may include:
步骤501、存储系统接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;Step 501: The storage system receives a data write request, where the data write request includes a to-be-written data and a logical address corresponding to the to-be-written data.
步骤502、所述存储系统确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的; Step 502: The storage system determines whether the data write request is sent by a network host connected by a physical connection mode of the SAN or by a network host connected by a physical connection mode of the NAS;
步骤503,若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则所述存储系统根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待写入数据进行存储;若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则所述存储系统为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。Step 503: If the data write request is sent by a network host connected by using a physical connection mode of the SAN, the storage system determines the physics corresponding to the logical address according to the correspondence between the logical address and the physical address. Addressing, and storing the data to be written according to the physical address corresponding to the logical address; if the data write request is sent by a network host connected by a physical connection mode of the NAS, the storage system is The logical address allocates a corresponding physical address, and stores the to-be-written data according to a physical address allocated for the logical address.
可选的,所述根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储之前还可以包括:Optionally, the storing the data to be written according to the physical address allocated to the logical address may further include:
判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放之后,再执行根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储的步骤;否则,直接执行根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储的步骤。Determining whether a physical address allocated to the logical address is assigned to another logical address; if yes, releasing a space corresponding to the physical address allocated for the logical address, and then performing performing according to the logical address assigned a physical address, a step of storing the data to be written; otherwise, directly performing a step of storing the data to be written according to a physical address allocated for the logical address.
现有技术中,在接收到采用SAN(或NAS)的物理连接方式相连的网络主机发送的数据写请求时,需要首先为逻辑地址分配对应的物理地址,再在确定为逻辑地址分配的物理地址所对应的空间已释放的前提下,对待写入数据进行存储;由于通常情况下SAN存储架构用于保存结构化数据(例如,数据库),其数据写请求主要为“覆盖写”方式的数据写请求,因此针对SAN存储架构,对每次数据写请求都为逻辑地址分配一个对应的物理地址,存在SAN存储架构存储效率较低的问题。In the prior art, when receiving a data write request sent by a network host connected by a physical connection mode of a SAN (or NAS), it is necessary to first assign a corresponding physical address to the logical address, and then determine the physical address assigned to the logical address. On the premise that the corresponding space has been released, the data to be written is stored; since the SAN storage architecture is usually used to store structured data (for example, a database), the data write request is mainly written in the "overwrite write" mode. Request, therefore, for the SAN storage architecture, a logical address is assigned a corresponding physical address for each data write request, and there is a problem that the SAN storage architecture has low storage efficiency.
本发明实施例中,通过若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待写入数据进行存储;若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储;使得对于数据写请求类型主要为“覆 盖写”的SAN存储架构,存储系统在接收到采用SAN的物理连接方式相连的网络主机发送的数据写请求时,可以直接通过逻辑地址与物理地址的对应关系,确定与逻辑地址对应的物理地址的方式处理采用SAN的物理连接方式连接的网络主机发送的数据写请求(也即,存储系统采用写时拷贝(COW,copy-on-write);避免了在接收到数据写请求时为逻辑地址分配对应的物理地址,及对为逻辑地址分配的物理地址所对应的空间进行释放的处理;提高了SAN存储架构的存储效率。同时,由于“覆盖写”方式的数据写请求中的逻辑地址对应的内容是被不断更新的;因此,本发明通过根据逻辑地址与物理地址的对应关系确定待存储数据的物理地址,能够在确保对待存储数据的正确存储的前提下,提高SAN存储架构的存储效率。In the embodiment of the present invention, if the data write request is sent by a network host connected by using a physical connection mode of the SAN, determining the physics corresponding to the logical address according to the correspondence between the logical address and the physical address. Addressing, and storing the data to be written according to the physical address corresponding to the logical address; if the data write request is sent by a network host connected by a physical connection mode of the NAS, the logical address is Allocating a corresponding physical address, and storing the data to be written according to a physical address allocated for the logical address; so that the type of the data write request is mainly The SAN storage architecture is overwritten. When the storage system receives a data write request sent by a network host connected by a physical connection mode of the SAN, the storage system can directly determine the physical address corresponding to the logical address by the correspondence between the logical address and the physical address. The way to handle the data write request sent by the network host connected by the physical connection mode of the SAN (that is, the storage system adopts copy-on-write (COW); avoids the logical address when receiving the data write request. Allocating a corresponding physical address and releasing the space corresponding to the physical address allocated for the logical address; improving the storage efficiency of the SAN storage architecture; and simultaneously, corresponding to the logical address in the data write request of the "overwrite write" mode The content is continuously updated; therefore, the present invention determines the physical address of the data to be stored according to the correspondence between the logical address and the physical address, and can improve the storage efficiency of the SAN storage architecture while ensuring proper storage of the data to be stored. .
图6为本发明存储系统中融合SAN及NAS存储架构的装置实施例一的结构示意图,如图6所示,本实施例的装置可以包括:SAN模块601、COW模块602及写入模块603。其中,SAN模块601,用于接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求;所述第一数据写请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;COW模块602,用于根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;写入模块603,用于根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。FIG. 6 is a schematic structural diagram of Embodiment 1 of a device for merging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 6, the device in this embodiment may include: a SAN module 601, a COW module 602, and a write module 603. The SAN module 601 is configured to receive a first data write request sent by a network host connected by using a physical connection manner of the SAN, where the first data write request includes the first data to be written and the first data to be written. Corresponding first logical address; the COW module 602 is configured to determine a physical address corresponding to the first logical address according to a correspondence between the first logical address and a physical address; and a writing module 603, configured to The physical address corresponding to the first logical address stores the first to-be-written data.
本实施例的装置,可以用于执行图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
图7为本发明存储系统中融合SAN及NAS存储架构的装置实施例二的结构示意图;如图7所示,本实施例的装置在图6所示装置结构的基础上,进一步地,还可以包括:NAS模块604和ROW模块605。其中,NAS模块604,用于接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;ROW模块605,用于为所述第二逻辑地址分配对应的物理地址;写入模块603, 还用于根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。FIG. 7 is a schematic structural diagram of Embodiment 2 of an apparatus for merging a SAN and a NAS storage architecture in a storage system according to the present invention; as shown in FIG. 7, the apparatus of this embodiment is further based on the apparatus structure shown in FIG. Including: NAS module 604 and ROW module 605. The NAS module 604 is configured to receive a second data write request sent by a network host connected by using a physical connection manner of the NAS, where the second data write request includes second to-be-written data and the second to-be-written data. Corresponding second logical address; ROW module 605, configured to allocate a corresponding physical address for the second logical address; and write module 603, And for storing the second data to be written according to a physical address allocated for the second logical address.
可选的,ROW模块605还用于:判断为所述第二逻辑地址分配的物理地址是否被分配给其他的逻辑地址;若是,则对为所述第二逻辑地址分配的物理地址所对应的空间进行释放。Optionally, the ROW module 605 is further configured to: determine whether a physical address allocated to the second logical address is allocated to another logical address; if yes, corresponding to a physical address allocated for the second logical address Space is released.
本实施例的装置,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
图8为本发明存储系统中融合SAN及NAS存储架构的装置实施例三的结构示意图,如图8所示,本实施例的装置可以包括:接收模块801、处理模块802。其中,接收模块801,用于接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;处理模块802,用于确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的;若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待写入数据进行存储;若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。FIG. 8 is a schematic structural diagram of Embodiment 3 of a device for converging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 8 , the device in this embodiment may include: a receiving module 801 and a processing module 802. The receiving module 801 is configured to receive a data write request, where the data write request includes a logical address corresponding to the data to be written and the data to be written, and the processing module 802 is configured to determine that the data write request is used. The network host connected to the physical connection mode of the SAN is sent by the network host connected by the physical connection mode of the NAS; if the data write request is sent by the network host connected by the physical connection mode of the SAN, Corresponding relationship between the logical address and the physical address, determining a physical address corresponding to the logical address, and storing the data to be written according to the physical address corresponding to the logical address; if the data write request is When the network host connected by the physical connection mode of the NAS is sent, the logical address is assigned a corresponding physical address, and the data to be written is stored according to the physical address allocated for the logical address.
可选的,处理模块802还用于:判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放。Optionally, the processing module 802 is further configured to: determine whether a physical address allocated to the logical address is allocated to another logical address; if yes, release a space corresponding to the physical address allocated for the logical address.
本实施例的装置,可以用于执行图5所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
图9为本发明存储系统中融合SAN及NAS存储架构的装置实施例四的结构示意图,如图9所示,本实施例的装置可以包括:通信接口901和处理器902。其中,通信接口901,用于接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求;所述第一数据写 请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;处理器902,用于根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。FIG. 9 is a schematic structural diagram of Embodiment 4 of an apparatus for converging a SAN and a NAS storage architecture in a storage system according to the present invention. As shown in FIG. 9, the apparatus in this embodiment may include: a communication interface 901 and a processor 902. The communication interface 901 is configured to receive a first data write request sent by a network host connected by a physical connection manner of the SAN; the first data write The request includes a first to-be-written data and a first logical address corresponding to the first to-be-written data; the processor 902, configured to determine, according to the correspondence between the first logical address and the physical address, the first a physical address corresponding to the logical address; storing the first to-be-written data according to the physical address corresponding to the first logical address.
本实施例的装置,可以用于执行图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
可选的,通信接口901,还用于接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;处理器902,还用于为所述第二逻辑地址分配对应的物理地址;根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。Optionally, the communication interface 901 is further configured to receive a second data write request sent by a network host connected by using a physical connection manner of the NAS; the second data write request includes a second to-be-written data and the second to-be-written request Write a second logical address corresponding to the data; the processor 902 is further configured to allocate a corresponding physical address to the second logical address; and to read the second to be written according to the physical address allocated for the second logical address Into the data for storage.
可选的,处理器902还用于:判断为所述第二逻辑地址分配的物理地址是否被分配给其他的逻辑地址;若是,则对为所述第二逻辑地址分配的物理地址所对应的空间进行释放。Optionally, the processor 902 is further configured to: determine whether a physical address allocated to the second logical address is assigned to another logical address; if yes, corresponding to a physical address allocated for the second logical address Space is released.
需要说明的是,通信接口901可以为图2A中的IP接口,处理器902可以为图2A中的存储处理器;或者,通信接口901可以为图2B中的IP接口及FC接口,处理器902可以为图2B中的存储处理器。It should be noted that the communication interface 901 can be the IP interface in FIG. 2A, and the processor 902 can be the storage processor in FIG. 2A; or the communication interface 901 can be the IP interface and the FC interface in FIG. 2B, and the processor 902 It can be the memory processor in Figure 2B.
本实施例的装置,可以用于执行图3、图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3 and FIG. 4, and the implementation principle and the technical effect are similar, and details are not described herein again.
本发明存储系统中融合SAN及NAS存储架构的装置实施例五Embodiment 5 of device for converging SAN and NAS storage architecture in storage system of the present invention
本实施例的装置的结构与图9所示的结构相同,同样也包括通信接口及处理器。其中,通信接口,通过SAN的物理连接方式以及NAS的物理连接方式与网络相连接,用于接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;处理器,用于确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的;若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待 写入数据进行存储;若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。The structure of the apparatus of this embodiment is the same as that shown in FIG. 9, and also includes a communication interface and a processor. The communication interface is connected to the network through a physical connection manner of the SAN and a physical connection manner of the NAS, and is configured to receive a data write request, where the data write request includes a to-be-written data and a logical address corresponding to the to-be-written data. a processor, configured to determine whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS; if the data write request is adopted by When the network host connected to the physical connection mode of the SAN is sent, the physical address corresponding to the logical address is determined according to the correspondence between the logical address and the physical address, and the physical address corresponding to the logical address is used. Wait Write data for storage; if the data write request is sent by a network host connected by a physical connection mode of the NAS, assign a corresponding physical address to the logical address, and according to the physical address allocated for the logical address And storing the data to be written.
可选的,处理器还用于:判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放。Optionally, the processor is further configured to: determine whether a physical address allocated to the logical address is allocated to another logical address; if yes, release a space corresponding to the physical address allocated for the logical address.
本实施例的装置,可以用于执行图5所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 5, and the implementation principle and technical effects are similar, and details are not described herein again.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (15)

  1. 一种存储系统中融合存储区域网SAN及网络附加存储器NAS存储架构的方法,所述存储系统用于向网络主机提供服务,其特征在于,所述方法包括:A method for converging a storage area network SAN and a network attached storage NAS storage architecture in a storage system, the storage system is configured to provide a service to a network host, and the method includes:
    接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求;所述第一数据写请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;Receiving a first data write request sent by a network host connected by a physical connection manner of the SAN; the first data write request includes a first to-be-written data and a first logical address corresponding to the first to-be-written data;
    根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;Determining, according to the correspondence between the first logical address and the physical address, a physical address corresponding to the first logical address;
    根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。And storing the first to-be-written data according to the physical address corresponding to the first logical address.
  2. 根据权利要求1所述的方法,其特征在于,所述方法,还包括:The method according to claim 1, wherein the method further comprises:
    接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;Receiving a second data write request sent by the network host connected by the physical connection mode of the NAS; the second data write request includes the second to-be-written data and the second logical address corresponding to the second to-be-written data;
    为所述第二逻辑地址分配对应的物理地址;Allocating a corresponding physical address to the second logical address;
    根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。The second to-be-written data is stored according to a physical address allocated for the second logical address.
  3. 根据权利要求2所述的方法,其特征在于,所述根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储之前,还包括:The method according to claim 2, wherein the storing the second to-be-written data according to the physical address assigned to the second logical address further comprises:
    判断为所述第二逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the second logical address is assigned to another logical address;
    若是,则对为所述第二逻辑地址分配的物理地址所对应的空间进行释放之后,再执行根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储的步骤;If yes, after the space corresponding to the physical address allocated for the second logical address is released, the second to-be-written data is stored according to the physical address allocated for the second logical address. step;
    否则,直接执行根据为所述第二逻辑地址分配的物理地址,对所 述第二待写入数据进行存储的步骤。Otherwise, directly executing the physical address according to the second logical address, The second step of writing data to be stored is described.
  4. 一种存储系统中融合存储区域网SAN及网络附加存储器NAS存储架构的方法,所述存储系统用于向网络主机提供服务,其特征在于,所述方法包括:A method for converging a storage area network SAN and a network attached storage NAS storage architecture in a storage system, the storage system is configured to provide a service to a network host, and the method includes:
    接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;Receiving a data write request, where the data write request includes a data to be written and a logical address corresponding to the data to be written;
    确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的;Determining whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS;
    若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待写入数据进行存储;If the data write request is sent by a network host connected by a physical connection mode of the SAN, determining a physical address corresponding to the logical address according to the correspondence between the logical address and the physical address, and according to the logic a physical address corresponding to the address, and storing the data to be written;
    若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。If the data write request is sent by a network host connected by using a physical connection mode of the NAS, assign a corresponding physical address to the logical address, and write the to-be-written according to the physical address assigned to the logical address. Into the data for storage.
  5. 根据权利要求4所述的方法,其特征在于,所述根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储之前,还包括:The method according to claim 4, wherein the storing the data to be written according to the physical address assigned to the logical address further comprises:
    判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the logical address is assigned to another logical address;
    若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放之后,再执行根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储的步骤;If yes, after the space corresponding to the physical address allocated to the logical address is released, the step of storing the data to be written according to the physical address allocated for the logical address is performed;
    否则,直接执行根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储的步骤。Otherwise, the step of storing the data to be written according to the physical address assigned to the logical address is directly performed.
  6. 一种存储系统中融合存储区域网SAN及网络附加存储器NAS存储架构的装置,所述存储系统用于向网络主机提供服务,其特征在于,所述装置包括:An apparatus for converging a storage area network SAN and a network attached storage NAS storage architecture in a storage system, the storage system is configured to provide a service to a network host, and the device includes:
    SAN模块,用于接收采用SAN的物理连接方式相连的网络主机 发送的第一数据写请求;所述第一数据写请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;A SAN module for receiving network hosts connected by a physical connection of a SAN Sending a first data write request; the first data write request includes a first to-be-written data and a first logical address corresponding to the first to-be-written data;
    写时拷贝COW模块,用于根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址;The copy-on-write COW module is configured to determine a physical address corresponding to the first logical address according to the correspondence between the first logical address and the physical address;
    写入模块,用于根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。And a writing module, configured to store the first to-be-written data according to a physical address corresponding to the first logical address.
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:The device according to claim 6, wherein the device further comprises:
    NAS模块,用于接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;a NAS module, configured to receive a second data write request sent by a network host connected by a physical connection manner of the NAS; the second data write request includes a second to-be-written data and a second corresponding to the second to-be-written data Two logical addresses;
    重定向写ROW模块,用于为所述第二逻辑地址分配对应的物理地址;Redirecting a write ROW module, configured to allocate a corresponding physical address to the second logical address;
    所述写入模块,还用于根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。The writing module is further configured to store the second to-be-written data according to a physical address allocated for the second logical address.
  8. 根据权利要求7所述的装置,其特征在于,所述ROW模块还用于:The device according to claim 7, wherein the ROW module is further configured to:
    判断为所述第二逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the second logical address is assigned to another logical address;
    若是,则对为所述第二逻辑地址分配的物理地址所对应的空间进行释放。If yes, the space corresponding to the physical address allocated for the second logical address is released.
  9. 一种存储系统中融合存储区域网SAN及网络附加存储器NAS存储架构的装置,所述存储系统用于向网络主机提供服务,其特征在于,所述装置包括:An apparatus for converging a storage area network SAN and a network attached storage NAS storage architecture in a storage system, the storage system is configured to provide a service to a network host, and the device includes:
    接收模块,用于接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;a receiving module, configured to receive a data write request, where the data write request includes a data to be written and a logical address corresponding to the data to be written;
    处理模块,用于确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的;若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关 系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待写入数据进行存储;若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。a processing module, configured to determine whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS; if the data write request is by using a SAN When the network host connected to the physical connection is sent, according to the correspondence between the logical address and the physical address Determining, by the physical address corresponding to the logical address, the data to be written according to the physical address corresponding to the logical address; if the data write request is connected by using a physical connection manner of the NAS When the network host sends, the logical address is assigned a corresponding physical address, and the data to be written is stored according to the physical address allocated for the logical address.
  10. 根据权利要求9所述的装置,其特征在于,所述处理模块还用于:The device according to claim 9, wherein the processing module is further configured to:
    判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the logical address is assigned to another logical address;
    若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放。If so, the space corresponding to the physical address assigned to the logical address is released.
  11. 一种存储系统中融合存储区域网SAN及网络附加存储器NAS存储架构的装置,所述存储系统用于向网络主机提供服务,其特征在于,所述装置包括:An apparatus for converging a storage area network SAN and a network attached storage NAS storage architecture in a storage system, the storage system is configured to provide a service to a network host, and the device includes:
    通信接口,用于接收采用SAN的物理连接方式相连的网络主机发送的第一数据写请求;所述第一数据写请求包括第一待写入数据及所述第一待写入数据对应的第一逻辑地址;a communication interface, configured to receive a first data write request sent by a network host connected by a physical connection manner of the SAN; the first data write request includes a first to-be-written data and a first corresponding to the first to-be-written data a logical address;
    处理器,用于根据所述第一逻辑地址与物理地址的对应关系,确定与所述第一逻辑地址对应的物理地址,并根据所述第一逻辑地址对应的物理地址,对所述第一待写入数据进行存储。a processor, configured to determine, according to the correspondence between the first logical address and the physical address, a physical address corresponding to the first logical address, and according to the physical address corresponding to the first logical address, to the first The data to be written is stored.
  12. 根据权利要求11所述的装置,其特征在于,所述通信接口还用于:The device according to claim 11, wherein the communication interface is further configured to:
    接收采用NAS的物理连接方式相连的网络主机发送的第二数据写请求;所述第二数据写请求包括第二待写入数据及所述第二待写入数据对应的第二逻辑地址;Receiving a second data write request sent by the network host connected by the physical connection mode of the NAS; the second data write request includes the second to-be-written data and the second logical address corresponding to the second to-be-written data;
    所述处理器还用于:The processor is further configured to:
    为所述第二逻辑地址分配对应的物理地址,并根据为所述第二逻辑地址分配的物理地址,对所述第二待写入数据进行存储。Allocating a corresponding physical address for the second logical address, and storing the second to-be-written data according to the physical address allocated for the second logical address.
  13. 根据权利要求12所述的装置,其特征在于,所述处理器还 用于:The device according to claim 12, wherein said processor further Used for:
    判断为所述第二逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the second logical address is assigned to another logical address;
    若是,则对为所述第二逻辑地址分配的物理地址所对应的空间进行释放。If yes, the space corresponding to the physical address allocated for the second logical address is released.
  14. 一种存储系统中融合存储区域网SAN及网络附加存储器NAS存储架构的装置,所述存储系统用于向网络主机提供服务,其特征在于,所述装置包括:An apparatus for converging a storage area network SAN and a network attached storage NAS storage architecture in a storage system, the storage system is configured to provide a service to a network host, and the device includes:
    通信接口,通过SAN的物理连接方式以及NAS的物理连接方式与网络相连接,用于接收数据写请求,所述数据写请求包括待写入数据及所述待写入数据对应的逻辑地址;处理器,用于确定所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送的还是由采用NAS的物理连接方式相连的网络主机发送的;若所述数据写请求是由采用SAN的物理连接方式相连的网络主机发送时,则根据所述逻辑地址与物理地址的对应关系,确定与所述逻辑地址对应的物理地址,并根据所述逻辑地址对应的物理地址,对所述待写入数据进行存储;若所述数据写请求是由采用NAS的物理连接方式相连的网络主机发送时,则为所述逻辑地址分配对应的物理地址,并根据为所述逻辑地址分配的物理地址,对所述待写入数据进行存储。The communication interface is connected to the network through a physical connection manner of the SAN and a physical connection manner of the NAS, and is configured to receive a data write request, where the data write request includes a to-be-written data and a logical address corresponding to the to-be-written data; And determining whether the data write request is sent by a network host connected by a physical connection manner of the SAN or by a network host connected by using a physical connection manner of the NAS; if the data write request is by using a SAN When the network host connected to the physical connection is sent, the physical address corresponding to the logical address is determined according to the correspondence between the logical address and the physical address, and the to-be-written is performed according to the physical address corresponding to the logical address. Entering data for storage; if the data write request is sent by a network host connected by a physical connection mode of the NAS, assigning a corresponding physical address to the logical address, and according to the physical address allocated for the logical address, The data to be written is stored.
  15. 根据权利要求14所述的装置,其特征在于,所述处理器还用于:The device according to claim 14, wherein the processor is further configured to:
    判断为所述逻辑地址分配的物理地址是否被分配给其他的逻辑地址;Determining whether a physical address assigned to the logical address is assigned to another logical address;
    若是,则对为所述逻辑地址分配的物理地址所对应的空间进行释放。 If so, the space corresponding to the physical address assigned to the logical address is released.
PCT/CN2016/082806 2015-05-25 2016-05-20 Method and apparatus for fusing san and nas storage architectures in storage system WO2016188373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510270920.XA CN104994135B (en) 2015-05-25 2015-05-25 The method and device of SAN and NAS storage architectures is merged in storage system
CN201510270920.X 2015-05-25

Publications (1)

Publication Number Publication Date
WO2016188373A1 true WO2016188373A1 (en) 2016-12-01

Family

ID=54305886

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082806 WO2016188373A1 (en) 2015-05-25 2016-05-20 Method and apparatus for fusing san and nas storage architectures in storage system

Country Status (2)

Country Link
CN (1) CN104994135B (en)
WO (1) WO2016188373A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994135B (en) * 2015-05-25 2018-09-21 华为技术有限公司 The method and device of SAN and NAS storage architectures is merged in storage system
CN106997274B (en) * 2016-01-25 2021-04-30 中兴通讯股份有限公司 Architecture and method for realizing storage space management
CN111654519B (en) 2017-09-06 2024-04-30 华为技术有限公司 Method and device for transmitting data processing requests
CN112099728B (en) * 2019-06-18 2022-09-16 华为技术有限公司 Method and device for executing write operation and read operation
CN116069685B (en) * 2023-03-07 2023-07-14 浪潮电子信息产业股份有限公司 Storage system write control method, device, equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1628200A1 (en) * 2004-07-21 2006-02-22 Hitachi, Ltd. Storage system
CN101075203A (en) * 2006-05-18 2007-11-21 株式会社日立制作所 Storage system and method of producing recovery volume
CN101710323A (en) * 2008-09-11 2010-05-19 威睿公司 Computer storage deduplication
CN101808243A (en) * 2010-03-11 2010-08-18 杭州华三通信技术有限公司 Data processing method and device based on snapshot
US20130290648A1 (en) * 2012-04-27 2013-10-31 Netapp, Inc. Efficient data object storage and retrieval
CN104246707A (en) * 2012-04-27 2014-12-24 株式会社日立制作所 Storage system and storage apparatus
CN104994135A (en) * 2015-05-25 2015-10-21 华为技术有限公司 Method and device for fusing SAN and NAS storage frameworks in storage system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566927B (en) * 2008-04-23 2010-10-27 杭州华三通信技术有限公司 Memory system, memory controller and data caching method
CN101751233B (en) * 2009-12-31 2012-07-04 成都索贝数码科技股份有限公司 Method and system for expanding capacity of memory device
CN102622189B (en) * 2011-12-31 2015-11-25 华为数字技术(成都)有限公司 The device of Storage Virtualization, date storage method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1628200A1 (en) * 2004-07-21 2006-02-22 Hitachi, Ltd. Storage system
CN101075203A (en) * 2006-05-18 2007-11-21 株式会社日立制作所 Storage system and method of producing recovery volume
CN101710323A (en) * 2008-09-11 2010-05-19 威睿公司 Computer storage deduplication
CN101808243A (en) * 2010-03-11 2010-08-18 杭州华三通信技术有限公司 Data processing method and device based on snapshot
US20130290648A1 (en) * 2012-04-27 2013-10-31 Netapp, Inc. Efficient data object storage and retrieval
CN104246707A (en) * 2012-04-27 2014-12-24 株式会社日立制作所 Storage system and storage apparatus
CN104994135A (en) * 2015-05-25 2015-10-21 华为技术有限公司 Method and device for fusing SAN and NAS storage frameworks in storage system

Also Published As

Publication number Publication date
CN104994135A (en) 2015-10-21
CN104994135B (en) 2018-09-21

Similar Documents

Publication Publication Date Title
US10691187B2 (en) Persistent reservations for virtual disk using multiple targets
US11726948B2 (en) System and method for storing data using ethernet drives and ethernet open-channel drives
WO2016188373A1 (en) Method and apparatus for fusing san and nas storage architectures in storage system
US7555575B2 (en) Method and apparatus for migrating data between storage volumes of different data pattern
US8782335B2 (en) Latency reduction associated with a response to a request in a storage system
US10372371B2 (en) Dynamic data relocation using cloud based ranks
US20200133875A1 (en) Method, apparatus and computer program product for managing data access
US10721304B2 (en) Storage system using cloud storage as a rank
US11086535B2 (en) Thin provisioning using cloud based ranks
WO2015125221A1 (en) Storage system and migration method
WO2017084348A1 (en) Management method and apparatus for ip hard disk
US8527732B2 (en) Storage system and method of controlling storage system
US9671958B2 (en) Data set management
US20180129521A1 (en) Parallel mapping of client partition memory to multiple physical adapters
US9921753B2 (en) Data replication across host systems via storage controller
US10303380B2 (en) Extent-level reserve and release for a direct access storage device (DASD) volumes
US10289550B1 (en) Method and system for dynamic write-back cache sizing in solid state memory storage
WO2020124608A1 (en) Distributed storage system and computer program product
US11144206B2 (en) Method and system for sharing data reduction metadata with storage systems
US10853208B2 (en) Transferring a writable data set to a cloud service that is separate from the writable data set and terminate a snapshot after transfer
US11252232B2 (en) NVME-of queue management in host clusters
US10705905B2 (en) Software-assisted fine-grained data protection for non-volatile memory storage devices
US11163475B2 (en) Block input/output (I/O) accesses in the presence of a storage class memory
US9778850B1 (en) Techniques for zeroing non-user data areas on allocation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16799261

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16799261

Country of ref document: EP

Kind code of ref document: A1