[linux-lvm] Create a Logical volume with 100% of Volume groups size?

Alejandro Alfonso alejandro.alfonso at telecyl.com
Wed Mar 1 15:32:05 UTC 2006


Thanks Patrick!

promise i've read the man but dosen't understand Logical Extents concept :)

Best regards!
>> we only want to use LVM with one Logical volume, and want to use the
>> 100% of available space.
>> is there any way to create it? Look:
>>
>> acrol ~ # vgdisplay
>>   --- Volume group ---
>>   VG Name               mirror
>> [...]
>>   VG Size               232.88 GB
>>   PE Size               32.00 MB
>>   Total PE              7452
>>   Alloc PE / Size       7452 / 232.88 GB
>>   Free  PE / Size       0 / 0
>> [...]
>>
>> acrol ~ # lvcreate -L232.88G -nlv00 mirrorPoe
>>   Rounding up size to full physical extent 232.91 GB
>>   Insufficient free extents (7452) in volume group mirrorPoe: 7453 required
>>
>> How to use all the 7452 PE? Thanks in advance
>>     
>
> lvcreate -l7452 -nlv00 mirrorPoe
>
> see man lvcreate
>   

-- 
------------------------------------------------------------------------
 
*       Alejandro Alfonso Fernández
      Dpto de Sistemas. Área Corporativa *
alejandro.alfonso at telecyl.com <mailto:alejandro.alfonso at telecyl.com>
http://www.telecyl.com/
 
Proción 7, Portales 1-2 Edificio América II
28023 Madrid
Tfn: 91 452 18 00 - Fax: 91 452 18 08 	Juan García Hortelano, 43
Edificio Telecyl
47014 Valladolid
Tfn: 983 428 200 - Fax: 983 428 223

------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060301/360b637f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.jpg
Type: image/jpeg
Size: 13799 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060301/360b637f/attachment.jpg>


More information about the linux-lvm mailing list