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

 

  • 找到受影响的设备并记下出现故障的设备路径 

在此示例中,有 2 个设备处于错误状态,并且设备路径和原始路径不匹配

-Device path /dev/sde , Original-path /dev/sdu

-Device path /dev/sdn Original-path /dev/sdl

  • 由于有 2 条不同的路径,清除设备错误将成功运行,但不会清除错误 
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, ScaleIO
Article Properties
Article Number: 000027185
Article Type: Solution
Last Modified: 28 يونيو 2026
Version:  11
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.