Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st September 2008, 05:57 AM
quantumburnz Offline
Registered User
 
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36
Question I need to extend my partition... I think.

I did a new FC9 installation yesterday on a 10GB partition. Unfortunately, FC9 was a bit bigger than I expected and I'm already out of free space. I used Partition Magic to remove 5GB from my Win XP installation, and now i want to combine the 5GB of free space with my existing FC9 partition.

I'm sure there's a tutorial on this somewhere but for the life of me, I can't find it. I tried the GParted Live CD but it tells me my FC9 partition is LVM so it can't work with it. What should I do to combine these? Thanks!
Reply With Quote
  #2  
Old 21st September 2008, 06:40 AM
smart_axiom's Avatar
smart_axiom Offline
Registered User
 
Join Date: Apr 2005
Location: Ontario - Toronto
Posts: 32
hi there,

I don't use linux's logical volume system, and I really haven't tried this myself.

Anyways ... But my thinking is that since since you have a logical volume already available, what you need to do is add a physical volume to it.

see this link http://www.redhat.com/magazine/009jul05/features/lvm2/

especially this part:

pvcreate /dev/hdc
vgextend volume_group_one /dev/hdc

Hope this info helps
Reply With Quote
  #3  
Old 21st September 2008, 06:48 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
http://docs.fedoraproject.org/release-notes/

http://docs.fedoraproject.org/install-guide/


You have taken the default install and the used LVM (See the install section on PArtitioning and disk druid.)
You must have installed a lot of extras otherwise there would be plenty of free space.

The fastest way would be to re-install and you may need even more space, 20 GB total.
About 15-16 for / and 2GB for swap, 320MB for /boot

This is how you extent the LV in a VG to another PV. see man lvm

man fdisk
create a partition out of the free space (sdan) with type 8e
man pvcreate
# /dev/sdan (the 5 GB)
Man vgextend
# vgextend VolGroup00 /dev/sdan (the 5GB)
man lvextend
lvextend /dev/VolGrouup00/LogVol00 /dev/sdan (the 5GB)

SJ
__________________
Do the Math

Last edited by SlowJet; 21st September 2008 at 07:00 AM. Reason: Need to partition free space as 8e type
Reply With Quote
  #4  
Old 21st September 2008, 05:22 PM
quantumburnz Offline
Registered User
 
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36
Thanks for the link smart_axiom. I read the article and it was very helpful/informative. From this, I was able to create a new PV, add it to the VG and resize the LV. So, my LV is larger now. However, when I do df, it doesn't show the file system is any larger, which makes sense I suppose.

Slow Jet -- Thank you for the links and your help as well. I did indeed do the default install. I have no clue what all Fedora installed but I really need to get rid of some of it. My problem is that I ran out of space (df shows 0% free) so I can't boot into the GUI now, I can only boot up to the command prompt. Hence, why I'm trying to add free space. Anyway, you're probably right about reinstalling being the easiest way. Although, now that I've resized the logical volume, how can I make the file system see the extra space? I've seen resize2fs but I'm unable to see my logical volumes when I boot to a live CD...
Reply With Quote
  #5  
Old 21st September 2008, 05:55 PM
quantumburnz Offline
Registered User
 
Join Date: Sep 2008
Location: Pensacola, FL
Age: 29
Posts: 36
On second thought, don't waste the breath trying to answer my last question. I think I found an article that shows how to resize by deleting the partition and recreating it. It all just sounds like way too much work. I'm going with your original suggestions of reinstalling, and this time I'm going to skip LVM I think... Thanks for the help.
Reply With Quote
Reply

Tags
extend, partition

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
How To extend root / partition 'on-the-fly', ext3/LVM only sideways Guides & Solutions (No Questions) 7 9th March 2012 04:52 PM
LVM extend / gkk Using Fedora 1 9th June 2008 08:44 AM


Current GMT-time: 00:07 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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