Fedora Linux Support Community & Resources Center
Old 16th June 2009, 12:19 AM
kalbi Offline
Registered User
Join Date: Jun 2008
Posts: 6
Question on freeing space using lvm


Setup: FC9 installed on 500G harddisk. LVM is used.
There is one default volume group VolGroup and one logical volume LogVol00 that use almost all of disk space.

I need to host another OS on that PC with that disk. To do that I want to free some space on the disk and create new partisons on it for new OS - another Linux distro.

What I did so far:
I have reduced the size of ext3 filesystem within LogVol00 using following:
# lvm vgchange -a y
# resize2fs -f /dev/VolGroup00/LogVol00 100G
# lvm lvreduce -L100G /dev/VolGroup00/LogVol00

Everything is OK. No data loss, can boot, can work.

# lvm lvscan
ACTIVE '/dev//dev/VolGroup00/LogVol00' [100.00GB] inherit
ACTIVE '/dev//dev/VolGroup00/LogVol01' [1.94 GB] inherit

Then, if I run gparted to create new partitions, it reports that still, almost 500G is used by lvm and refuses new partition creation.

If I run:
#lvm pvresize --setphysicalvolumesize 106G /dev/sda2
it fails saying:
/dev/sda2: cannot resize to 3391 extents as later ones are allocated

Please advise on the next steps.

Last edited by kalbi; 16th June 2009 at 02:25 AM.
Reply With Quote

freeing, lvm, question, space

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question with swap space cola Using Fedora 7 27th April 2009 03:05 PM
freeing up space ub007 Installation, Upgrades and Live Media 2 10th November 2008 01:47 PM
Freeing up root space on a partition ibpalle Using Fedora 0 15th April 2006 03:39 PM
Is teTeX Important? - Freeing Up Space d-kam Using Fedora 5 8th August 2005 08:33 AM

Current GMT-time: 11:11 (Wednesday, 20-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat