ECS:無法刪除命名空間,因為它不為空

Summary: 如果命名空間下的所有儲存桶均已刪除,且命名空間下的物件計數和物件總大小報告為零,則無法從 UI 刪除 ECS 命名空間。

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.