From f77180cf498415fad206ba8a0c54fc2246477938 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 24 Oct 2017 11:18:19 -0400 Subject: [PATCH] group_vars: update the examples in lvm for bluestore support Signed-off-by: Alfredo Deza --- group_vars/osds.yml.sample | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/group_vars/osds.yml.sample b/group_vars/osds.yml.sample index 0b6505adb..3c97c62c4 100644 --- a/group_vars/osds.yml.sample +++ b/group_vars/osds.yml.sample @@ -197,14 +197,16 @@ dummy: #bluestore_wal_devices: "{{ dedicated_devices }}" # III. Use ceph-volume to create OSDs from logical volumes. -# Use 'osd_scenario: lvm' to enable this scenario. Currently we only support dedicated journals +# Use 'osd_scenario: lvm' to enable this scenario. # when using lvm, not collocated journals. -# lvm_volumes is a list of dictionaries. Each dictionary must contain a data, journal and vg_name -# key. Any logical volume or logical group used must be a name and not a path. -# data must be a logical volume -# journal can be either a lv, device or partition. You can not use the same journal for many data lvs. +# lvm_volumes is a list of dictionaries. +# +# Filestore: Each dictionary must contain a data, journal and vg_name key. Any +# logical volume or logical group used must be a name and not a path. data +# must be a logical volume. journal can be either a lv, device or partition. +# You can not use the same journal for many data lvs. # data_vg must be the volume group name of the data lv -# journal_vg is optional and must be the volume group name of the journal lv, if applicable +# journal_vg is optional and must be the volume group name of the journal lv, if applicable. # For example: # lvm_volumes: # - data: data-lv1 @@ -217,6 +219,28 @@ dummy: # - data: data-lv3 # journal: /dev/sdb1 # data_vg: vg2 +# +# Bluestore: Each dictionary must contain at least data. When defining wal or +# db, it must have both the lv name and vg group (db and wal are not required). +# This allows for four combinations: just data, data and wal, data and wal and +# db, data and db. +# For example: +# lvm_volumes: +# - data: data-lv1 +# data_vg: vg1 +# wal: wal-lv1 +# wal_vg: vg1 +# - data: data-lv2 +# db: db-lv2 +# db_vg: vg2 +# - data: data-lv3 +# wal: wal-lv1 +# wal_vg: vg3 +# db: db-lv3 +# db_vg: vg3 +# - data: data-lv4 +# data_vg: vg4 + #lvm_volumes: [] -- 2.39.5