ECS: GC가 CAS Blob을 제거하지 않음 - CAS 버킷을 삭제할 수 없음

摘要: CAS GC 문제 해결

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

症状

GC는 CAS ClipID를 스윕하지만 Blob은 스윕하지 않습니다. 고객이 빈 CAS 버킷을 제거 하려고 하면 "버킷이 비어 있지 않습니다." 라는 오류가 표시 됩니다.

原因

설계된 대로 작동

解决方案

GC가 작동하는지 확인하기 위해 따라야 할 기본 단계:
1. ssh 및 사용자 관리자를 통해 하나의 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:~> 
반환되는 모든 "현재" 판독값은 "기본값"과 일치해야 합니다.

3. 리플렉션 만료가 설정되어 있는지 확인합니다.
Manage - Buckets ->> Reflection expiration 설정을 보여주는 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
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。