[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]