PowerFlex:如何使用命令行更新设备路径并清除 SDS 设备错误
Summary: 即使在执行清理命令后,SDS 设备错误也不会清除。下面是有关如何解决此问题的步骤。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
本文介绍如何为设备路径和设备原始路径不匹配的设备清除设备错误。
但是,在另一种情况下,设备可能具有不匹配的设备路径和原始路径,并且仍处于正常状态或错误状态,但没有不匹配的设备路径。
这意味着这两个问题不必同时发生,但是当它们同时发生时,清除错误的命令可能不起作用,直到修复设备路径不匹配为止。
- 使用管理员凭据登录到主 MDM。如果密码包含特殊字符,请使用单引号 “ ” 。
3.x scli --login --username admin --password '<password>' 4.x scli --login --username admin --password '<password>' --management_system_ip <pfmp_ip>
- 运行以下命令以列出所有 SDS 详细信息:
scli --query_all_sds
示例:
SDS ID: 2e400d3800000004 Name: LAB10_SDS3 State: Connected, Joined IP: XXX SDS ID: 2e400d3700000003 Name: LAB10_SDS2 State: Connected, Joined IP: XXX SDS ID: 2e400d3600000002 Name: LAB10_SDS4 State: Connected, Joined IP: XXX SDS ID: 2e400d3500000001 Name: LAB10_SDS1 State: Connected, Joined IP: XXX SDS ID: 2e400d3400000000 Name: LAB10_SDS5 State: Connected, Joined IP: XXX
- 找到受影响的 SDS 并记下 SDS 名称,然后运行以下命令:
scli --query_sds --sds_name <sds_name>
示例输出:
4: Name: ScaleIO-3a5aeb6e Path: /dev/sde Original-path: /dev/sdu ID: 2a71c74700030003 Storage Pool: SP_SAS, Capacity: 1116 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Error 13: Name: ScaleIO-3a5aeb77 Path: /dev/sdn Original-path: /dev/sdl ID: 2a71c7500003000c Storage Pool: SP_SAS, Capacity: 1116 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Error
- 找到受影响的设备并记下故障设备路径。在此示例中,两个设备处于错误状态,并且设备路径和原始路径不匹配:
- 设备路径
/dev/sdeOriginal path/dev/sdu - 设备路径
/dev/sdnOriginal path/dev/sdl
- 设备路径
- 由于有两个不同的路径,清除设备错误运行成功,但未清除错误。
scli --clear_sds_device_error --sds_id c948227100000004 --device_path /dev/sdu Successfully cleared SDS device sds: with ID c948227100000004, /dev/sdu
Cause
节点重新启动后,SDS 节点可能会更改设备路径。
Resolution
更新原始路径以匹配当前路径
scli --update_device_original_path --sds_name <sds_name> --device_id <device_id>
示例:
scli --update_device_original_path --sds_name LAB10_SDS3 --device_id 2a71c74700030003
注意: 用途
device_id 而不是使用 device_path 由于设备路径在某些时间点可能会有所不同,但上述命令会纠正相同的情况。
清除设备错误
-SDS 名称和设备路径是命令输出的一部分 scli --query_all_sds 和 scli --query_sds --sds_name <sds_name> 如上面的“症状” 部分所述。
Scli --clear_sds_device_error --sds_name <sds_name> --device_path <device path>
示例:
scli --clear_sds_device_error --sds_name LAB10_SDS3 --device_path /dev/sde Scli --clear_sds_device_error --sds_name LAB10_SDS3 --device_path /dev/sdn
Affected Products
PowerFlex rack, ScaleIOArticle Properties
Article Number: 000027185
Article Type: Solution
Last Modified: 10 Aug 2026
Version: 12
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.