Anyone knows how to modify tmpfs on centos6 permanently.
What do you mean by "modify tmpfs? Where it is mounted? Please explain exactly what you are trying to accomplish.
I want to increase the size of the tmpfs for Oracle. I'm running Centos 6.
You should be able to modify the tmpfs entry in /etc/fstab to add the option size=NN where NN is something like 20M, etc. Here is a link to a good article on the subject: http://www.thegeekstuff.com/2008/11/overview-of-ramfs-and-tmpfs-on-linux/
Note that tmpfs uses the swap file for storage, so make sure your swap space is big enough for your needs.
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.