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

Re: Changing to lvm from ext4



On Tue, 28 May 2013, To Ro wrote:

> What would be the best course of action to switch my system to lvm?

Why do you want or need LVM?  Unless you need lots of space, or adding
lots of hard drives over time as you run out of space, or quick resizing
of partitions, or adding or deleting lots of partitions, etc.

It can be done but involves lots of precise steps which if you have no
experience with LVM is a process difficult to achieve without errors.
And, if you make an error, you might end up with an unbootable system
or worse.

I checked into doing this some months ago on my system when I added
Wheezy as a dual boot with Fedora 12, which was starting to give me
problems. My conclusion after lots of research: It wasn't worth all the
effort for a system with just one hard drive which might or might not
get one more sometime in the future.  Conventional partitioning and
mounting in this case would work just fine.

However, my research also indicated that the easiest way to do what you
want--in general--is to buy a new hard drive, make it LVM, partitioned
as you like, then copy the OS, etc. off the original conventionally
partitioned drive to it, edit the necessary files of the original
install so the system will boot off the new drive, then make the old
drive LVM, after removing all the old partitions, and add it to the new
drive LVM.

B 


Reply to: