different outputs in LVM tools (bug?)
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
Quoted 26 lines · Julien Baboud
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
Quoted 8 lines
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.
Quoted 9 lines
Julien,
4 Atix
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
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
[email protected] +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-