Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-27-2005, 01:01 AM   #1
Registered: Jun 2005
Location: CyberIsland
Distribution: Debian and Fedora
Posts: 31

Rep: Reputation: 15
resizing /usr partition

I am planning to install php and apache on my workstation and think that the /usr partitiion will be running out of space. Is it possible to resize that partition with the cfdisk utility or by another means without having to reinstall fedora to increase the size of /usr?
Old 07-27-2005, 03:19 AM   #2
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
There are things you can do, for instance if your partition contains subdirectories under /usr/ that are large, add a partition, move the subdirectory to it (or several of them), and then make the new partition mounted inside of it. And that will increase your space. That said it's labourious, and very imprecise

Better would be to create a new larger partition, copy your usr stuff to it, make it the new usr, and then use the old usr for something else, afterall you can mount any partition anywhere
Old 07-27-2005, 03:24 AM   #3
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
You can't resize with cfdisk, the program you need depends on the filesystem you are using.

resize_reiserfs for example is the Reiser resize command.

resize2fs is the tool for ext2 and ext3 partitions.

I hope that helps!


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
Resizing ext3 partitions (/usr) [file system management] xxx_anuj_xxx Red Hat 5 11-29-2005 03:35 AM
Problem Resizing Linux Partition From Partition magic John_Emad SUSE / openSUSE 5 02-16-2005 12:42 PM
need help resizing an ext3 partition with an underlying partition... spiroth10 Linux - Software 1 07-30-2004 12:21 PM
Resizing my partition. Saitoku Linux - Newbie 2 06-02-2004 06:08 PM
Partition resizing campo Linux - General 1 05-27-2003 09:28 AM > Forums > Linux Forums > Linux - Newbie

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