{"id":2788,"date":"2012-11-16T08:16:00","date_gmt":"2012-11-16T07:16:00","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/"},"modified":"2012-11-16T08:16:00","modified_gmt":"2012-11-16T07:16:00","slug":"unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/","title":{"rendered":"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions"},"content":{"rendered":"<p>I recently helped to create a lab dedicated to a training about Oracle backup and recovery, with Oracle 11g databases. While creating several databases on an Oracle Enterprise Linux 6.1, I wanted to resize the tmpfs to allocate more memory to the databases for AMM (Automatic Memory Management). That was a small challenge \ud83d\ude42 &#8230;<\/p>\n<p>By default, the value of the tmpfs is the half of the installed memory. So, on my 3 GB memory sized environment, the tmpfs was sized to 1,5 GB per default. This was not enough to run my 3 databases concurrently. In this case, resize the tmpfs was necessary.<\/p>\n<p>The common way to resize the tmpfs is to edit the fstab file located in the \/etc directory, and to add the &#8220;size=&#8221; attribute for the tmpfs row. Alter this file is supposed to allow the new size to be static, meaning that the tmpfs will keep the new value at each startup.<\/p>\n<p>In the following example I tryed to resize the tmpfs to 2 GB:<\/p>\n<p><code>tmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/dev\/shm\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 tmpfs\u00a0\u00a0 defaults,size=2g \u00a0\u00a0 0 0<\/code><\/p>\n<p>But surprise, after saving the file and restarting the machine, tmpfs was still 1,5 GB sized:<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">[root@vmtestora11g ~]# df -h\nFilesystem\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Size\u00a0 Used Avail Use% Mounted on\ntmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1.5G\u00a0 420M\u00a0 1.1G\u00a0 28% \/dev\/shm\n...<\/pre>\n<p>&nbsp;<\/p>\n<p>However, if I hot resize the tmpfs with the following command, the size is updated successfully:<\/p>\n<p><code>mount -o remount \/dev\/shm<\/code><\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">[root@vmtestora11g ~]# df -h\nFilesystem\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Size\u00a0 Used Avail Use% Mounted on\ntmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2.0G\u00a0 420M\u00a0 1.6G\u00a0 21% \/dev\/shm\n...<\/pre>\n<p>&nbsp;<\/p>\n<p>In fact, from Oracle Enterprise Linux 6.0, this parameter is not persistent: at startup, the tmpfs value is set to its default value, regardless what is recorded in the fstab. This problem is also issued on Red Hat 6, and it seems to be a bug proper to this Linux distribution.<\/p>\n<p>To fix this problem, a simple way is to automatically run the previous command mount -o remount \/dev\/shm at startup. Tmpfs must be resized before starting Oracle to avoid any risk of database shutdown. Two cases:<\/p>\n<ul>\n<li>Database is not set to start automatically at server startup: the script \/etc\/rc.d\/rc.local can be used. This script allows to execute commands or other scripts. It is executed after all other init scripts, but if Oracle is started manually it is not a problem.<\/li>\n<li>Database is set to start automatically at server startup (using for example the dbi services DMK service_start_stop script): it is better to create a specific script to run the command, and to configure it with chkconfig to execute before the oracle services start script, at wanted run levels.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg\" alt=\"rc.local\" width=\"577\" height=\"176\" \/><\/p>\n<p>Example of using rc.local script<\/p>\n<p>Some people prefer to use another way to fix the problem, modifying the \/etc\/rc.d\/rc.sysinit file. This technique is not developped here, but just know that the sysinit file is responsible of few operations such as mounting filesystems or setup networking, and that it is the first script run by the \/etc\/inittab file, at \/sbin\/init process startup.<\/p>\n<p>Alter this file is at your own risks, it is not advised to change it.<\/p>\n<p>To conclude with something interesting: I tried to relocate the tmpfs from \/dev\/shm to \/mnt\/shm (for example). This time, the size parameter was loaded successfully at startup. But I quickly realized that after starting an instance, the new path of tmpfs remained empty and unused.<\/p>\n<p>What is strange is that the instance was running correctly with AMM, which mode is supposed to require the shared memory file system \/dev\/shm (tmpfs):<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">SQL&gt; show parameter memory\nNAME\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TYPE\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 VALUE\n------------------------------------ ----------- -----------\nmemory_max_target\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 big integer 800M\nmemory_target\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 big integer 800M\n\u00a0\n[root@vmtestora11g ~]# df -h\nFilesystem\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Size\u00a0 Used Avail Use% Mounted on\ntmpfs\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2.0G\u00a0\u00a0\u00a0\u00a0 0\u00a0 2.0G\u00a0\u00a0 0% \/mnt\/shm<\/pre>\n<p>&nbsp;<\/p>\n<p>So if the instance is running, and no tmpfs appears to be used, where can be loaded the SGA ? The response is in \/dev\/shm ! Yes, no matter if a tmpfs filesystem is declared or not in the fstab, Oracle still uses the \/dev\/shm path for SGA with AMM.<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">[root@vmtestora11g ~]# ls -altr \/dev\/shm\ntotal 490836\n-rw-r-----. 1 oracle oinstall 4194304 Oct 31 13:45 ora_DBTEST1_425984_0\n-rw-r-----. 1 oracle oinstall 4194304 Oct 31 13:45 ora_DBTEST1_425984_1\n-rw-r-----. 1 oracle oinstall\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 Oct 31 13:45 ora_DBTEST1_458753_0\n...<\/pre>\n<p>And tmpfs still gets the default size value:<\/p>\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1\">[root@vmtestora11g ~]# df -h \/dev\/shm\nFilesystem\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Size\u00a0 Used Avail Use% Mounted on\n-\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 1.5G\u00a0 480M\u00a0 1.1G\u00a0 32% \/dev\/shm<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I recently helped to create a lab dedicated to a training about Oracle backup and recovery, with Oracle 11g databases. While creating several databases on an Oracle Enterprise Linux 6.1, I wanted to resize the tmpfs to allocate more memory to the databases for AMM (Automatic Memory Management). That was a small challenge \ud83d\ude42 &#8230; [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":2789,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[42],"tags":[241,46,17,343],"type_dbi":[],"class_list":["post-2788","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-operating-systems","tag-amm","tag-linux-unix","tag-oracle-11g","tag-tmpfs"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Unable to resize tmpfs on Oracle Enterprise Linux 6 versions - dbi Blog<\/title>\n<meta name=\"description\" content=\"I recently helped to create a lab dedicated to a training about Oracle backup and recovery, with Oracle 11g databases. While creating several databases on an Oracle Enterprise Linux 6.1, I wanted to resize the tmpfs to allocate more memory to the databases for AMM (Automatic Memory Management). That was a small challenge :-). By default, the value of the tmpfs is the half of the installed memory. So, on my 3 GB memory sized environment, the tmpfs was sized to 1,5 GB per default. This was not enough to run my 3 databases concurrently. In this case, resize the tmpfs was necessary.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions\" \/>\n<meta property=\"og:description\" content=\"I recently helped to create a lab dedicated to a training about Oracle backup and recovery, with Oracle 11g databases. While creating several databases on an Oracle Enterprise Linux 6.1, I wanted to resize the tmpfs to allocate more memory to the databases for AMM (Automatic Memory Management). That was a small challenge :-). By default, the value of the tmpfs is the half of the installed memory. So, on my 3 GB memory sized environment, the tmpfs was sized to 1,5 GB per default. This was not enough to run my 3 databases concurrently. In this case, resize the tmpfs was necessary.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-16T07:16:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"577\" \/>\n\t<meta property=\"og:image:height\" content=\"176\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions\",\"datePublished\":\"2012-11-16T07:16:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/\"},\"wordCount\":605,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg\",\"keywords\":[\"AMM\",\"Linux\/UNIX\",\"Oracle 11g\",\"TMPFS\"],\"articleSection\":[\"Operating systems\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/\",\"name\":\"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg\",\"datePublished\":\"2012-11-16T07:16:00+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"description\":\"I recently helped to create a lab dedicated to a training about Oracle backup and recovery, with Oracle 11g databases. While creating several databases on an Oracle Enterprise Linux 6.1, I wanted to resize the tmpfs to allocate more memory to the databases for AMM (Automatic Memory Management). That was a small challenge :-). By default, the value of the tmpfs is the half of the installed memory. So, on my 3 GB memory sized environment, the tmpfs was sized to 1,5 GB per default. This was not enough to run my 3 databases concurrently. In this case, resize the tmpfs was necessary.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg\",\"width\":577,\"height\":176},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions - dbi Blog","description":"I recently helped to create a lab dedicated to a training about Oracle backup and recovery, with Oracle 11g databases. While creating several databases on an Oracle Enterprise Linux 6.1, I wanted to resize the tmpfs to allocate more memory to the databases for AMM (Automatic Memory Management). That was a small challenge :-). By default, the value of the tmpfs is the half of the installed memory. So, on my 3 GB memory sized environment, the tmpfs was sized to 1,5 GB per default. This was not enough to run my 3 databases concurrently. In this case, resize the tmpfs was necessary.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/","og_locale":"en_US","og_type":"article","og_title":"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions","og_description":"I recently helped to create a lab dedicated to a training about Oracle backup and recovery, with Oracle 11g databases. While creating several databases on an Oracle Enterprise Linux 6.1, I wanted to resize the tmpfs to allocate more memory to the databases for AMM (Automatic Memory Management). That was a small challenge :-). By default, the value of the tmpfs is the half of the installed memory. So, on my 3 GB memory sized environment, the tmpfs was sized to 1,5 GB per default. This was not enough to run my 3 databases concurrently. In this case, resize the tmpfs was necessary.","og_url":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/","og_site_name":"dbi Blog","article_published_time":"2012-11-16T07:16:00+00:00","og_image":[{"width":577,"height":176,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg","type":"image\/jpeg"}],"author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions","datePublished":"2012-11-16T07:16:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/"},"wordCount":605,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg","keywords":["AMM","Linux\/UNIX","Oracle 11g","TMPFS"],"articleSection":["Operating systems"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/","url":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/","name":"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg","datePublished":"2012-11-16T07:16:00+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"description":"I recently helped to create a lab dedicated to a training about Oracle backup and recovery, with Oracle 11g databases. While creating several databases on an Oracle Enterprise Linux 6.1, I wanted to resize the tmpfs to allocate more memory to the databases for AMM (Automatic Memory Management). That was a small challenge :-). By default, the value of the tmpfs is the half of the installed memory. So, on my 3 GB memory sized environment, the tmpfs was sized to 1,5 GB per default. This was not enough to run my 3 databases concurrently. In this case, resize the tmpfs was necessary.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/rc.local_.jpg","width":577,"height":176},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/unable-to-resize-tmpfs-on-oracle-enterprise-linux-6-versions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Unable to resize tmpfs on Oracle Enterprise Linux 6 versions"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/2788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=2788"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/2788\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/2789"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=2788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=2788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=2788"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=2788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}