[linux-lvm] Create a Logical volume with 100% of Volume groups size?
Patrick Caulfield
pcaulfie at redhat.com
Wed Mar 1 13:21:39 UTC 2006
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
More information about the linux-lvm
mailing list