Skip to content

Commit

Permalink
mds: create EC pool as secondary pool
Browse files Browse the repository at this point in the history
When creating EC fs, create replicated pool as primary
pool and ec pool as secondary pool, creating ec pool
as primary is not encouraged and it will lead to failure.

Also, changing the pool name in storageclass-ec file.

Closes: #8210
Signed-off-by: subhamkrai <srai@redhat.com>
  • Loading branch information
subhamkrai committed Dec 7, 2021
1 parent 5f44b1c commit 4d4e76f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Documentation/ceph-filesystem-crd.md
Expand Up @@ -86,6 +86,8 @@ spec:
replicated:
size: 3
dataPools:
- replicated:
size: 3
- erasureCoded:
dataChunks: 2
codingChunks: 1
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/csi/cephfs/storageclass-ec.yaml
Expand Up @@ -14,7 +14,7 @@ parameters:

# Ceph pool into which the volume shall be created
# Required for provisionVolume: "true"
pool: myfs-ec-data0
pool: myfs-ec-data1

# The secrets contain Ceph admin credentials. These are generated automatically by the operator
# in the same namespace as the cluster.
Expand Down
2 changes: 2 additions & 0 deletions deploy/examples/filesystem-ec.yaml
Expand Up @@ -17,6 +17,8 @@ spec:
size: 3
# The list of data pool specs
dataPools:
- replicated:
size: 3
# You need at least three `bluestore` OSDs on different nodes for this config to work
- erasureCoded:
dataChunks: 2
Expand Down

0 comments on commit 4d4e76f

Please sign in to comment.