LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 10-21-2004, 04:13 AM   #1
sendas4
Member
 
Registered: May 2004
Location: Tacoma, Wa
Distribution: Gentoo
Posts: 94

Rep: Reputation: 15
Cant resize with LVM plz help


I have 2 80gb hds running gentoo and LVM2

i type in lvextend -L+5G /dev/vg/movies

and it tells me extending logical Volume to 20GB
Logical Volume movies successfully resized.

But when i df -h the size is still 15G same goes if i try to lvextend any of my other /dev/vg 's

anyone know what causes this?
 
Old 10-21-2004, 09:22 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Is that the only command you running to extend the partitions? I think your missing a few commands
 
Old 10-21-2004, 11:59 AM   #3
sendas4
Member
 
Registered: May 2004
Location: Tacoma, Wa
Distribution: Gentoo
Posts: 94

Original Poster
Rep: Reputation: 15
well ya after i added the 2nd HD to the vg group. so i did this


Code:
vgextend vg /dev/hdb1
Code:
lvextend -L+5G /dev/vg/movies

what am i missing?
 
Old 10-21-2004, 01:17 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Here's the steps I usually take say if I wanted to extend my scratch partition:

sudo umount /dev/vg/scratch
sudo lvextend --size +5g /dev/rootvg/scratch
sudo e2fsck -f /dev/rootvg/scratch
sudo resize2fs /dev/rootvg/scratch
sudo mount /scratch

Note: I only have sudo in front as I rarely login as root, which is a good thing.
 
Old 10-21-2004, 08:05 PM   #5
sendas4
Member
 
Registered: May 2004
Location: Tacoma, Wa
Distribution: Gentoo
Posts: 94

Original Poster
Rep: Reputation: 15
Perfect it worked. Thanks for the help.
 
  


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 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
How do I resize LVM volume group? rconan Fedora 5 04-22-2009 08:45 PM
resize LVM partition bkesting Linux - General 3 06-17-2005 10:28 AM
Resize existing and add another partition with LVM donv2 Linux - Newbie 3 04-27-2005 05:23 AM
LVM wont add my new hd. plz help sendas4 Linux - General 1 11-08-2004 03:27 PM


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

Main Menu
Advertisement
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