Fedora Linux Support Community & Resources Center
  #1  
Old 29th May 2005, 05:42 AM
underpope Offline
Registered User
 
Join Date: Dec 2004
Posts: 13
Resizing Partitions

I greatly underestimated how much space I was going to need in my /var partition, where I'm storing my music files. This is a 160GB drive, and I only allowed 30GB for music files. This is the output of df -h:

richard@HAGRID: ~
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
70G 3.0G 63G 5% /
/dev/hda1 99M 13M 82M 13% /boot
none 125M 0 125M 0% /dev/shm
/dev/hda2 49G 360M 46G 1% /home
/dev/hda3 29G 28G 0 100% /var

Now, I can happily resize my hda2 to 10GB or so and move the rest to hda3, giving me 60GB or so. I also guess that I can drastically reduce the / partition and reassign all that extra space to hda3. But is this even possible? Am I just asking for trouble? Should I start over and rebuild this computer from scratch (an incredibly annoying proposition)?
Reply With Quote
  #2  
Old 29th May 2005, 02:31 PM
huw-l Offline
Registered User
 
Join Date: Apr 2004
Location: Cardiff, UK
Age: 37
Posts: 315
Quote:
Originally Posted by underpope
INow, I can happily resize my hda2 to 10GB or so and move the rest to hda3, giving me 60GB or so. I also guess that I can drastically reduce the / partition and reassign all that extra space to hda3. But is this even possible? Am I just asking for trouble? Should I start over and rebuild this computer from scratch (an incredibly annoying proposition)?
If you repartition the disk you lose all the data. If you were using Logical Volume Management (LVM) for all you partitions and hadn't assigned the whole disk you would now be able to use the LVM tools to increase the size of one of your partitions. If it were me I'd just buy another hard drive.

Another option is to mv some of your music directories to somewhere under / and symlink them back to their original locations. That way all your apps can still find them but they actually live on / using up some of that 63GB of space.

mv /var/Music/MusicFolder1 /NewMusicLocation/MusicFolder1
ln -s /NewMusicLocation/MusicFolder1 /var/Music/MusicFolder1

HTH
Reply With Quote
Reply

Tags
partitions, resizing

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
new help resizing partitions Emphyrio Hardware & Laptops 4 28th February 2008 02:31 AM
resizing partitions plutonium239 Using Fedora 5 20th December 2005 03:58 PM


Current GMT-time: 08:40 (Tuesday, 29-07-2014)

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