From 5acc63454907bcb7e7aed77b3089a66866be8a0e Mon Sep 17 00:00:00 2001 From: Misho Krastev Date: Mon, 5 Jan 2015 01:52:20 -0800 Subject: [PATCH] fix lvol module to properly query the size of logical volumes --- system/lvol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/lvol.py b/system/lvol.py index 96f1b846e27..93f95a6a238 100644 --- a/system/lvol.py +++ b/system/lvol.py @@ -153,7 +153,7 @@ def main(): unit = size_unit rc, current_lvs, err = module.run_command( - "lvs --noheadings -o lv_name,size --units %s --separator ';' %s" % (unit, vg)) + "lvs --noheadings --nosuffix -o lv_name,size --units %s --separator ';' %s" % (unit, vg)) if rc != 0: if state == 'absent':