Mount point not found

JDK Bug System | Webbug Group | 6 months ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    FULL PRODUCT VERSION : java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode) ADDITIONAL OS VERSION INFORMATION : [root@6b8ab63d2271 /]# uname -a Linux 6b8ab63d2271 4.6.0-0.bpo.1-amd64 #1 SMP Debian 4.6.3-1~bpo8+1 (2016-07-13) x86_64 x86_64 x86_64 GNU/Linux [root@6b8ab63d2271 /]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) EXTRA RELEVANT SYSTEM CONFIGURATION : Host System: Debian Jessie Runs Docker version 1.12.1, build 23cf638 started with --storage-driver=overlay Error does occur inside of the docker container which is centos 7 A DESCRIPTION OF THE PROBLEM : When running java inside of a docker container which root fs is an overlayfs e.g. from mount: overlay on / type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay/7f380aa866f1411985b0e3d9533e89f0907e11adb81c2c1e20a5733fd3112f33/root,upperdir=/var/lib/docker/overlay/58f650cc4005e9becf01c20b2d8144a372115d11add9e70774322232e3fef590/upper,workdir=/var/lib/docker/overlay/58f650cc4005e9becf01c20b2d8144a372115d11add9e70774322232e3fef590/work) And accessing a file like /home/someuser/somefile.txt An Exception will be thrown. A very similar Case seems to exist with btrfs and subvolumes: and STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Start a docker container where dockerd was started with --overlfay and try to access files via Files.getFileStore(path) EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - The Result should be / (if there is no other mount) ACTUAL - Mount point not found ERROR MESSAGES/STACK TRACES THAT OCCUR : Exception in thread "main" Mount point not found at sun.nio.fs.LinuxFileStore.findMountEntry( at sun.nio.fs.UnixFileStore.<init>( at sun.nio.fs.LinuxFileStore.<init>( at sun.nio.fs.LinuxFileSystemProvider.getFileStore( at sun.nio.fs.LinuxFileSystemProvider.getFileStore( at sun.nio.fs.UnixFileSystemProvider.getFileStore( at java.nio.file.Files.getFileStore( at MyMain.main( REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- import; import java.nio.file.Files; import java.nio.file.Paths; public class MyMain { public static void main(String[] args) throws IOException { System.out.println(Files.getFileStore(Paths.get(args[0]))); } } ---------- END SOURCE ----------

    JDK Bug System | 6 months ago | Webbug Group Mount point not found
  2. 0

    GitHub comment 14337#187287879

    GitHub | 1 year ago | torrancew Mount point not found
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ElasticSearch 1.6 fails to start with an empty/missing fstab

    GitHub | 2 years ago | peikk0
    org.elasticsearch.ElasticsearchIllegalStateException: Failed to obtain node lock, is the following location writable?: [/var/db/elasticsearch/mon]

    Root Cause Analysis


      Mount point not found

      at sun.nio.fs.LinuxFileStore.findMountEntry()
    2. Java RT
      1. sun.nio.fs.LinuxFileStore.findMountEntry(
      2. sun.nio.fs.UnixFileStore.<init>(
      3. sun.nio.fs.LinuxFileStore.<init>(
      4. sun.nio.fs.LinuxFileSystemProvider.getFileStore(
      5. sun.nio.fs.LinuxFileSystemProvider.getFileStore(
      6. sun.nio.fs.UnixFileSystemProvider.getFileStore(
      7. java.nio.file.Files.getFileStore(
      7 frames
    3. Unknown
      1. MyMain.main(
      1 frame