Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
rootfs                                                  323M  217M   90M   71% /
udev                                                     10M     0   10M    0% /dev
tmpfs                                                   1.6G  704K  1.6G    1% /run
/dev/disk/by-uuid/ae86b7e0-cec7-4981-ae40-9b6763919ab0  323M  217M   90M   71% /
tmpfs                                                   5.0M     0  5.0M    0% /run/lock
tmpfs                                                   6.9G  768K  6.9G    1% /run/shm
/dev/sdb9                                               191G   68G  113G   38% /home
/dev/sdb8                                               368M   11M  339M    3% /tmp
/dev/sdb5                                               8.3G  8.2G     0  100% /usr
/dev/sdb6                                               2.8G  1.8G  885M   67% /var

how terrible my /dev/sdb5 is full,how can increase the size of /usr and do not damage my system?

share|improve this question

migrated from May 28 '13 at 10:57

This question came from our site for professional and enthusiast programmers.

See GParted. – Joachim Pileborg May 28 '13 at 10:55
Is /usr/ on a different file system, because to only make it bigger it will need to be, copy the contents to a different fs, and set up fstab to autmount it. – w4etwetewtwet May 28 '13 at 10:56
What is on sdb1..4, can you move parts from /usr over there and symlink it back? (Not /usr/lib and such, maybe /usr/src). New disks become cheaper every day, 6 months ago I paid € 50 for a 500 GB SATA-II. – ott-- May 28 '13 at 12:57

You can only resize disks when they are unmounted and you cannot easily unmount the /usr partition while your system is running. So, download a copy of GParted Live, burn it to CD and boot from it.

Once you have booted into the GParted system, you should be able to use Gnome's partitioner (gparted) to resize your partitions:

enter image description here

Resizing/editing partitions can be dangerous, I recommend you use a tool like clonezilla to make a backup of your drive before doing anything.

share|improve this answer
That, and use LVM next time you install a new system where the final size of /usr and other partitions is not given. – Ярослав Рахматуллин May 28 '13 at 15:03

You must log in to answer this question.