diff options
author | Jan Fajerski <jfajerski@suse.com> | 2020-09-07 14:54:01 +0200 |
---|---|---|
committer | Jan Fajerski <jfajerski@suse.com> | 2020-09-25 11:50:23 +0200 |
commit | 7f766846328aac82d75175ed2c1c0bf3438a99e0 (patch) | |
tree | 9edaca6bc5f56b925b51e851f60df8d4cdd7b394 /src/ceph-volume/ceph_volume/devices/lvm/common.py | |
parent | doc: update ceph-volume lvm batch docs (diff) | |
download | ceph-7f766846328aac82d75175ed2c1c0bf3438a99e0.tar.xz ceph-7f766846328aac82d75175ed2c1c0bf3438a99e0.zip |
ceph-volume: make --journal optional, add --journal-slots
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Diffstat (limited to 'src/ceph-volume/ceph_volume/devices/lvm/common.py')
-rw-r--r-- | src/ceph-volume/ceph_volume/devices/lvm/common.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ceph-volume/ceph_volume/devices/lvm/common.py b/src/ceph-volume/ceph_volume/devices/lvm/common.py index e8d976540b3..2ad8562ae61 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/common.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/common.py @@ -128,13 +128,19 @@ filestore_args = { 'help': 'Use the filestore objectstore', }, '--journal': { - 'help': '(REQUIRED) A logical volume (vg_name/lv_name), or path to a device', + 'help': 'A logical volume (vg_name/lv_name), or path to a device', }, '--journal-size': { 'help': 'Size of journal LV in case a raw block device was passed in --journal', 'default': '0', 'type': disk.Size.parse }, + '--journal-slots': { + 'help': ('Intended number of slots on journal device. The new OSD gets one' + 'of those slots or 1/nth of the available capacity'), + 'type': int, + 'default': 1, + }, } def get_default_args(): |