A method for sharing a storage resource, applied to a server cluster system, wherein the server cluster system comprises a server node and a network storage node, the server node comprises a hard disk, the network storage node comprises a storage array, a distributed storage controller runs on the server node, and the distributed storage controller comprises a metadata controller, a virtual block service module and read-write control modules, the read-write control modules comprising an object storage delegate (OSD1, OSD2) configured to perform read-write control on storage resource of the hard disk and a storage area network, SAN, storage agent (SSA1, SSA2) configured to perform read-write control on storage resource of the storage array, and the method comprises: dividing, by the metadata controller, storage resources of the hard disk and the storage array into multiple storage partitions, wherein the multiple storage partitions form a shared storage resource pool; allocating, by the metadata controller, a read-write control module to each storage partition; generating, by the metadata controller, global partition information, wherein the global partition information records a correspondence between each storage partition in the shared storage resource pool and the allocated read-write control module of each storage partition; when receiving, by the virtual block service module, a storage request message, performing the following process: determining, by the virtual block service module, a storage partition corresponding to the storage request message; determining, by the virtual block service module, according to the global partition information, a read-write control module that is corresponding to the storage partition corresponding to the storage request message; and sending, by the virtual block service module, the storage request message to the determined read-write control module, so that the determined read-write control module performs an operation requested by the storage request message. dividing, by the metadata controller, storage resources of the hard disk and the storage array into multiple storage partitions, wherein the multiple storage partitions form a shared storage resource pool; allocating, by the metadata controller, a read-write control module to each storage partition; generating, by the metadata controller, global partition information, wherein the global partition information records a correspondence between each storage partition in the shared storage resource pool and the allocated read-write control module of each storage partition; when receiving, by the virtual block service module, a storage request message, performing the following process: determining, by the virtual block service module, a storage partition corresponding to the storage request message; determining, by the virtual block service module, according to the global partition information, a read-write control module that is corresponding to the storage partition corresponding to the storage request message; and sending, by the virtual block service module, the storage request message to the determined read-write control module, so that the determined read-write control module performs an operation requested by the storage request message. determining, by the virtual block service module, a storage partition corresponding to the storage request message; determining, by the virtual block service module, according to the global partition information, a read-write control module that is corresponding to the storage partition corresponding to the storage request message; and sending, by the virtual block service module, the storage request message to the determined read-write control module, so that the determined read-write control module performs an operation requested by the storage request message.