Review your favorite Linux distribution.
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 09-04-2005, 08:51 AM   #1
Registered: Jun 2005
Distribution: Debian Unstable (Sid)
Posts: 63

Rep: Reputation: 15
Extend LVM partition

I want to extend my LVM partition with some free space that is just before it on the drive..

I am aware this takes four steps:

1. Extend underlying LVM partition
2. Extend VolGroup00
3. Extend LogVol00
4. Extend ext3 filesystem

But how to do each of these steps I don't know.

If i simply delete the partition then remake one the right size (for step 1) then the beginning of the partition will be in the wrong place (which will cause problems wont it?)
Old 09-05-2005, 12:25 PM   #2
Registered: Aug 2002
Posts: 189

Rep: Reputation: 30
I dont know if it will help but

There is a section on LVM. It doesn't seem to work all the time and haven't figured this out yet.

I cant be responsible if you mess up your system. At least the commands are there for your reference.

I think you need to :

create a physical volume on that free partition with pvcreate
extend your lvm group with vgextend
extend your logical volume with lvextend
resize your fs

Good luck
Old 01-21-2009, 03:46 AM   #3
Registered: Jan 2007
Location: Vienna
Distribution: Redhat
Posts: 47

Rep: Reputation: 19
To extend a LVM partition for Eg. say /usr

follow the below given steps

boot the system using a live cd

lvextend --size +2G -n /dev/localvg/usrlv
e2fsck -f /dev/localvg/usrlv
resize2fs /dev/localvg/usrlv
e2fsck -f /dev/localvg/usrlv

and it is done.
Old 08-23-2010, 01:52 AM   #4
LQ Newbie
Registered: Jul 2010
Posts: 4

Rep: Reputation: 0
Efficient way to extend partition

Your problem--extend LVM partition also can be realized by the Extend Partition Assistant Professional Edition, I promise. This can really help you finish the work that you want to do flawlessly. I used to extend partition through it. The users all spoke highly of it. You can have a try ignore the complex procedures you lined.
Old 08-23-2010, 03:51 AM   #5
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
Hi rconan,

If your volume gorup has free space then simply you can run lvextend.

if your volume-gorup has no space and you have free space on you HDD then you can follow steps suggested by cmisip.

A link provide how to extend VG. after that you can extend LV.


@ cmisip
link provided by you is not working for me.

@ apple20121314
The forum is for linux and open source and OP want to extend LVM in linux.

Link provide by you is for windwos. So it related to LVM.
Old 08-31-2010, 03:32 AM   #6
LQ Newbie
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Thumbs up

I had the same problem you did, but under the help of Partition Assistant I overcome the problem.


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
Shrinking an LVM partition Sabre_X Linux - Software 6 10-01-2005 12:13 AM
How can I extend my partition which is running out of space bloretech Linux - Enterprise 1 09-21-2005 10:20 PM
How to convert partition to LVM? TheOther1 Linux - General 0 01-04-2004 01:29 PM
howto extend ext3 partition compfriend Linux - Hardware 1 09-16-2003 11:42 AM
instalation can't detect my fat32 extend partition indiosmo Slackware 8 05-19-2003 04:49 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:07 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
Open Source Consulting | Domain Registration