[linux-lvm] mke2fs problem

Jan Niehusmann list039 at gondor.com
Tue Jan 9 00:02:25 UTC 2001


On Mon, Jan 08, 2001 at 04:53:42PM -0700, Gordon Schumacher wrote:
>    lvcreate -i 2 -L 52M -n lv1 mygrp
>    lvcreate -i 2 -L 12M -n lv2 mygrp
[...]
>    So, everything *looks* like it's the right size; but mke2fs seems to
>    think that it's talking to a ~57MB and ~16MB disk, respectively!  What
>    am I doing wrong here? 

Well, you actually told lvcreate to create volumes of 52MB and 12MB. lvcreate
had to round them up to multiples of 8, so you got 56MB and 16MB. What's
wrong about that? 

If you want gigabytes instead of megabytes, use G and not M ;-)

Jan




More information about the linux-lvm mailing list