System Administration Guide, Volume 2

What to Do if a File System Fills Up

When the root (/) file system or any other file system fills up, you will see the following message in the console window:


.... file system full

There are several reasons why a file system fills up. The following sections describe several scenarios for recovering from a full file system. See Chapter 28, Managing Disk Use (Tasks) for information on routinely cleaning out old and unused files to prevent full file systems.

File System Fills Up Because a Large File or Directory Was Created

Reason Error Occurred 

How to Fix the Problem 

Someone accidentally copied a file or directory to the wrong location. This also happens when an application crashes and writes a large core file into the file system.

Log in as superuser and use the ls -tl command in the specific file system to identify which large file is newly created and remove it. See "How to Find and Delete core Files" to remove core files.

A TMPFS File System is Full Because the System Ran Out of Memory

Reason Error Occurred 

How to Fix the Problem 

This can occur if TMPFS is trying to write more than it is allowed or some current processes are using a lot of memory.

See tmpfs(7FS) for information on recovering from tmpfs-related error messages.