Ceph: journal partitions instead of whole disk

This is to represent specific partitions for journals
instead of  whole disk, ceph charts will create journal partitions
and default size is 10GB

Change-Id: I0f032a0d87396fe44f1179b3104ed446cc448d28
This commit is contained in:
Chinasubbareddy Mallavarapu 2019-02-08 18:09:29 -06:00 committed by chinasubbareddy mallavarapu
parent 21adfe01c2
commit 56a91502a2
3 changed files with 26 additions and 20 deletions

View File

@ -27,29 +27,31 @@ data:
# NEWSITE-CHANGEME: The OSD count and configuration here should not need
# to change if your HW matches the HW used in this environment.
# Otherwise you may need to add or subtract disks to this list.
# no need to create below jounal partitons as ceph charts will create them
# default size of journal partions is 10GB
osd:
- data:
type: block-logical
location: /dev/sde
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb1
- data:
type: block-logical
location: /dev/sdf
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb2
- data:
type: block-logical
location: /dev/sdg
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc1
- data:
type: block-logical
location: /dev/sdh
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc2
...

View File

@ -23,53 +23,55 @@ data:
# NEWSITE-CHANGEME: The OSD count and configuration here should not need
# to change if your HW matches the HW used in this environment.
# Otherwise you may need to add or subtract disks to this list.
# no need to create below jounal partitons as ceph charts will create them
# default size of journal partions is 10GB
osd:
- data:
type: block-logical
location: /dev/sdd
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb1
- data:
type: block-logical
location: /dev/sde
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb2
- data:
type: block-logical
location: /dev/sdf
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb3
- data:
type: block-logical
location: /dev/sdg
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb4
- data:
type: block-logical
location: /dev/sdh
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc1
- data:
type: block-logical
location: /dev/sdi
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc2
- data:
type: block-logical
location: /dev/sdj
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc3
- data:
type: block-logical
location: /dev/sdk
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc4
...

View File

@ -25,53 +25,55 @@ data:
# NEWSITE-CHANGEME: The OSD count and configuration here should not need
# to change if your HW matches the HW used in this environment.
# Otherwise you may need to add or subtract disks to this list.
# no need to create below jounal partitons as ceph charts will create them
# default size of journal partions is 10GB
osd:
- data:
type: block-logical
location: /dev/sdd
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb1
- data:
type: block-logical
location: /dev/sde
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb2
- data:
type: block-logical
location: /dev/sdf
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb3
- data:
type: block-logical
location: /dev/sdg
journal:
type: block-logical
location: /dev/sdb
location: /dev/sdb4
- data:
type: block-logical
location: /dev/sdh
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc1
- data:
type: block-logical
location: /dev/sdi
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc2
- data:
type: block-logical
location: /dev/sdj
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc3
- data:
type: block-logical
location: /dev/sdk
journal:
type: block-logical
location: /dev/sdc
location: /dev/sdc4
...