Disk Space Issues
On 5/9/2011 1:58 AM, Michiel Piscaer wrote:
Op 9-5-2011 10:48, Daniel Linux schreef:
Yes, I need generic steps. After running df -h I know what
filesystem is almost full. What should I do?
du -h /fullfilesystem is a good start, possibly with --max-depth
to limit the output.
With # du -h --max-depth=1 you can find what directory is taking all of
the space. Next is take the right action, by emtying / deleting the
file, or moving the directory to an new disk.
The first step should be to identify all files that are known to
compress w/ a decent ratio:
1. Text (logs)
A/V files typically don't compress well. Many binaries don't compress
well. Depending on the primary use of the machine in question it may
have a lot of disk space eaten by highly compressible files. If so,
compress those files.
If the files taking up much of the space are infrequently used, move
them to a D2D backup server, CD/DVD, or to tape. If they will never be
used again (large temp files) simply delete them.
The answer the professor is looking for is not the action you end up
taking, but the logic process you use to figure out what you should
do--i.e. what steps you take, and how thorough they are, in determining
the best course of action.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org