Cannot create symlinks on hugetlbfs filesystems

Solution Unverified - Updated -

Issue

  • Unable to create symlinks on a hugetlbfs filesystem

    $ mount | grep hugetlbfs
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
    $ ln -s /dev/hugepages/libvirt /dev/hugepages/somelink
    ln: failed to create symbolic link ‘/dev/hugepages/somelink’: Invalid argument
    

Environment

  • Red Hat Enterprise Linux
  • kernel-3.10.0-957.1.3.el7 (all kernels currently effected)
  • hugetlbfs

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content