Search This Blog

Wednesday, June 1, 2011

How to Extend Root partition using LVM?

In this article,I am using a virtual instance of linux machine hosted on SUN virtual box.

The linux machine is allocated a harddisk space of 5 gb .
The root partition itself occupied 4 GB of space and the rest was allocated to Swap.

It was all clear from a beginning that i m going to face space crunch on the newly created machine.

Thankfully root was partitioned with LVM.

So i added a new Hardisk of 8 GB and extended the / size.

I found following post very useful .

I described my problem on following forum and the reply was so informative.

I learned not to grow the partition when it is mounted(Especially /) and rather use live CD to do the same.

No comments:

Post a Comment