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

[linux-lvm] Re : create physical partition from logical partition



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



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