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

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



Alejandro Alfonso wrote:
> Hi everybody!
> 
> 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


-- 

patrick


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