From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k21D3e131196 for ; Wed, 1 Mar 2006 08:03:40 -0500 Received: from mail.telecyl.com (www.comarcasdeinterior.com [212.22.34.136]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id k21D3cB5014939 for ; Wed, 1 Mar 2006 08:03:39 -0500 Message-ID: <44059BAB.6020307@telecyl.com> Date: Wed, 01 Mar 2006 14:03:39 +0100 From: Alejandro Alfonso MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------020301080607090801050604" Subject: [linux-lvm] Create a Logical volume with 100% of Volume groups size? Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com This is a multi-part message in MIME format. --------------020301080607090801050604 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 Best regards! --=20 ------------------------------------------------------------------------ =20 * Alejandro Alfonso Fern=EF=BF=BDndez Dpto de Sistemas. =EF=BF=BDrea Corporativa * alejandro.alfonso@telecyl.com http://www.telecyl.com/ =20 Proci=EF=BF=BDn 7, Portales 1-2 Edificio Am=EF=BF=BDrica II 28023 Madrid Tfn: 91 452 18 00 - Fax: 91 452 18 08 Juan Garc=EF=BF=BDa Hortelano, 43 Edificio Telecyl 47014 Valladolid Tfn: 983 428 200 - Fax: 983 428 223 ------------------------------------------------------------------------ --------------020301080607090801050604 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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

Best regards!
--

 
      Alejandro Alfonso Fernández
      Dpto de Sistemas. Área Corporativa
alejandro.alfonso@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

--------------020301080607090801050604--