The invention discloses a method for realizing a block protocol interface based on a cluster storage
system, belonging to the field of computer and network
information technology. A virtual block interface module is respectively arranged at every
data node of the cluster storage
system, so that the functions of virtual
address mapping, writing distribution and the like can be realized, and a block device interface can be provided for upper layer
SCSI Target program; the virtual block interface module comprises a block device export module, a virtual
address mapping module, a writing distribution module and
SCSI Target program; the block device export module is connected with a cluster storage volume of the cluster storage
system, the virtual
address mapping module and the writing distribution module are respectively connected with the block device export module, and the
SCSI Target program is connected with the virtual address mapping module and the writing distribution module. Based on the high performance, expandability, availability and
cost performance of the cluster storage system, the method realizes the block interface storage service, and meets the rapidly development demand of the current
information processing and storage.