All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] different outputs in LVM tools (bug?)
@ 2001-07-25  7:17 Julien Baboud
  2001-07-25  9:01 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Julien Baboud @ 2001-07-25  7:17 UTC (permalink / raw)
  To: linux-lvm

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,
4 Atix

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] different outputs in LVM tools (bug?)
  2001-07-25  7:17 [linux-lvm] different outputs in LVM tools (bug?) Julien Baboud
@ 2001-07-25  9:01 ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz J . Mauelshagen @ 2001-07-25  9:01 UTC (permalink / raw)
  To: linux-lvm

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@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@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-25  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-25  7:17 [linux-lvm] different outputs in LVM tools (bug?) Julien Baboud
2001-07-25  9:01 ` Heinz J . Mauelshagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.