Wednesday, January 23, 2019

Increase tmpfs filesystem space on linux

Increase tmpfs filesystem space  on linux


run time increase using below command:-

mount -t tmpfs tmpfs -o size=3g /dev/shm




[root@rac1 ctssd]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Tue Nov 27 15:48:22 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_rac1-lv_root /                       ext4    defaults        1 1
UUID=1b52ef29-f02f-48e3-9908-6ed29c02ce5a /boot                   ext4    defaults        1 2
/dev/mapper/vg_rac1-lv_home /home                   ext4    defaults        1 2
/dev/mapper/vg_rac1-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults,size=3G        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
[root@rac1 ctssd]#



Need reboot



[root@rac1 ctssd]# df -h
Filesystem                   Size  Used Avail Use% Mounted on
/dev/mapper/vg_rac1-lv_root   50G   34G   14G  71% /
tmpfs                        3.0G  1.1G  2.0G  37% /dev/shm
/dev/sda1                    477M   56M  397M  13% /boot
/dev/mapper/vg_rac1-lv_home   26G   47M   24G   1% /home
[root@rac1 ctssd]#

[root@rac1 ctssd]#

No comments:

Post a Comment

About the Author : Anurag Pandey | Database cloud Architect | Oracle | SQL Server | PostgreSQL | AI and Data Platform Enthusiast

Anurag Pandey is a Database Architect with expertise in Oracle, PostgreSQL, SQL Server, Linux, and enterprise database platforms and specializes in database architecture, performance tuning, high availability, disaster recovery, cloud modernization, and operational excellence. With extensive experience in enterprise-scale environments, Anurag is passionate about leveraging AI, automation, and modern data platforms to improve reliability, scalability, and business outcomes. He actively contributes to technical communities through knowledge sharing, architecture guidance, and thought leadership in database and data engineering domains.

Follow more articles at

Visit Blog

Create Resource Manager , Resource Group / Consumer groups in Oracle Database to limit CPU resources

  Step to create Resource Manager  consumer groups in Oracle Database  1. First confirm the exact PROGRAM values     SELECT program, ...