CentOS7和RHEL7在 /etc/fstab中不包含/dev/shm
Linux OL7/RHEL7: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm (文件 ID 2065603.1)
CentOS7和RHEL7在 /etc/fstab中不包含/dev/shm ,可以手動加進去,或者忽略都可以。
In this Document
|
Symptoms |
|
Changes |
|
Cause |
|
Solution |
|
References |
APPLIES TO:
Oracle Database - Standard Edition - Version 12.1.0.2 and later
Oracle Database - Enterprise Edition - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]
Generic Linux
SYMPTOMS
Installing Grid infrastructure 12.1.0.2 on OL 7.1,cluvfy pre crsinst stage fails checking /dev/shm on both nodes.
PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm
PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm
CHANGES
CAUSE
This is due to below bugs:
OL7 - BUG - 12.2/MAIN/OL7.1: CVU REPORTS /DEV/SHM NOT MOUNTED WHEN IT IS MOUNTED
RHEL 7 - Bug : RHEL7.2: CVU REPORTS /DEV/SHM NOT MOUNTED WHEN IT IS MOUNTED
SOLUTION
This issue is fixed in 12.2.0.2, request for one-off patch if necessary.
As a work-around in OL7:
In OL7, the /dev/shm is not mounted in /etc/fstab on a fresh system, it is done in:
[root@testc140 u02]# ll /usr/lib/dracut/modules.d/99base/init.sh
-rwxr-xr-x. 1 root root 11379 Mar 26 10:14
vi /usr/lib/dracut/modules.d/99base/init.sh and comment the below lines
62 if ! ismounted /dev/shm; then
63 mkdir -m 0755 /dev/shm
64 mount -t tmpfs -o mode=1777,nosuid,nodev,strictatime tmpfs /dev/shm >/dev/null
65 fi
so, this validation is not really valid for OL7.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2214381/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【Linux】Linux檔案之/etc/fstabLinux
- shell 在/etc/profile中設定後不生效
- [轉帖]linux的tmpfs和/dev/shm目錄的詳細介紹Linuxdev
- 新特性:/dev/shm對Oracle 11g的影響devOracle
- 記錄一下docker踩坑 /dev/shm目錄Dockerdev
- 在initramfs修復 fstab
- RHEL7/CentOS7 yum私服搭建CentOS
- RHEL7或CentOS7中缺少compat-libstdc++-33-3.2.3CentOSC++
- 修改/dev/shm大小造成Oracle 12c叢集啟動故障devOracle
- RHEL7/CentOS7 type “journalctl -xb” to view system logsCentOSView
- RHEL7/CentOS7線上和離線安裝GitLab配置使用實踐CentOSGitlab
- 在瀏覽器中執行vscode -DEV瀏覽器VSCodedev
- 在Linux系統中,dev是什麼意思?Linuxdev
- swap 跟 fstab
- K8s 裡如何優雅地使用 /dev/shm 實現容器間共享記憶體K8Sdev記憶體
- 2>/dev/null和>/dev/null 2>&1和2>&1>/dev/null的區別devNull
- rhel7網路卡bond和team
- win10 etc資料夾不見了怎麼辦_win10 etc資料夾不見了如何找回Win10
- PHP 的自帶記憶體共享 APCu 和 shmPHP記憶體
- /etc/passwd & /etc/shadow 詳解
- 使用unbound在RHEL7上搭建DNS服務DNS
- webpack-dev-server 其實並不難WebdevServer
- 詳解Linux中/etc/passwd檔案Linux
- ETC2420 / ETC5242 Statistical ThinkingThinking
- /etc/alternatives
- 記12-7版本業務邏輯 - A不包含B且不包含C且不包含D
- /dev/null和標準*使用devNull
- rhel7 udevdev
- RHEL7和RHEL6的主要變化
- 使用深度學習庫DJL和Spring Boot在微服務中實現機器學習 - idk.dev深度學習Spring Boot微服務機器學習dev
- 在 vue 中樣式不生效Vue
- mysql如何判斷不包含某個字元MySql字元
- centos7/rhel7單使用者模式-密碼恢復-處理異常問題CentOS模式密碼
- npm install -save 和 -save-devNPMdev
- fstab 與行動硬碟掛載硬碟
- 在webpack-dev-server內新增mock serverWebdevServerMock
- 在pub.dev中認證為"Verified Publisher"併發布flutter庫流程devFlutter
- Could not find or access '/etc/ansible/bin/cfssljson /etc/ansible/bin/cfsslJSON