Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

my filesystem looks like this...

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             7.3G  1.5G  5.4G  22% /
none                  2.0G  120K  2.0G   1% /dev
none                  2.0G  4.0K  2.0G   1% /dev/shm
/dev/sda1              99M   12M   83M  13% /boot
/dev/sda4             103G  188M   98G   1% /home

My webserver is in /srv/http/, right now it's living off of space from /dev/sda3/. I expect to be doing a project on my web server which involves uploading larger amounts of files which will take up more space. Will it automatically start using drive space from /dev/sda4/? I doubt it will, so if not, how can I allocate space from /home to my web server at /srv/http (or if not just /)?

share|improve this question
up vote 1 down vote accepted

You are correct that it will not use space for /dev/sda4. You will probably have to repartition. The simplest solution is probably to shrink the /dev/sda4 partition, and use the extra space to create a new partition, which you will then mount /srv on.

You can do both these steps in GParted. You will have to boot from a LiveCD. As always when partitioning, it's best to do a backup first.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.