[linux-lvm] different outputs in LVM tools (bug?)

Heinz J . Mauelshagen mauelshagen at sistina.com
Wed Jul 25 09:01:50 UTC 2001


On Wed, Jul 25, 2001 at 09:17:05AM +0200, Julien Baboud wrote:
> hi,
> 
>  I'm using the 0.9.1 beta 7 version, and I have encountered a problem
> (but perhaps it is not) with the LVM tools :
>  when I use the 'vgdisplay' command I obtain this :
> 
> --- Volume group ---
> VG Name               vg1
> VG Access             read/write
> VG Status             available/resizable
> VG #                  0
> MAX LV                256
> Cur LV                4
> Open LV               0
> MAX LV Size           255.99 GB
> Max PV                256
> Cur PV                2
> Act PV                2
> VG Size               1000 MB
> PE Size               4 MB
> Total PE              250
> Alloc PE / Size       100 / 400 MB
> Free  PE / Size       150 / 600 MB
> VG UUID               qnJMzM-yuCq-N59y-cTey-kayU-9Wo3-hGILhU
> 
> 
> and with the 'vgdisplay -c' command, the output is :
> 
> vg1:3:5:0:256:4:0:268427264:256:2:2:1024000:8192:250:100:150:qnJMzM-yuCq-N59y-cTey-kayU-9Wo3-hGILhU
>                                             ----
> 
> The difference is in the 'PE Size' field : in the first we have 4 MB and
> in the second 8192 (ie : 8 MB)
> Is this a known bug or is there any explanation ?

Julien,

internally LVM uses units of 512 byte -> 8192 * 512 byte == 4 MB.

> 
> 
> Julien,
> 4 Atix
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the linux-lvm mailing list