[linux-lvm] fdisk and lvs size differences

Bryn M. Reeves breeves at redhat.com
Wed Jan 9 16:13:45 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tomasz Chmielewski wrote:
> What lvm manual exactly? I didn't find anything about upper/lower case
> units supported in "man lvcreate" or "man lvm". In fact, it didn't make
> a difference here whether I used "g" or "G".

You're right - I was mistaken about using upper/lower to switch between
units in LVM2.

It doesn't change the fact that this is why you're seeing a difference
between the output of fdisk & the lvm tools though. LVM2 reports the
size using binary prefixes (powers-of-two) and fdisk uses the SI units.

Regards,
Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHhPK56YSQoMYUY94RAhcrAKDhlJvN3KGvUvH8xB+uN980g54CAQCgkwOu
Y7f7LhY08tES5SaxKkHq2Ec=
=Qy+P
-----END PGP SIGNATURE-----




More information about the linux-lvm mailing list