Opened 12 years ago

Closed 12 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:


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 Changed 12 years ago by lejav

My email address : lejav@…

comment:2 Changed 12 years ago by Bruno Cornec

Status: newassigned

Should be fixed in rev [1942] (patch from Thomas Kjeldsen Will be in 2.2.6

comment:3 Changed 12 years ago by Bruno Cornec

Please check that official 2.2.6 now out is solving that pb.

comment:4 Changed 12 years ago by Bruno Cornec

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.