LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

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

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.
Mario
 
Old 04-26-2007, 07:52 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,655

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
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Rep: Reputation: 29
dear

well i have some notes relating the same problem.you can check the http://www.tldp.org 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
mariogarcia
Member
 
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 192

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.
 
  


Reply


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 4 05-21-2012 01:47 AM
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


All times are GMT -5. The time now is 08:24 AM.

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