Linux Operating System (MOSC)

MOSC Banner

Howto change /dev/shm (tmpfs) in Oracle Linux 7

edited Apr 10, 2018 1:21PM in Linux Operating System (MOSC) 4 commentsAnswered ✓

Does anyone know how to change the size of /dev/shm (tmpfs) in Oracle Linux 7.

I used to do that by editing /etc/fstab or the mount command.

In Oracle Linux 7 i don't see anything in the fstab regarding /dev/shm (tmpfs), but df -TH shows :

Filesystem                    Type      Size  Used Avail Use% Mounted on

/dev/mapper/ol-root           xfs        39G  3.9G   35G  11% /

devtmpfs                      devtmpfs  992M     0  992M   0% /dev

tmpfs                         tmpfs    1002M  148K 1002M   1% /dev/shm

tmpfs                         tmpfs    1002M  8.8M  993M   1% /run

tmpfs                         tmpfs    1002M     0 1002M   0% /sys/fs/cgroup

Probably it is set somewhere else in the boot proces.

Perhaps somebody knows als where i can find proper documentation about this ?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center