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.

I have just delete 4.1 go files from my desktop and after empty the trash. And now my / directory is up now to 100% in use. I cant start anymore Ubuntu. But i have access to safemode to clean the system check fsdisk etc... but how i can free space from my system partition?

any ideas?

UPDATE: my problem wasnt the deleted files, but the real size of / directory. It was out of memory so my ubuntu cannot be started correctly anymore.

share|improve this question
add comment

3 Answers

Please check this link

This might be helpful to you.

You can use lsof command to check the deleted file is linked with any process or not.

and then kill that process so it will immediately release the space.

share|improve this answer
    
I have solucionated it. thanks for your suggestion. but in my case the deleted files wasnt persistent in process. –  papachan Jun 3 '12 at 2:05
add comment

You may have moved them to the trash as root, in which case you can delete the files in /root/.local/share/Trash.

share|improve this answer
    
ok my files are located at ~/.local/share/Trash/files/* there is nothing in root, nothing in my user –  papachan Jun 3 '12 at 1:57
add comment

I had to run in mode recovery. So i was able to run the root console, and this command help me to find my problem:

du -sch /*

So i was able to detect the directory which have an anormal size. in my case it was my /opt directory with my apache-tomcat logs with a 4 gigabytes of space! So i can remove easily all the content of this directory.

share|improve this answer
add comment

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.