US 12,223,167 B2
Method, apparatus, and device for cleaning residual paths on host end, and storage medium
Zhenguang Zhang, Jiangsu (CN)
Assigned to INSPUR SUXHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/270,219
Filed by INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Oct. 29, 2021, PCT No. PCT/CN2021/127521
§ 371(c)(1), (2) Date Jun. 29, 2023,
PCT Pub. No. WO2023/284174, PCT Pub. Date Jan. 19, 2023.
Claims priority of application No. 202110784141.7 (CN), filed on Jul. 12, 2021.
Prior Publication US 2024/0061573 A1, Feb. 22, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0604 (2013.01) [G06F 3/0635 (2013.01); G06F 3/067 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for cleaning residual paths on a host end, comprising:
acquiring device information of subordinate devices of a plurality of paths;
determining, according to the device information, whether links corresponding to the subordinate devices are all abnormal;
acquiring a global identification number and connection information of each subordinate device in a case that the links corresponding to the subordinate devices are all abnormal;
when the global identification number is not null and the connection information is successfully acquired, querying a mapping state of a volume corresponding to the global identification number and a mapped host according to the global identification number and the connection information; and
when the volume is not in the mapping state or the mapped host is not a target host, deleting the plurality of paths and the subordinate devices.