0

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.

3 Answers 3

2

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.

1
  • I have solucionated it. thanks for your suggestion. but in my case the deleted files wasnt persistent in process.
    – Papachan
    Jun 3, 2012 at 2:05
0

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

1
  • ok my files are located at ~/.local/share/Trash/files/* there is nothing in root, nothing in my user
    – Papachan
    Jun 3, 2012 at 1:57
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .