LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Ubuntu LTS server 10.04.03 is filling disk space (https://www.linuxquestions.org/questions/linux-server-73/ubuntu-lts-server-10-04-03-is-filling-disk-space-925205/)

rytec 01-23-2012 02:04 AM

Ubuntu LTS server 10.04.03 is filling disk space
 
My boot disk with 140Gb disk space is filling all it's disk space since last week.
I do not know what is happening but I noticed this because mysql server didn't start up so I could not read my mails.
Than after searching the internet I found an issue where diskspace is the problem and indeed here too.
Yesterday I have removed a lot of space which was possible and I also removed old GTUB's and I had 40Gb free space.
But now this morning again when I did the command df it showed me 100% use so nothing available.
Even after a reboot it still stays on 100% USE so somehow some files have been created?
How can I find the files or directory which is causing this?

EricTRA 01-23-2012 02:14 AM

Hi,

Run the following command to check which directories are using up all your space:
Code:

du -h / | grep ^[0-9.]*G
Most likely something is generating a lot of log.

Kind regards,

Eric

rytec 01-24-2012 02:45 AM

Thanks for the help.

For me the trick was umount -a and then did the command #du -sh /*
This gave me an overview and I could see where the error was.
Somehow my external disk was not mounted anymore and the rsync command had made a local foldername on the boot disk where it copied the backup to.

So I have changed this backupscript and removed the folder on the boot disk.

regards,

EricTRA 01-24-2012 02:48 AM

Hi,

Glad you've found the problem and solution. Thanks for marking your thread solved. Have fun with Linux.

Kind regards,

Eric


All times are GMT -5. The time now is 10:24 PM.