Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-27-2009, 06:03 PM   #1
Registered: Jul 2005
Location: Manchester (UK)
Distribution: Fedora CentOS
Posts: 132

Rep: Reputation: 18
Growing an LVM Partition in Fedora 10 using Logical Volume Manager

OK, please see the image attached to this thread.

Essentially I originally setup Fedora 10 dual booted with XP, I then found I'd been daft and given my Windows partition FAR too much room, so I trimmed it back by 50GB, this has left me with 50GB of unpartitioned space which I'd like to add to my LVM, if I could work out how.

Let me know if you need more information.


Stupidly I've just gotten myself a step further, I used GParted to initialize the drive and leave it unformatted, I could then add it to my LVM using the Logical Volume Manager GUI but df is still listing the same space as before.

Still looking into this.
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Logical Volume Management.png
Views:	30
Size:	75.7 KB
ID:	42  

Last edited by Lee_Ball; 01-27-2009 at 06:07 PM.
Old 01-29-2009, 09:14 AM   #2
Senior Member
Registered: May 2008
Posts: 4,480
Blog Entries: 7

Rep: Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961Reputation: 1961
The easiest and lowest risk way would be to create a new lvm partition (type 8e) in the unused space with your preferred partition editor and then run pvcreate and vgextend commands on it. The manual pages will give you the details but a quick example would be

pvcreate /dev/sdaN (where sdaN is your newly created lvm partition)
vgextend VolGroup00 /dev/sdaN

The alternative (assuming the free space is at the end of your existing PV) would be to resize the partition and then run pvextend on it to make it available, but that's much higher risk and unless your comfortable enough with disk partitions and lvm to figure out how for yourself I'd recommend you go with the first option.

As always before making changes to disk storage, make sure you've got a good backup in case something bad happens.


Forgot to add, to make the new space available to you filesystems (so that df shows it), you'll then need to do a lvextend and then extend the filesystem on that LV. How varies depending on which filesystem you use.

Last edited by GazL; 01-29-2009 at 09:16 AM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Resize Root LVM Logical Volume??? jdupre Fedora 17 10-02-2010 08:21 AM
Logical volume size growing SKVDurai Linux - Server 3 08-06-2008 10:33 AM
Shrinking a Logical Volume With LVM jimmyjiang Red Hat 1 02-28-2008 05:45 PM
LVM: The Impact of Reducing a Logical Volume Size? muff Linux - General 0 07-27-2007 03:18 AM
LXer: Consistent backup with Linux Logical Volume Manager (LVM) snapshots LXer Syndicated Linux News 0 06-02-2006 05:21 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:15 AM.

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