Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My server /dev/sda1 disk full

root@server:/var/www# df 
Filesystem 1K-blocks      Used Available Use% Mounted on 
/dev/sda1   48060296  45653236         0 100% / 
udev         8055724        12   8055712   1% /dev 
tmpfs        3225816      1140   3224676   1% /run 
none            5120         0      5120   0% /run/lock 
none         8064536       144   8064392   1% /run/shm 
/dev/sda3  908566268 580691288 281722432  68% /home

Previously when I perform apt-get autoclean & clean I can solve the issue by clear some space. But this time it's not working.

I wish to know which directory under /dev/sda1 but I couldn't check on it. How should I do? Which directory I should look into it and delete those folder?

It's caused mysql is jam now.

Thanks.

share|improve this question

1 Answer 1

Looks like your root filesystem is full (bit hard to read the output of df). The root filesystem is mounted on /dev/sda1 which refers to a physical device - in this case a hard disk. Directories under / which can take up space are /var and /tmp (and others) - /tmp should clear on a reboot but log files in /var can occupy space

try du -sh /directory name to get the size of each directory to see which is taking up most space

For example du -sh /var

share|improve this answer

Your Answer

 
discard

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.