| CPC G06F 3/0604 (2013.01) [G06F 3/0655 (2013.01); G06F 3/067 (2013.01); H04L 41/12 (2013.01)] | 20 Claims |

|
1. A method for managing a storage system, the method including:
acquiring multiple cable lists associated with multiple nodes included in the storage system, respectively, a cable list including an identifier of cable of at least one cable for connecting a node of the multiple nodes with a node other than the node;
determining a distance between a first node in the multiple nodes and a second node in the multiple nodes based on a comparison between a first cable list associated with the first node and a second cable list associated with the second node in the multiple cable lists; and
determining a network structure of the storage system based on the distance between the first node and the second node;
wherein determining the distance includes: in response to determining that there is no intersection between the first cable list and the second cable list,
selecting from the multiple nodes a third node with a known distance from the first node; and
determining the distance between the first node and the second node based on a comparison between the first cable list and a third cable list associated with the third node in the multiple cable lists; and
wherein determining the distance between the first node and the second node based on a comparison between the first cable list and the third cable list includes:
determining the distance between the first node and the second node based on the distance between the first node and the third node in response to determining that there is an intersection between the first cable list and the third cable list.
|