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 個裝置處於錯誤狀態,且裝置路徑與原始路徑不相符

-裝置路徑 /dev/sde, 原始路徑 /dev/sdu

-裝置路徑 /dev/sdn 原始路徑 /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.