https://bugzilla.novell.com/show_bug.cgi?id=342862 Summary: lvdisplay -c shows incorrect size Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: luizluca@tre-sc.gov.br QAContact: qa@suse.de Found By: --- Hello, according to lvdisplay man pages, the option -c shows: -c, --colon Generate colon separated output for easier parsing in scripts or programs. N.B. lvs (8) provides considerably more control over the output. The values are: * logical volume name * volume group name * logical volume access * logical volume status * internal logical volume number * open count of logical volume * logical volume size in kilobytes * current logical extents associated to logical volume * allocated logical extents of logical volume * allocation policy of logical volume * read ahead sectors of logical volume * major device number of logical volume * minor device number of logical volume But using the command I got: # lvdisplay /dev/system/teste_root --- Logical volume --- LV Name /dev/system/teste_root VG Name system LV UUID rnLTEk-GB26-TWEq-32eD-1EVE-b9UY-B9gKh9 LV Write Access read/write LV Status available # open 0 LV Size 4,00 GB Current LE 1024 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:13 # lvdisplay -c /dev/system/teste_root /dev/system/teste_root:system:3:1:-1:0:8388608:1024:-1:0:0:253:13 The first (correct) say I got a 4GB lv and the second says that I have a 8388608k lv (incorrect). It should be x/2. This happens on 10.3 and also on 10.2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.