中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

grid安裝前檢查報PRVE-0426:/dev/shm less than the require

發布時間:2020-04-10 19:33:25 來源:網絡 閱讀:1948 作者:jsj_007 欄目:關系型數據庫

操作系統信息:

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.5 (Maipo)

runcluvfy檢查結果:

Starting check for /dev/shm mounted as temporary file system ...
ERROR: 
PRVE-0426 : The size of in-memory file system mounted as /dev/shm is "1000" megabytes which is less than the required size of "2048" megabytes on node ""
PRVE-0426 : The size of in-memory file system mounted as /dev/shm is "995" megabytes which is less than the required size of "2048" megabytes on node ""
Check for /dev/shm mounted as temporary file system failed

當前配置:
[root@prodb1 ~]# df -h

Filesystem           Size  Used Avail Use% Mounted on
devtmpfs             975M     0  975M   0% /dev
tmpfs                995M     0  995M   0% /dev/shm
tmpfs                995M  8.7M  986M   1% /run
tmpfs                995M     0  995M   0% /sys/fs/cgroup
/dev/mapper/ol-root   22G  3.9G   19G  18% /
/dev/sda1           1014M  158M  857M  16% /boot
tmpfs                199M     0  199M   0% /run/user/0
tmpfs                199M     0  199M   0% /run/user/1002

當前shm大小 為995m。
檢查fstab
[root@prodb1 ~]# cat /etc/fstab

# /etc/fstab
# Created by anaconda on Wed Jan 30 13:44:53 2019
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/ol-root     /                       xfs     defaults        0 0
UUID=266095fc-dca4-4fce-a808-a10628d642d3 /boot                   xfs     defaults        0 0
/dev/mapper/ol-swap     swap                    swap    defaults        0 0

fstab沒有了shm的配置,配置信息寫入了以下文件:

# ll /usr/lib/dracut/modules.d/99base/init.sh 
-rwxr-xr-x. 1 root root 11467 4月  11 2018 /usr/lib/dracut/modules.d/99base/init.sh

    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

修改64行,保證下次重啟依然有效:

mount -t tmpfs -o mode=1777,nosuid,nodev,strictatime,size=2G tmpfs /dev/shm >/dev/null 

修改當前設置:

#fsuser -km /dev/shm
#umount /dev/shm
#mount -t tmpfs -o mode=1777,nosuid,nodev,strictatime,size=2G tmpfs /dev/shm

參考:Linux OL7/RHEL7: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm (文檔 ID 2065603.1)

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

罗平县| 尤溪县| 长岭县| 云梦县| 博白县| 祁连县| 武定县| 溆浦县| 福安市| 惠东县| 东乡| 平阳县| 威海市| 临海市| 五常市| 开封市| 东源县| 平乐县| 桓仁| 新绛县| 乌兰察布市| 西林县| 武冈市| 昂仁县| 吉首市| 乐清市| 顺平县| 会东县| 永定县| 灵石县| 壤塘县| 惠安县| 娱乐| 资兴市| 杨浦区| 华池县| 景德镇市| 南昌县| 儋州市| 泰宁县| 岳池县|