PowerFlex: SDS 中已存在具有给定名称的设备

Summary: 本文是错误“MDM failed command.Status: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

将新设备添加到 SDS 但出现错误”MDM 命令失败。Status:具有给定名称的设备已存在于 SDS“错误: MDM 命令失败。Status:具有给定名称的设备已存在于 SDS 要检查当前路径,请在主 MDM

  1. 记下受影响的 SDS 名称
--query_all_sds
  1. 查询所有设备中是否存在受影响的 SDS 从步骤 1 捕获的名称
scli --query_sds --sds_name 
  1. 在这里,您会发现名称和原始路径是 sda 当前路径为 sdc
Name: /dev/svm_sda  Path: /dev/svm_sdc  Original-path: /dev/svm_sda

 如果使用云链接,则路径中将包含映射器,如下所示。

Name: /dev/mapper/svm_sda  Path: /dev/mapper/svm_sdc  Original-path: /dev/mapper/svm_sda


这是因为当 SDS 重新启动后,作系统可以更改设备分配的盘符,同时它仍保留原始路径盘符。

 

Cause

下载 SDS 重新启动作系统 (OS) 可以在保留原始路径盘符的同时更改设备盘符,这会导致旧的已删除设备盘符被另一台设备使用。 

此问题更常发生在 3.6 之前的旧 Flex 版本中,在 Linux 环境和 ESXi 环境中,删除设备后,其他设备将在重新启动时重新编号。然而 SIO 仍记得原始路径,以及要添加的设备是否与现有设备的原始路径相同 SDS 设备,则该命令会失败。

下面是一个示例:

[root@centos6-sio-0 ~]# scli --query_sds --sds_name sds-2 |egrep -A 1 -i "ip|path"

1: Name: sdb Path: /dev/sdc Original-path: /dev/sdb ID: 4d109f2b00000000

[root@centos6-sio-0 ~]# scli --add_sds_device --sds_name sds-2 --device_path /dev/sdb --storage_pool_name sp1
Error: MDM failed command. Status: A device with the given name already exists in the SDS

[root@centos6-sio-0 ~]# scli --add_sds_device --sds_name sds-2 --device_path /dev/sdb --device_name testtt --storage_pool_name sp1 Error: MDM failed command. Status: A device with the given name already exists in the SDS

Resolution

1- 通过在主 MDM 上运行以下命令,从中获取设备 ID。 

scli --query_sds --sds_name <SDS_Name> 

 

2- 使用步骤 1 中的设备 ID 运行以下命令,将设备的原始路径更新为与其当前路径相同,以便可以添加新设备。 

scli --update_device_original_path --device_id <Device_id>

在上面的示例中,以下过程修复了该问题:

[root@centos6-sio-0 ~]# scli --query_sds --sds_name sds-2 | grep Path
1: Name: sdb Path: /dev/sdc Original-path: /dev/sdb ID: 4d109f2b00000000

[root@centos6-sio-0 ~]# scli --update_device_original_path --device_id 4d109f2b00000000 Successfully update device's original path
[root@centos6-sio-0 ~]# scli --query_sds --sds_name sds-2 | grep Path 1: Name: sdb Path: /dev/sdc Original-path: /dev/sdc ID: 4d109f2b00000000
[root@centos6-sio-0 ~]# scli --add_sds_device --sds_name sds-2 --device_path /dev/sdb --device_name testtt    --storage_pool_name sp1 Successfully added device testtt to SDS. New device ID: 4d109f3000000001
[root@centos6-sio-0 ~]# scli --query_sds --sds_name sds-2 | grep Path 1: Name: sdb Path: /dev/sdc Original-path: /dev/sdc ID: 4d109f2b00000000 2: Name: testtt Path: /dev/sdb Original-path: /dev/sdb ID: 4d109f3000000001

 

Affected Products

PowerFlex appliance R650, PowerFlex appliance R6525, PowerFlex appliance R660, PowerFlex appliance R6625, Powerflex appliance R750, PowerFlex appliance R760, PowerFlex appliance R7625, PowerFlex custom node, PowerFlex custom node R650 , PowerFlex custom node R6525, PowerFlex custom node R660, PowerFlex custom node R6625, PowerFlex custom node R750, PowerFlex custom node R760, PowerFlex custom node R7625, PowerFlex rack HW, PowerFlex rack RCM Software, PowerFlex appliance R640, PowerFlex appliance R740XD, PowerFlex appliance R7525, PowerFlex appliance R840 ...
Article Properties
Article Number: 000219745
Article Type: Solution
Last Modified: 11 Nov 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.