Friday, May 22, 2020

Tech Notes:- Increase the size of tmpfs files system in CentOS 6

Here are the steps to increase the size of the tmpfs file system in CentOS 6. Suppose you want to increase the size to say 1GB

  • Update the below entries in /etc/fstab
      tmpfs     /dev/shm       tmpfs   size=1g     0  0

  • Run the below command
      sudo mount -o remount tmpfs

  • Now check the tmpfs size using df -lh.It should reflect 1GB

No comments:

Related Posts Plugin for WordPress, Blogger...