Opened 11 years ago

Closed 11 years ago

#245 closed defect (fixed)

LVM Logical Volumes size is rounded to GB

Reported by: lejav Owned by: bruno
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 Changed 11 years ago by lejav

My email address : lejav@…

comment:2 Changed 11 years ago by bruno

  • Status changed from new to assigned

Should be fixed in rev [1942] (patch from Thomas Kjeldsen t.k.kjeldsen_at_gmail.com) Will be in 2.2.6

comment:3 Changed 11 years ago by bruno

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

comment:4 Changed 11 years ago by bruno

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.