In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Operating system information:
# cat / etc/redhat-release Red Hat Enterprise Linux Server release 7.5 (Maipo)
Runcluvfy check results:
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"
Current configuration:
[root@prodb1] # df-h
Filesystem Size Used Avail Use% Mounted ondevtmpfs 975M 0975M 0% / devtmpfs 995M 0995m 0% / dev/shmtmpfs 995M 8.7m 986m 1% / runtmpfs 995M 0995m 0% / sys/fs/cgroup/dev/mapper/ol-root 22G 3.9G 19G 18% / / dev/sda1 1014M 158m 857m 16% / boottmpfs 199m 0 199m 0% / run/user/0tmpfs 199m 0 199M 0 0% / run/user/1002
The current shm size is 995m.
Check fstab
[root@prodb1 ~] # cat / etc/fstab
# / etc/fstab# Created by anaconda on Wed Jan 30 13:44:53 2019 years # 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 0UUID=266095fc-dca4-4fce-a808-a10628d642d3 / boot xfs defaults 0 0/dev/mapper/ol-swap defaults 0 0
Fstab does not have the configuration of shm, and the configuration information is written to the following file:
# ll / usr/lib/dracut/modules.d/99base/init.sh-rwxr-xr-x. 1 root root 11467 April 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
Modify 64 lines to ensure that the next restart is still valid:
Mount-t tmpfs-o mode=1777,nosuid,nodev,strictatime,size=2G tmpfs / dev/shm > / dev/null
Modify the current settings:
# fsuser-km / dev/shm#umount / dev/shm#mount-t tmpfs-o mode=1777,nosuid,nodev,strictatime,size=2G tmpfs / dev/shm
Reference: Linux OL7/RHEL7: PRVE-0421: No entry exists in / etc/fstab for mounting / dev/shm (document ID 2065603.1)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.