1837394 Members
2927 Online
110116 Solutions
New Discussion

Re: root directory full

 
Donald Thaler
Super Advisor

root directory full

I was deleting files out of the /tmp directory and I noticed that the root directory(/) now shows full, the files that were deleted were put in 'trash'.(i'm using the file manager that comes with exceed to do the deletes). On the last file that I deleted I got a message about no space available on the device moving to...
9 REPLIES 9
Fabio Ettore
Honored Contributor

Re: root directory full

Hi,

can you access on the command line and deleting any files under root manually?

Good luck.

Best regards,
Fabio
WISH? IMPROVEMENT!
Ivan Ferreira
Honored Contributor

Re: root directory full

Use:

find / -xdev -exec ls -l {} \; |sort +4 -nrb |head -10

du -kx / | sort -rn | head -10

To identify the directory/files that uses more space on /.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
DCE
Honored Contributor

Re: root directory full



Donald,

Is there an option on the trash to "empty" it?

Can you get to the command line and delete file that way?

Robert-Jan Goossens
Honored Contributor

Re: root directory full

Hi Donald,

right click your mouse, select Folders, Empty Trash Can.

or
# cd /.dt/Trash
# ls -la
# rm files

Regards,
Robert-Jan
SUDHEER M S
Advisor

Re: root directory full

Find out the files which got added to the / recetly and find out the files with more size.

1) find / -xdev -size +10000 -exec ls -l {} \;
Use
2) du -sk * | sort -n from / to find out which all folders use more space on the file system

3) find / -xdev -name core

To find out any core files. Removing the /temp files might have created issues to the running applications temp files.

Find the files and move to some other filesystem which has got space.

Donald Thaler
Super Advisor

Re: root directory full

Robert-Jan,

Your answer was right on the money, I didn't realize that exceed didn't actually delete the files. When I try to delete *.* from the Trash directory it returns 'non-existant' and I had to delete each file seperately. Do you by chance know the difference between putting files in 'trash' and putting them in 'workspace'??
Mark Ellzey
Valued Contributor

Re: root directory full

Donald,

Please remember that you are deleting files on a UNIX machine. When you try to delete *.*, you are only deleting files that have a '.' in them somewhere, surrounded by any other chatacter(s). From the UNIX command line, you would delete all files by typing:

$ rm *

This will delete all files in the directory (except 'hidden' files; file that begin with '.').

Do keep in mind that rm * is a very dangerous command. Check twice, then check again to make sure this is what you want to do.

Regards,
Mark
Kent Ostby
Honored Contributor

Re: root directory full

In general, from the command line:

find / -xdev -size +1000000c

This will list all files on the device (xdev) starting in / that are greater than 1 meg in size.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Robert-Jan Goossens
Honored Contributor

Re: root directory full

Hi Donald,

If you drag files into your workspace they will stay in the original directory (its just a link to your desktop), if you put files into your Trash they will be moved to the $HOME/.dt/Trash directory.

Best regards,
Robert-Jan