-
Bug
-
Resolution: Awaiting Response
-
None
-
Minecraft 1.12.2, 20w07a
-
None
-
Confirmed
-
(Unassigned)
The bug
When Minecraft fails to write data due to "no space left on device" issues, the error is not treated as fatal. This means the server can continue to run, sometimes for hours, causing an issue which impacts a single failed write to balloon out into an issue effecting dozens of chunks / users.
The server will then start spamming the following:
[19:28:56] [chunk IO worker/ERROR]: Failed to store chunk [10, 28] java.io.IOException: There is not enough space on the disk ...
And when shut down:
[19:29:30] [poi IO worker/ERROR]: Failed to close storage java.io.IOException: There is not enough space on the disk ... [19:29:30] [chunk IO worker/ERROR]: Failed to close storage java.io.IOException: There is not enough space on the disk ... [19:29:30] [Server thread/ERROR]: Exception closing the level java.io.IOException: There is not enough space on the disk ...
It's a bad situation, which obviously shouldn't happen, ideally, but the way Minecraft currently handles the issue turns a bad situation into a much worse situation.
How to reproduce (Windows)
Warning: When executed incorrectly these steps can cause damage to your OS, use them at your own risk.
- Create a Virtual Hard Drive: Tutorial
- When placing the server .jar in it, make sure to assign enough space so it fits (~ 50 MB)
- When only using it for the world file use about 5 MB
- When creating the volume you can either assign a new driver letter or use an empty folder (preferred)
- Prepare the server
- Depending on how large you created the VHD either place the .jar in the folder / drive
- Or change the server.properties level-name entry to point to the folder / drive
- Start the server
- Join the server, switch to Creative or Spectator mode and fly around to create chunks
At some point you should notice IOException in the server log
- relates to
-
MC-135550 Full filesystem caused major server issue
- Open