ECS:无法删除命名空间,因为它不为空

Summary: 当命名空间下的所有存储区都已删除,并且命名空间下的对象计数和总对象大小报告为零时,无法从 UI 中删除该命名空间。

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

在删除 ECS 命名空间下创建的所有对象用户之前,无法删除该命名空间。
 
无法删除命名空间,因为它不为空
图 1:无法删除命名空间,因为它不为空
 
admin@ecsnode2:~> svc_ns info example_ns
svc_ns v1.0.8 (svc_tools v2.10.0)                 Started 2023-03-30 14:34:26


Namespace ID                     example_ns

  Name                           example_ns
  Inactive                       False
  ADO Enabled                    True
  Compliance Enabled             False
  Encryption Enabled             True
  Default Replication Group      urn:storageos:ReplicationGroupInfo:d8d6eae7-4e9a-4cd1-8ac6-e85f060d2c3f:global        (RG1)
  URL                            /object/namespaces/namespace/example_ns

  Object count                   0
  Total Object Size              0
admin@ecsnode2:~>

从 ECS CLI 运行以下命令,以查找与要删除的命名空间关联的对象用户。 
svc_user list | grep -i <namespace>
示例:
svc_user列表 |grep -i “example_ns。”
我们在其中列出了与命名空间“example_ns”关联的对象用户

成功删除命名空间下的所有对象用户后,可以删除该命名空间。

Affected Products

ECS, ECS Appliance, ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3

Products

ECS Appliance Hardware Gen3 EX5000, ECS Appliance Hardware Gen3 EX300, ECS Appliance Hardware Gen3 EX3000, ECS Appliance Hardware Gen1 U-Series, ECS Appliance Hardware Gen1 C-Series, ECS Appliance Hardware Gen2 C-Series , ECS Appliance Hardware Gen2 D-Series, ECS Appliance Hardware Gen2 U-Series, ECS Appliance Hardware Gen3 EX500, ECS Appliance Hardware Gen3 EXF900, ECS Appliance Hardware Series, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption, ECS Software ...
Article Properties
Article Number: 000211883
Article Type: How To
Last Modified: 26 Jun 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.