Red Hat Enterprise Linux 6 で fstab に指定した tmpfs サイズオプションがブートプロセス時に無視される

Solution Verified - Updated -

Issue

  • 以下のように、"size=" マウントオプションを使用して /etc/fstab の tmpfs マウントのサイズを明示的に指定します。

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

    これを指定すると、RHEL4 および RHEL5 の場合は、システムの起動時に tmpfs マウントが指定したサイズになりましたが、RHEL6 の場合は、/etc/fstab に "size" オプションを指定したかどうかに関わらず、システム起動時の tmpfs マウントのサイズはシステム RAM のサイズの半分になります。

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.