Public bug reported:

Release: Ubuntu Hardy Server AMD64,
Package: LVM2, 2.02.26.1ubuntu9

With very large devices (here a 16x500G disk hardware RAID6 device),
pvdisplay obviously reports the wrong size with TB untis:

I would expect 6920 GB of free space. When I run "sudo pvdisplay --units G":
--- Physical volume ---
  PV Name               /dev/sdb2
  VG Name               master
  PV Size               6919,74 GB / not usable 0,00 GB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              1649794
  Free PE               1387221
  Allocated PE          262573
  PV UUID               ZLD2UJ-9z0W-N8ZK-XMcY-FVxz-xU4f-DiiSIU

This is fine. But when I run "sudo pvdisplay":
  --- Physical volume ---
  PV Name               /dev/sdb2
  VG Name               master
  PV Size               6,29 TB / not usable 1,14 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              1649794
  Free PE               1387221
  Allocated PE          262573
  PV UUID               ZLD2UJ-9z0W-N8ZK-XMcY-FVxz-xU4f-DiiSIU

So, the digits after the decimal point ("6,29 TB") are in the wrong
order. This caused me some confusion...

** Affects: lvm2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
pvdisplay reporting wrong volume size
https://bugs.launchpad.net/bugs/305940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to