linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: georges.giralt@free.fr
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: [linux-lvm] Re :  create physical partition from logical partition
Date: Thu, 7 Feb 2013 12:01:21 +0100 (CET)	[thread overview]
Message-ID: <586596874.331036957.1360234881236.JavaMail.root@zimbra39-e7.priv.proxad.net> (raw)
In-Reply-To: <CAMugGiGoVAKVTXHrcTwLOkiGCOF_iK5BsGKPo-5bHhXiC-f4tg@mail.gmail.com>

Hello !
I suppose you do not want to loose any data ?
If yes, I'll give only steps to follow and not detailed instructions in order for you to study and understand what you are doing and not break anything. 
Actually, given the picture shown, the volume group uses only the second partition of the physical disk (sda2) not the whole disk. But this is not relevant. 
At first, you have to calculate how many PE left free you have. Decide what number you will keep free for future Centos extension. 
Then, reduce the volume group size by the amount you can free (Number of PE x PE size)
If this is successful, Check that the now unallocated PE are at the end of sda2. 
Then reduce the size of the sda2 partition, freeing space for a new partition. 
Then create a new partition onto which you could install the new OS... 

Hope this helps. 
----- Mail d'origine -----
De: fakhreddine HABIB <fakhreddine2006@gmail.com>
À: linux-lvm@redhat.com
Envoyé: Wed, 06 Feb 2013 18:10:15 +0100 (CET)
Objet: [linux-lvm] create physical partition from logical partition

Hi,

   I nead please your help to create a physical partition from a logical
partition.

   I present my problem : I have the configuration (attached pic) of the
partitions.

   I use the centos system. The problem that my group volume "vg_rega" use
the whole of the physical disk. I want to install Ubuntu system with centos
(dual boot), but i need a physical partition to do that. How can'i convert
the " Unused Space " logical partition to physical partition to install
Ubuntu.

  Thank you.

F.H

  reply	other threads:[~2013-02-07 11:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-06 17:10 [linux-lvm] create physical partition from logical partition fakhreddine HABIB
2013-02-07 11:01 ` georges.giralt [this message]
2013-02-07 13:02 ` Marian Csontos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=586596874.331036957.1360234881236.JavaMail.root@zimbra39-e7.priv.proxad.net \
    --to=georges.giralt@free.fr \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).