From: Jan Fajerski Date: Mon, 27 Apr 2020 09:44:20 +0000 (+0200) Subject: ceph-volume: api/lvm - query LV units in bytes X-Git-Tag: v16.1.0~950^2~28 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=de7d67603a135825d8b4e37a06dd4b6a12dbcf1c;p=ceph.git ceph-volume: api/lvm - query LV units in bytes Signed-off-by: Jan Fajerski --- diff --git a/src/ceph-volume/ceph_volume/api/lvm.py b/src/ceph-volume/ceph_volume/api/lvm.py index 778614f96ff5..c862b3d80af9 100644 --- a/src/ceph-volume/ceph_volume/api/lvm.py +++ b/src/ceph-volume/ceph_volume/api/lvm.py @@ -740,7 +740,8 @@ def get_device_vgs(device, name_prefix=''): ############################### LV_FIELDS = 'lv_tags,lv_path,lv_name,vg_name,lv_uuid,lv_size' -LV_CMD_OPTIONS = ['--noheadings', '--readonly', '--separator=";"', '-a'] +LV_CMD_OPTIONS = ['--noheadings', '--readonly', '--separator=";"', '-a', + '--units=b', '--nosuffix'] class Volume(object):