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  21441387 - 12.2/MAIN/OL7.1: CVU REPORTS /DEV/SHM NOT MOUNTED WHEN IT IS MOUNTED

RHEL 7 - Bug  25907259  : 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/,如需转载,请注明出处,否则将追究法律责任。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小麦苗DBA宝典

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值