Linux.com

Author Message
Joined: May 23, 2008
Posts: 2
Other Topics
Posted May 23, 2008 at 7:09:24 PM
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
Back to top Profile Email Website
tophandcwby
Joined Apr 10, 2008
Posts: 81

Other Topics
Posted: May 23, 2008 7:53:55 PM
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 ?
Back to top Profile Email Website
jkcrowley
Joined May 23, 2008
Posts: 2

Other Topics
Posted: May 23, 2008 8:43:16 PM
Subject: /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.
Back to top Profile Email Website
AR

Joined May 06, 2008
Posts: 22

Other Topics
Posted: May 24, 2008 12:36:22 PM
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
Back to top Profile Email Website
proopnarine

Joined Apr 03, 2008
Posts: 590
Location:San Francisco

Other Topics
Posted: May 25, 2008 4:41:04 AM
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.

Take the red pill

Climate Change Blog

Food Weblog

Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya