[linux-lvm] lvm2 conf on boot disk

Jack Waterworth jack at redhat.com
Wed Jul 9 16:46:18 UTC 2014

There is no way to do an in-place convert from a partitioned device to 
LVM without losing data. I would recommend adding a new disk, reinstall 
the OS on the new disk with LVM, and then moving over any data that was 
required after installation.

You may be able to do this in rescue mode within a chrooted environment, 
but things could get messy. Add the new device, build the lvm stack, 
copy over the data then chroot into the NEW lvm root. Mount everything 
appropriately, recreate the initrd and re-install grub onto the new 
disk.  Go in with the expectation that you may be fixing things after 
the reboot from rescue mode.

   Jack Waterworth, RHCE
   Senior Technical Support Engineer
   Red Hat Global Support Services
   919.610.2024 -- jack at redhat.com

On 07/08/2014 05:56 AM, Alfredo De Luca wrote:
> Hi all.
> I have red hat 5.7 with no lvm2 installed. Now I want to configure
> lvm2 on the root and swap partition then later on adding a couple of
> LUNs to create a VG
> What's the best practice/procedure to install lvm2 on the boot disk?
> Is it possible? I guess I have to run Linux CD in rescue mode
> Regards

More information about the linux-lvm mailing list