Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-21-2007, 05:56 PM   #1
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 200

Rep: Reputation: 31
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.
Old 04-26-2007, 07:52 AM   #2
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,045

Rep: Reputation: Disabled
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?
Old 04-26-2007, 04:28 PM   #3
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29

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

Last edited by shahz; 04-26-2007 at 04:31 PM.
Old 04-27-2007, 04:16 AM   #4
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 200

Original Poster
Rep: Reputation: 31
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM and shrinking the root filesystem coreychch Linux - Newbie 5 11-22-2015 10:35 PM
Resizing a root LVM filesystem eigoteacher Linux - Newbie 7 08-23-2007 09:36 AM
Unify 2 filesystem with LVM oswaldospe Linux - Enterprise 0 09-18-2006 01:15 PM
Increase EXT3 Filesystem size in a LVM? jadupl2 Red Hat 3 11-14-2004 08:40 PM
bootsector location with lvm filesystem flv7a Linux - General 1 11-07-2003 10:53 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration