Skip to content
Minecraft Minecraft: Bedrock Edition Rust Counter-Strike 2 Palworld Valheim Satisfactory Enshrouded
Configure server Sign in
DE EN

Check Game Server Storage Usage Without Losing Data

Compare the panel limit, file system usage, and server folder to investigate storage warnings without deleting data.


If your game server is nearing its storage limit, first compare the panel's display, the free space on the file system, and the size used by the server folder. These values describe different things. A long file list by itself does not show which storage rule applies or which file can safely be removed. Identify what is using the space before changing or removing files.

Separate the panel limit, file system, and server folder

The panel limit is the limit shown for your server or account. Check whether the panel shows a value such as “used / available,” a percentage, or a file count. Check the documentation for the panel you use to see which paths and data this display includes. Without that information, you cannot reliably explain a difference from a shell command.

The file system is the storage area on which a path is located. On a Linux server, df shows the space on the file system containing the specified path. This is not automatically your server's personal quota: a file system may also contain other directories. In a Linux container shell, df and du can evaluate only the process's mount view; it may not match the host machine's view. These commands do not establish a provider or panel quota either. GNU Coreutils describes df as showing the file system for the specified path; Linux man-pages: mount_namespaces(7) explains the separate mount views.

The server folder contains files under a specific directory, such as world saves, configuration, logs, and archives. du examines this directory tree. It therefore shows a different layer from df or a panel quota.

Measure only with authorized shell access

Run the following commands only if the panel or your provider explicitly gives you shell access to your own server. Replace the example path with the documented folder for your instance. These commands query file-system usage and scan the directory tree; they do not change or delete data. du must traverse the folder and may take time if it contains many files.

cd "/pfad/zum/eigenen/server" &&
df -h . &&
du -h --max-depth=1 . &&
du -h --apparent-size --max-depth=1 .

The && operators stop the command block if the folder cannot be reached. This prevents you from accidentally measuring the directory that was open previously. df -h . shows the usage of the file system containing your current folder. The first du output shows the file system usage GNU du calculates for the folder and its direct subfolders. The second uses --apparent-size: it compares the logical file size with the space used on the file system. --max-depth is a GNU option; other operating systems may use different syntax. GNU also explains that symbolic links are counted as links by default and hard-linked files are included in the total only once. GNU Coreutils: du · POSIX.1-2024: du.

Do not add the line for . to the directories listed below it: the total for . already includes those subfolders. By default, GNU du also descends into subdirectories on other file systems. A mounted subvolume may therefore already be included in the total for .; do not add its separate measurement again. With GNU du -x, you can limit the measurement to the file system containing the starting path, but that deliberately excludes content on other file systems. A small difference between df and du can be normal because they examine a file system and a directory tree, respectively. A quota may also be calculated using the panel's or provider's own rules.

Interpret logical file size and allocated blocks

For regular files, apparent size is the logical length in bytes. The normal du output estimates the space the files occupy on the file system. Many small files can use more space than their combined file lengths suggest. Conversely, a sparse file can have a large logical length while using much less space. GNU documents both cases and explicitly identifies --apparent-size as a different measurement from file system usage. A value displayed in MiB or GiB is also rounded.

A symlink contains a reference to another path. It is not automatically a second copy of the file or world folder it points to. If you need to list links in your own directory tree, this POSIX command shows their paths without following them:

find . -type l -print

POSIX lists -type l for symbolic links; du also does not follow links by default. A linked target may be outside your server folder. Therefore, do not recursively follow links to add up values without checking them. The Open Group: find.

Do not rush to delete anything when numbers conflict

If the panel quota is high but the folder total is low, check that you have the right server path and look for read errors. Then ask your provider whether the limit includes other paths, backups, or file counts. If df shows little free space even though your server folder is small, the file system may contain other data. If only the apparent size is high, compare files with sparse allocation, links, and the normal du output.

If you see “Permission denied,” the inventory is incomplete; a low measurement is not evidence that files are missing or can be deleted. If you do not have shell access, use only the server panel's read-only view or an SFTP connection authorized for the instance. The guide to safe SFTP access to game server files explains how to check paths. Before changing files, see what a Minecraft server backup includes; if backups affect storage usage, see the guide to game server backup retention.

Sources

Did this guide help? We are happy to help personally.