LinuxQuestions.org
Review your favorite Linux distribution.
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 09-04-2005, 07:51 AM   #1
rconan
Member
 
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, 11:25 AM   #2
cmisip
Member
 
Registered: Aug 2002
Posts: 189

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

http://home.mchsi.com/~cmisip/mythtv.htm

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, 02:46 AM   #3
chandramani_yadav
Member
 
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

umount/mnt/lvm/localvg-usrlv
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, 12:52 AM   #4
apple20121314
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, 02:51 AM   #5
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
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.

http://www.howtoforge.com/logical-vo...a-volume-group

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

HTH

@ 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, 02:32 AM   #6
abcmei
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.
 
  


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


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

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