tmpfs size option specified in fstab is ignored during boot proccess in Red Hat Enterprise Linux 6

Solution Verified - Updated -

Issue

  • We explicitly specify the size of some tmpfs mounts in /etc/fstab with a "size=" mount option, e.g.:

    tmpfs   /dev/shm    tmpfs   size=4g   0 0
    

    In RHEL4 and RHEL5 this causes the tmpfs mount to come up at boot time with the specified size; however, in RHEL6 the tmpfs mount comes up at boot time with a size half that of system RAM, disregarding any "size" option in /etc/fstab.

Environment

  • Red Hat Enterprise Linux 6.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.