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

'Failed to access level' when opening a world from a CIFS mount on Ubuntu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 3
    • 20w14a, 1.16 Pre-release 2
    • None
    • Ubuntu 18.04.4 LTS
    • Community Consensus
    • Datafixer
    • Important

      I'm running Ubuntu on my PC and I've been playing minecraft on it with the game directory set to a network attached storage (NAS). Up until 20w14a, It's been running without any problems; but now whenever I try to open or create a world, it says 'Failed to access level'

      This is the error that was outputted in the console:

      Failed to read level New World (22) data java.io.IOException: No such file or directory at java.base/sun.nio.ch.FileKey.init(Native Method) at java.base/sun.nio.ch.FileKey.create(FileKey.java:43) at java.base/sun.nio.ch.FileLockTable.<init>(FileLockTable.java:90) at java.base/sun.nio.ch.FileChannelImpl.fileLockTable(FileChannelImpl.java:1089) at java.base/sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1153) at java.base/java.nio.channels.FileChannel.tryLock(FileChannel.java:1165) at acr.a(SourceFile:24) at cxp$a.<init>(SourceFile:196) at cxp.c(SourceFile:185) at dit.a(SourceFile:1657) at dqr.n(SourceFile:301) at dqr.b(SourceFile:225) at dkc.ap_(SourceFile:18) at djw.a(SourceFile:15) at dka.a(SourceFile:150) at dkz.a(SourceFile:27) at diu.b(SourceFile:86) at dnj.a(SourceFile:451) at diu.a(SourceFile:86) at diu.c(SourceFile:150) at ald.execute(SourceFile:94) at diu.b(SourceFile:150) at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174) at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:123) at dit.d(SourceFile:1027) at dit.d(SourceFile:632) at net.minecraft.client.main.Main.main(SourceFile:204)

      I don't get this error whenever I use 1.15.2 or previous.

      Here is my /ect/fstab:

      1. /etc/fstab: static file system information.
        #
      2. Use 'blkid' to print the universally unique identifier for a
      3. device; this may be used with UUID= as a more robust way to name devices
      4. that works even if disks are added and removed. See fstab(5).
        #
      5. <file system> <mount point> <type> <options> <dump> <pass>
      6. / was on /dev/sda3 during installation
        UUID=fd976496-9f6d-45ea-9023-ce4501f97cfb / ext4 errors=remount-ro 0 1
        /swapfile none swap sw 0 0

      //192.168.1.120/Vault/Storage/Game\040Cache/Steam /media/Vault cifs exec,vers=3.0,rw,credentials=/home/nick/.server,iocharset=utf8,dir_mode=0777,file_mode=0777,uid=1000,gid=1000,auto 0 0
      //192.168.1.120/Vault /media/Storage cifs exec,rw,credentials=/home/nick/.server,iocharset=utf8,dir_mode=0777,file_mode=0777,uid=1000,gid=1000,auto 0 0

      I really hope this gets patched soon because I really would like to be able to play 1.16 without storing the files locally

      Thanks!

            boq [Mojang] Bartosz Bok
            nicktonjum Nick Tonjum
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: