[linux-lvm] Only 4MB of space on a 1GB file mounted in loopback

Milan Broz mbroz at redhat.com
Wed Jul 7 13:57:53 UTC 2010


On 07/07/2010 03:32 PM, Benjamin Henrion wrote:
> Hi,
> 
> I have setup some LVM volume to test on a loopback file of 1GB, but I
> end up with a file of 4MB, do you have any idea what went wrong?:

> root at buzek /home/zoobab [27]# lvcreate -i1 -l 1 -n testvol testgroup

lvcreate -l 1 -> create LV of 1 extent size == 4MB

you want -l 100%FREE ? or -L 1G ?

and -i makes no sense, you cannot create stripe on one PV, -i1 is default

Milan




More information about the linux-lvm mailing list