df reports 16G partition at 100%. du on root reports about 1G in files. Where did all my disk space go?
| |||
|
feedback
|
|
Files can be hidden by a mount point. (A scheduled program (backup) must have run while while I had the secondary volume offline for maintenance, and gleefully recreated it's directory structure rather than failing.) | |||
feedback
|
|
You might have programs running with old unlinked files open. Those files are still stored on disk until those programs close, but will not be linked from the filesystem tree. Note that this is different from windows behavior, which will not let you delete such a file. | |||
|
feedback
|
|
In addition to the wasted space matter that Doug discusses, some file systems have a limited number of inodes (unique file IDs) in total, and once those have been created there is no way to make new files. Use Further, it is possible for | ||||
|
feedback
|
|
Do you have a large number of very very small files? Linux (and most operating systems) write files in block-sized chunks (say 4k), and every file uses a multiple of that size. For example, if you have a 121 byte file, 4096 bytes are still used on the disk. The rest of the space in that block are essentially "wasted". | |||||||||
feedback
|