PowerScale용 복제용 CSM 제품군: 생성 중 타겟 영구 볼륨에 잘못된 할당량이 설정됨

Summary: 할당량 및 복제가 활성화된 상태에서 PV(Persistent Volume)를 생성하면 타겟 PowerScale 클러스터의 타겟 PV 또는 디렉토리에 대해 잘못된 할당량이 설정됩니다.

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

할당량 및 복제가 활성화된 상태에서 PV(Persistent Volume)를 생성하면 타겟 측 읽기 전용 디렉토리에 대해 잘못된 할당량이 설정됩니다. 잘못된 할당량은 소스에 할당된 할당량 대신 사용된 0이 아닌 소스 크기를 기반으로 합니다. 이로 인해 사용자가 페일오버를 수행하고 페일오버된 사이트에 데이터를 쓰려고 할 때 문제가 발생할 수 있습니다. 더 낮은 할당량 제한을 설정하면 페일오버 후 타겟 측에서 새 쓰기를 수행할 수 없습니다. 타겟 PV를 생성하는 동안 소스 PV에 사용된 크기가 없으면 타겟 측 읽기 전용 디렉토리에 할당량이 설정되지 않습니다.

 

이 문제는 문서 https://github.com/dell/csm/issues/753 에 보고되어 있습니다.이 하이퍼링크는 Dell Technologies 외부의 웹사이트로 연결됩니다.

 

Cause

타겟 디렉토리의 할당량은 타겟 PV 생성 중에 소스 디렉토리의 사용된 크기를 기준으로 계산됩니다.

 

Resolution

소스 Kubernetes 클러스터의 각 PV에 대해 해당 PV와 연결된 디렉토리의 경로를 찾습니다. 아래 명령을 사용합니다.

k get pv <pv name> -o yaml

 

경로는 영구 볼륨 오브젝트의 사양 필드에서 찾을 수 있습니다. 소스 PowerScale 클러스터에서 소스 디렉토리의 할당량을 가져오고 타겟 PowerScale 클러스터의 디렉토리에 대해 동일하게 설정합니다.

apiVersion: v1
kind: PersistentVolume
spec:
 ........
 csi:
 driver: csi-isilon.dellemc.com
 volumeAttributes:
 .......
 Name: directory1
 Path: /path/to/directory1
 .......
 volumeMode: Filesystem

 

다음은 PowerScale 클러스터에서 할당량을 검색하고 설정하는 CLI 명령입니다. 아래 명령을 실행하여 소스 PowerScale 클러스터의 디렉토리에 대한 하드 임계값을 가져옵니다.

Cluster-1# isi quota quotas view --path /path/to/directory --type directory
 Path: /path/to/directory
 Type: directory
 Enforced: Yes
........
Thresholds
Hard Threshold: 8.00G
 Hard Exceeded: No
 ........

 

타겟 디렉토리에 잘못된 할당량이 설정된 경우 타겟 PowerScale Cluster에서 아래 명령을 실행하여 하드 임계값을 소스와 동일한 값으로 업데이트합니다.

Cluster-2# isi quota quotas modify --path /path/to/directory --type directory --hard-threshold 8GB

 

타겟 디렉토리에 할당량이 설정되지 않은 경우 타겟 PowerScale Cluster에서 아래 명령을 실행하여 하드 임계값을 소스와 동일한 값으로 설정합니다.

Cluster-2# isi quota quotas create --path /path/to/directory --type directory --hard-threshold 8GB --enforced true --container true

 

Additional Information

이 문서에서 설명하는 문제는 Dell Container Storage Modules 버전 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.5.1 및 1.6.0에서 나타날 수 있습니다.

 

Affected Products

Container Storage Modules

Products

Container Storage Modules Family
Article Properties
Article Number: 000212449
Article Type: Solution
Last Modified: 24 May 2024
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.