ECS: GC neodebere objekty blob CAS – Nelze odstranit kbelík CAS.

Summary: Odstraňování problémů s CAS GC

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.

Symptoms

GC vymaže ID klipů CAS, ale ne objekty blob. Někdy se zákazník pokusí odebrat prázdný kbelík CAS a zobrazí se chyba "Bucket is not empty".

Cause

Standardní fungování

Resolution

Základní kroky, které je třeba dodržet, abyste zajistili, že GC funguje:
1. Připojte se k jednomu uzlu ECS přes SSH a správce uživatele.
2. Zkontrolujte, jestli je povolená funkce 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:~> 
Všechny vracející se "aktuální" hodnoty by měly odpovídat "výchozímu".

3. Zkontrolujte, zda je nastaveno vypršení platnosti reflexe:
Uživatelské rozhraní s nastavením Manage – Buckets –>> Reflection expiration


4. Pokud se jedná o problém s odstraněním kbelíku, ověřte, zda je kbelík prázdný, spuštěním JCAS nebo jiného ekvivalentního nástroje pro spuštění dotazu:

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. Objekty CAS mají 28denní karanténu. Zkontrolujte, zda uplynul čas. To znamená, že odebrání přidruženého objektu blob při odstranění klipu může trvat až 28 dní.

Pokud jsou všechny předchozí kroky vymazány a kbelík stále nelze odstranit, otevřete servisní požadavek na podporu.

 
 

Affected Products

ECS Appliance

Products

ECS Appliance, Elastic Cloud Storage
Article Properties
Article Number: 000080672
Article Type: Solution
Last Modified: 05 Feb 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.