-   Linux - Software (
-   -   add lvm to expand a full filesystem (

mariogarcia 04-21-2007 05:56 PM

add lvm to expand a full filesystem
Hello I am using debian
I have the root (/) partition full. I have freed space disk somewhere else but it's not contiguous

I decided that the best option is LVM. I have released espace somewhere else in the harddrive and using cfdisk i have formatted it to partition type 8e linux LVM
now how do I configure the system to use that partition formatted in linux LVM so that i can have its space available for the root partition.. can I convert the root partition to lvm without losing any data.
i have already recompiled the kernel and added support for lvm under device drivers.
thank you very much.

JZL240I-U 04-26-2007 07:52 AM

As I understand it, you can't. LVM has to be there before the file system is created (and the structure of the physical and logical volumes is created). And for / you have to do that during install.

Can't you borrow a disk, move your data over and re-design the layout of your own disk?

shahz 04-26-2007 04:28 PM


well i have some notes relating the same can check the and there is i think answer for your question.

mariogarcia 04-27-2007 04:16 AM

I have already read the LVM howto in TLDP. even before posting here. I 'll try and reread again to see if i can finally understand.

All times are GMT -5. The time now is 02:56 PM.