Skip to content

Support for autofs? #347

Closed
Closed
@oschulz

Description

I'm having trouble accessing auto-mounted directories within a Singularity container (we're using auto-mounting for several storage systems). The mounts are supposed to show up under /remote, and I bind-mount `/remote into the container.

If the directory in question (e.g. /remote/my-auto-mount) is already mounted on the host, all is fine. However, if it is not mounted on the host yet, and accessed in the container, I get this error:

$ ls /remote/my-auto-mount
ls: cannot open directory '/remote/my-auto-mount': Too many levels of symbolic links

However, this does trigger auto-mounting of the directory on the host. The mount doesn't become available in the running container (a second ls fails, too, with the same error) - but when I exit the container and enter it again, the mount is there and works.

This is with Singularity v2.2 on Linux kernel 3.13, FS overlay is enabled.

Is it possible, in principle, to support auto-mounts in Singularity? Or maybe I just need a newer kernel?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions