ECS:GCでCAS Blobが削除されない - CASバケットを削除できない

摘要: CAS GCのトラブルシューティング

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

GC は CAS ClipID をスイープしますが、BLOB はスイープしません。お客様が空のCASバケットを削除しようとすると、「バケットが空ではありません」というエラーが表示されることがあります。

原因

これは設計どおりの動作である

解决方案

GCが機能していることを確認するための基本的な手順:
1.sshとユーザーadminを介して1つのECSノードに接続します。
2.CAS GCが有効になっているかどうかを確認します。
admin@ecsnode01:~> svc_gc config
svc_gc v3.4.2 (svc_tools v2.15.0)                 Started 2024-02-02 09:30:39

Local node ECS Object Version: 3.8.0.3-138685.3a0a9b6bf3a (3.8.0.3 GA)
Local VDC: urn:storageos:VirtualDataCenterData:cf84a100-bded-4e00-b5d3-8bf5f01495af vdc_s3_j07

Current Param values:

                                                                        Default              Current             
Type     Param name                                                     Value                Value               

Repo     com.emc.ecs.chunk.gc.repo.enabled                              true                 true                
Repo     com.emc.ecs.chunk.gc.repo.verification.enabled                 true                 true                
Repo     com.emc.ecs.chunk.gc.repo.reclaimer.no_recycle_window          78 hours             78 hours            

BTREE_L1 com.emc.ecs.chunk.gc.btree.enabled                             true                 true                
BTREE_L1 com.emc.ecs.chunk.gc.btree.scanner.verification.enabled        true                 true                
BTREE_L1 com.emc.ecs.chunk.gc.btree.scanner.copy.enabled                true                 true                

BTREE_L2 com.emc.ecs.chunk.gc.btree.reclaimer.level2.enabled            true                 true                
BTREE_L2 com.emc.ecs.chunk.gc.btree.occupancyScanner.level2.enabled     true                 true                

Partial  com.emc.ecs.chunk.gc.repo.partial.enabled                      true                 true                
Partial  com.emc.ecs.chunk.gc.repo.partial.merge_chunk_threshold        89478400             89478400            
Partial  com.emc.ecs.chunk.gc.repo.partial.merge_old_chunk_threshold    89478400             89478400            

Journal  com.emc.ecs.chunk.gc.journal.enabled                           true                 true                
Journal  com.emc.ecs.prtable.gc.enabled                                 true                 true                
Journal  com.emc.ecs.prtable.gc.record_expiration                       14 days              14 days             
Journal  com.emc.ecs.chunk.gc.journal.protection_period                 14 days              14 days             

CAS      com.emc.ecs.objectgc.cas.enabled                               true                 true                
CAS      com.emc.ecs.objectgc.cas.process_update.enabled                true                 true                
CAS      com.emc.ecs.objectgc.cas.process_object.enabled                true                 true                
CAS      com.emc.ecs.objectgc.cas.process_audit.enabled                 true                 true                
CAS      com.emc.ecs.objectgc.cas.consistency_scanner.enabled           true                 true                
CAS      com.emc.ecs.objectgc.cas.process_object.dry_run                false                false               

admin@ecsnode01:~> 
「Current」を返すすべての読み取り値は、「Default」と一致する必要があります。

3.リフレクションの有効期限が設定されているかどうかを確認します。
[管理] - [バケット] -> [リフレクションの有効期限]> 設定を示す UI


4.バケット削除の問題である場合は、JCASまたはクエリーを実行するための別の同等のツールを実行して、バケットが空であることを確認します。

CASScript>querySetExisting

Query Expression Properties:
        Start Time: UNBOUNDED
        End Time  : UNBOUNDED
        Type      : EXISTING

CASScript>query

Performing clip query

Query Expression Properties:
        Start Time: UNBOUNDED
        End Time  : UNBOUNDED
        Type      : EXISTING

Number of clips returned:     0
All results returned:         True


5.CASオブジェクトには、28日間の検疫期間があります。時間が経過したことを確認します。つまり、 クリップが削除されると、関連付けられた BLOB が削除されるまでに最大 28 日かかることがあります。

これまでの手順をすべてクリアしてもバケットを削除できない場合は、サポートでサービス リクエストを開きます。

 
 

受影响的产品

ECS Appliance

产品

ECS Appliance, Elastic Cloud Storage
文章属性
文章编号: 000080672
文章类型: Solution
上次修改时间: 05 2月 2024
版本:  4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。