VPlex:如何在从阵列中移除磁盘后手动从 VPlex 中移除设备

Summary: 本知识库文章概述了如何在从阵列中移除存储之前未从 VPlex 中移除组件的情况下从 VPlex 中移除底层存储。

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.

Instructions

如果存在以下任一情况,请遵循本知识库文章:

  1. 客户告知,他们已从存储阵列中删除了特定 LUN,但未先从 VPlex 中删除
  2. 存储阵列在 VPlex 上显示为降级,卷显示为没有底层存储阵列
 
  1. 收集有关设备的所有信息
VPlexcli:/>show-use-hierarchy /clusters/cluster-1/storage-elements/storage-volumes/Symm0737_0000
local-device: device_Symm0737_0000_12016Feb18_092447 (8.43G, raid-0, cluster-1)
extent: extent_Symm0737_0000_1 (8.43G)
storage-volume:Symm0737_0000 (8.43G)
逻辑单元:VPD83T3:6006048000028746073753594d303030
         

 
  1.  使用以下命令从 VPlex 中删除本地设备: local-device destroy -d <DeviceName>
VPlexcli:/clusters/cluster-1/devices> local-device destroy -d device_Symm0737_0000_12016Feb18_092447
 
  1. 使用以下命令从 VPlex 中删除数据区: extent destroy --force <ExtentName>
VPlexcli:/clusters/cluster-1/storage-elements/extents> extent destroy --force extent_Symm0737_0000_1
 
  1. 使用以下命令从 VPlex 中删除存储卷: storage-volume unclaim -d <StorageVolumeName>
VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> storage-volume unclaim -d Symm0737_0000
 
 
请注意,还有另一个 VPLEXCLI 命令 ( advadm dismantle),它将在单个命令语法中处理上述步骤 24 。执行以下命令语法时,会有交互式步骤。  
 
VPlexcli:/> advadm dismantle -r /clusters/cluster-1/devices/device_Symm0737_0000_12016Feb18_092447 --unclaim-storage-volumes
 
交互式 advadm dismantle 命令的输出示例 
 

VPlexcli:/> advadm dismantle -r /clusters/cluster-1/devices/device_Symm0737_0000_12016Feb18_092447 --unclaim-storage-volumes
这将销毁以下设备:
    cluster-1
上的device_Symm0737_0000_12016Feb18_092447 cluster-1 上的extent_Symm0737_0000_1    

这将取消声明以下存储卷:
    在 cluster-1
VPD83T3:6006048000028746073753594d303030
        
是否要继续(是/否): 是的
警告:以下物品将被销毁:
上下文

-----------------------------------/clusters/cluster-1/devices/device_Symm0737_0000_12016Feb18_092447

是否要继续?  (是/否) 是的

警告:以下物品将被销毁:
上下文

----------------------------------------------------------------------------------------------/clusters/cluster-1/storage-elements/extents/extent_Symm0737_0000_1

是否要继续?  (是/否) 是的

销毁了 1 个目标盘区中的 1 个。

1 个设备已成功拆卸。已取消申请 1 个存储卷中的 1 个

VPlexcli:/>

 
提醒:请不要将强制 (-f) 选项与 advadm 命令一起使用,因为它会在不要求确认的情况下强制销毁
 
  1. 使用以下命令从 VPlex 中删除逻辑单元: logical-unit forget <LogicalUnitVPID>
VPlexcli:/clusters/cluster-1/storage-elements/storage-arrays/logical-units/> logical-unit forget VPD83T3:6006048000028746073753594d303030
 
  1. 通过运行以下命令,确认 VPlex 运行状况良好且未看到任何错误:
  • 运行状况检查
  • ll **/storage-arrays/*


如果无法移除卷或设备,并且您收到类似于以下内容的错误,则重新启动管理控制台,如果系统是 Metro,则同时重新启动两者。

未能销毁本地设备。
无法销毁本地设备。
固件命令错误:名称 <为 device name>“的设备失败

原因:Command execution failed.
cause: 为 --targets 指定了类型为“devices”的上下文“devices”无效 

Additional Information

要在从阵列中移除磁盘之前从 VPlex 中安全地移除设备,请按照以下步骤作:

1.VPlexcli:/clusters/cluster-Cluster_ID/exports/storage-views> removevirtualvolume -view storage_view_name --virtual-volumes name,name,name -force

2.如果卷是一致性组的一部分:
VPlexcli:/clusters/cluster-Cluster_ID/consistency-groups> remove-virtual-volumes -consistency-group consistency_group_name -virtual-volumes name,name,name -force

3.VPlexcli:/clusters/cluster-Cluster_ID> virtual-volume destroy virtual_volume_name --force

4.VPlexcli:/clusters/cluster-Cluster_ID/devices> local-device destroy -d <DeviceName>

5.VPlexcli:/clusters/cluster-Cluster_ID/storage-elements/extents> extent destroy
--force <Extent Name>

6.VPlexcli:/clusters/cluster-Cluster_ID/storage-elements/storage-volumes>
storage-volume unclaim -d <StorageVolumeName>

7.VPlexcli:/clusters/cluster-Cluster_ID/storage-elements/storage-arrays/logical-units/
Unit VPDID> logical-unit forget


This procedure can be found in Solve Procedure Generator:VPlex —> 其他 —> 管理过程 —> 管理 —> 从 VPLEX 中移除磁盘或阵列

Affected Products

VPLEX Series

Products

VPLEX GeoSynchrony, VPLEX Series, VPLEX VS2
Article Properties
Article Number: 000158282
Article Type: How To
Last Modified: 10 Nov 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.