LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 03: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, 08:22 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Is that the only command you running to extend the partitions? I think your missing a few commands
 
Old 10-21-2004, 10: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, 12:17 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 07: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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