Server Fault is a question and answer site for system and network administrators. 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

I have an ubuntu server which yesterday i performed an rsync command for the first time to backup a drive sdb1 to sdc1. Neither of these drives are the OS drive thats full.

This morning i woke up and the OS drive is full. I can't even boot into the GUI but i can still ssh into the machine.

any thoughts?

edit: I found the source - the rSync command seemed to be creating a directory /media/sdc1 physically on the OS drive instead of using the mounted /media/sdc1.

Does this command look right to you:

rsync -av --delete /media/sdb1 /media/sdc1

Drive 1 is mounted sdb1 and drive 2 is sdc1

share|improve this question
up vote 0 down vote accepted

You can find what is filling your OS drive by using the command

du -h --max-depth=1 / | sort -rn

which will give you a list of files/directories and their sizes. You can then work your way down the file system to find which file(s) are filling the disk.

share|improve this answer
Found the source, please see my original post – KP65 Dec 23 '12 at 12:06
@KP65: show us the output of df – Iain Dec 23 '12 at 12:28

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.