/dev/sda2
Author Message
Posted : Fri, 23 May 2008 19:09:24
Subject : /dev/sda2
I see the listed when I issue the df. It shows Use% 95% and Mounted on as / I would guess that 95% of the /dev/sda2 file has only 5% left in it. What can I do to decrease that number. Thanks Kevin
tophandcwby
Posted : Fri, 23 May 2008 19:53:55
Subject : /dev/sda2
That depends on a number of things. Is this your only partition or do you have /home mounted on a separate partition? What distribution are you using? Is /var a separate partition? Could you give us the complete output of df ?
jkcrowley
Posted : Fri, 23 May 2008 20:43:16
Subject : Re: /dev/sda2
/root$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 67796916 60736804 3616180 95% / /dev/sda1 101089 15037 80833 16% /boot none 1027664 0 1027664 0% / dev/shm /dev/sdb1 1269065740 260710992 943889924 22% /usr I hope thjis helps. I have just started.
AR
Posted : Sat, 24 May 2008 12:36:22
Subject : /dev/sda2
it looks like you have everything (except for /usr) on that partition. df -h makes it a lot easier to read things. most likely you have a lot of stuff under /home and/or /var for example you could use du -sh /home/* to check for disk usage under /home for each directory. you can try cleaning the log files (/var/log), check for stuff under /tmp and /var/tmp check for databases/log (mysql stores them under /var/lib/mysql but DON'T delete anything from it unless you know exactly what you're doing) you could also try running eg. find /home -type f -size +100M it display any file bigger than 100MB under /home and it's a good way to find stuff that you forgot to delete (archives) eating up your disk space
proopnarine
Posted : Sun, 25 May 2008 04:41:04
Subject : /dev/sda2
Yeah, well said. Try posting the output from df -m. It seems, I would guess, that /home is taking up a lot or most of the room in the / partition. I would recommend always creating /home as a separate partition. The easiest thing for you to do would be to backup and remove some material from your home directory.