I'm not very deep into this mounting/unmouting think on Linux, so here goes my question:
With df -h I get the following overview:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 323M 306M 0 100% /
tmpfs 502M 0 502M 0% /lib/init/rw
udev 497M 116K 497M 1% /dev
tmpfs 502M 0 502M 0% /dev/shm
/dev/sda9 47G 181M 44G 1% /home
/dev/sda8 368M 12M 338M 4% /tmp
/dev/sda5 8,3G 1,1G 6,8G 14% /usr
/dev/sda6 2,8G 433M 2,2G 17% /var
I'm using this machine as web server where all web related stuff resides under /srv/. As this is part of / I'm out of disk space here. I saw /home having 44G available web space, which is pure nonsense in my case. So I want to have /home not as own partition (rather part of /), but /srv as own partition, grabbing the space consumed by /home. So after that df -h should look like this (/home replaced by /srv):
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 323M 306M 0 100% /
tmpfs 502M 0 502M 0% /lib/init/rw
udev 497M 116K 497M 1% /dev
tmpfs 502M 0 502M 0% /dev/shm
/dev/sda9 47G 181M 44G 1% /srv
/dev/sda8 368M 12M 338M 4% /tmp
/dev/sda5 8,3G 1,1G 6,8G 14% /usr
/dev/sda6 2,8G 433M 2,2G 17% /var
What have to do to get here?
