Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-192863

Server error: Failed to store chunk | The media is write protected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.16.1
    • None
    • Windows 10, Java 1.8 update 251, Minecraft server version 1.16.1
    • Unconfirmed
    • (Unassigned)

      My server keeps getting unstable and it throws an error (below) into the console. It does this only sporadically and sometimes it keeps trying to store so much that the whole server grinds to a halt. Doesn't crash. Sometimes it's the same chunk throwing the same error over and over again, sometimes it's a different chunk.

      I've tried reinstalling Java, Minecraft Launcher and updating the server but nothing helps. I have no idea what is causing this and google hasn't been very helpful regarding the problem. Everything is vanilla.

      My server is located on a ramdisk completely on its own and the ramdisk definitely isn't write protected. There's plenty of space on the ramdisk. There's something about minecraft that's locking a file while it's trying to save it? I would like to try to reinstall the server without losing all my data but I'm not sure how to do that.

       

      [13:55:26 ERROR]: Failed to store chunk [-32, -3]
      java.io.IOException: The media is write protected
      at sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method) ~[?:1.8.0_251]
      at sun.nio.ch.FileDispatcherImpl.pwrite(Unknown Source) ~[?:1.8.0_251]
      at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) ~[?:1.8.0_251]
      at sun.nio.ch.IOUtil.write(Unknown Source) ~[?:1.8.0_251]
      at sun.nio.ch.FileChannelImpl.writeInternal(Unknown Source) ~[?:1.8.0_251]
      at sun.nio.ch.FileChannelImpl.write(Unknown Source) ~[?:1.8.0_251]
      at cia.a(SourceFile:362) ~[server.jar:?]
      at cia$a.close(SourceFile:335) ~[server.jar:?]
      at java.util.zip.DeflaterOutputStream.close(Unknown Source) ~[?:1.8.0_251]
      at java.io.FilterOutputStream.close(Unknown Source) ~[?:1.8.0_251]
      at java.io.FilterOutputStream.close(Unknown Source) ~[?:1.8.0_251]
      at cib.a(SourceFile:64) ~[server.jar:?]
      at chx.a(SourceFile:144) ~[server.jar:?]
      at chx.b(SourceFile:134) ~[server.jar:?]
      at ams$b.run(SourceFile:54) [server.jar:?]
      at amq.e(SourceFile:94) [server.jar:?]
      at amq.a(SourceFile:137) [server.jar:?]
      at amq.run(SourceFile:105) [server.jar:?]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_251]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_251]
      at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]

            Unassigned Unassigned
            Sir_Black_Eagle Musta Kotka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: