1833012 Members
2993 Online
110048 Solutions
New Discussion

Root directory at 100%

 
SOLVED
Go to solution
Clair D. Bittner
Frequent Advisor

Root directory at 100%

I have run into a roadblock. Root is at 100% and I have removed every file that I can possibly do and have only directories left in there. There are no excessive files to remove. I have to re-do Root in order to allocate more space to the directory. Does anyone have any short cuts or solutions that make it easier to re-do Root????
Any suggestions would be appreciated,

Clair
6 REPLIES 6
Rick Garland
Honored Contributor

Re: Root directory at 100%

If you are going to redo the root, ignite is the way.

Before doing so, run the following command:
# cd /
# du . -x -ka | sort -nr | more

This will list the biggest files in ascending order.

Clair D. Bittner
Frequent Advisor

Re: Root directory at 100%

I did run that command and I have nothing that I am not currently using large enough to be able to delete. I have been told that Ignite is the way to go and I have to do some reading on that as we never went to it for recovery.
Rick Garland
Honored Contributor

Re: Root directory at 100%

Another option might be to move stuff off to another disk and then create a sym link. Example, move var elsewhere then create a link from the old location that points to the new location.
Clair D. Bittner
Frequent Advisor

Re: Root directory at 100%

That makes sense and would decrease root as well and would eliminate the necessity to re-do and re-install after root has been restructured.
D Block 2
Respected Contributor
Solution

Re: Root directory at 100%

one thing: bring to Single-User mode having only / root mounted.

run: shutdown
and check for anything that might be under your mount points: /var /usr /opt etc.

assuming that all mountable file-systems are unmounted, these mount points (/var) etc, should be clean -- nothing under them.

also, would be a good time to check a list of all file sizes in / root:

cd /
du -sk * | sort -rn

Golf is a Good Walk Spoiled, Mark Twain.
Sยภเl Kย๓คг
Respected Contributor

Re: Root directory at 100%

In this situation the best way to cleanup root by moving some of the directories elsewhere and create link to that.
regards
SK
Your imagination is the preview of your life's coming attractions