Opened 16 years ago
Closed 16 years ago
#245 closed defect (fixed)
LVM Logical Volumes size is rounded to GB
Reported by: | lejav | Owned by: | Bruno Cornec |
---|---|---|---|
Priority: | normal | Milestone: | 2.2.6 |
Component: | mindi | Version: | 2.2.5 |
Severity: | normal | Keywords: | |
Cc: |
Description
A logical volume whose size is for instance 1.5 GB
is restored to 1 GB by mondo.
OS = RedHat 4 / RedHat 5 The problem comes from the function GetValueFromField in /usr/lib/mindi/analyze-my-lvm
which gives the size by awk '{printf "%d",...}' from the line LV Size given by lvdisplay.
For my example, LV Size = 1.50 GB, and awk '{printf "%d","1.50"}' prints '1' A solution is to change 'lvdisplay' by 'lvdisplay --units m' ; but i don't
know if this option is supported on every platform.
Not sure that this is a bug or a limitation.
Change History (4)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Status: | new → assigned |
---|
Should be fixed in rev [1942] (patch from Thomas Kjeldsen t.k.kjeldsen_at_gmail.com) Will be in 2.2.6
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
My email address : lejav@…