Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 07-30-2009, 12:06 PM   #16
Registered: Jul 2005
Location: Florida
Distribution: Red Hat
Posts: 34

Rep: Reputation: 15

Originally Posted by jdupre View Post
Thank you for the replies.
I was sucessfull in reducing the root LVM logical volume on a default FC3 install to 10G with the following commands:

Boot with rescue CD. Skip mounting of the system partitions.

# lvm vgchange -a y
# e2fsck -f /dev/VolGroup00/LogVol00
# resize2fs -f /dev/VolGroup00/LogVol00 10G
# lvreduce -L10G /dev/VolGroup00/LogVol00

I recieved a message "Please run e2fsck -f /dev/VolGroup00/LogVol00" when trying to run resize2fs (even after I had run e2fsck) so I added the -f switch to force the resize. All went well.

- Joe
Hi All....this worked for me as well w/ RHEL 5.2
Old 07-30-2009, 12:08 PM   #17
Registered: Jul 2005
Location: Florida
Distribution: Red Hat
Posts: 34

Rep: Reputation: 15
Originally Posted by WhatsHisName View Post
To activate the LVMs in FC4 Rescue Mode, run this from the command line:

lvm vgchange -a y

For a list of LVM commands, run:

lvm help

There is a really good LVM HowTo here

The bottom line about resizing ext3 logical volumes is that it is easy to make them bigger, but difficult to make them smaller. In theory, the resize2fs command can reduce the size of the ext3 filesystem, but in practice, you will get a fatal error message regarding the new target size when you try to reduce the ext3 filesystem.

RedHat has really screwed everyone who uses the installation default LVM partitioning scheme, because it fills the volume group with logical volume(s), but does not provide tools for reducing the ext3 logical volumes to allow others to be created or enlarged. I anticipate that these tools will appear at some future date, presumably before the release of RHEL5. But, for now, you're screwed.
You hit the nail on the head....
By the way, it doesn't look like RH has addressed this in RHEL5....still screwed....well not totally screwed i guess.....the work around above does work

Last edited by linux-who?; 07-30-2009 at 12:10 PM.
Old 10-02-2010, 07:21 AM   #18
LQ Newbie
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
It worked on RH ES 5

I just followed instructions as per Joe postings ... and worked perfectly!

Thank you!


lvm, resize

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
How do I resize LVM volume group? rconan Fedora 5 04-22-2009 07:45 PM
how to reduce logical volume LinuxLover Linux - Enterprise 2 10-29-2005 08:26 AM
lvm extending logical partation Ammad Linux - General 0 09-25-2005 04:39 AM
LVM (logical volumnes) calutateo Linux - Newbie 2 07-13-2005 07:32 PM
resizing a logical volume nicentral AIX 2 06-11-2005 04:03 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:06 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