I'm using Fedora 12 on my laptop. I have 10GB disk space and 2GB of them are free. After 2-3 days uptime the space ends and I must reboot. After rebooting I get 2GB free space back. How can I prevent this?Mostly I use Firefox, Chrome, Gedit, Rhythmbox and in background: httpd, mysqld, conky. RAM: 1GB, Swap: 1.2 GB.
Disk space on Fedora 12
fedora;disk usage
Firstly, you must find out what is eating away at your space. I'd suggest you track down the physical file or directory that grows to that size.The simplest way would be to check the directories in / using: ( I'd suggest running it as root ) # du -hs /* 2> /dev/null4.2M  /bin25M   /boot204K  /dev6.7M  /etc19G   /home112M  /lib16K   /lost+found12K   /media16K   /mnt4.0K  /multimedia1018M /opt0     /proc15M   /root8.6M  /sbin12K   /srv4.2M  /storage0     /sys108K  /tmp16G   /usr4.3G  /varNow, You run that when the computer has freshly started and has not started to eat space yet and you save the output in a file ( ~/record-space )$ sudo du -hs /* 2> /dev/null 1> ~/record-spaceAnd then when your computer is nearing a FULL state, you can run the command again saving the output in a second file.$ sudo du -hs /* 2> /dev/null 1> ~/record-space2Now you can compare these two files ( ~/record-space and ~/record-space2 ) to see how th e main directories differ...My favourite way of comparing files is using diff:$ diff ~/record-space{,2}update: See Gille's comment to this answer. Instead of du -hs /*, rather use du -xsh /tmp/* /var/*/* ~/.*.