作者:[email protected] 【转载时请以超链接形式标明文章】
链接:http://www.cnblogs.com/david-zhang-index/archive/2012/04/26/2472087.html
在oracle linux上安装oracle 11g的过程中对于os的共享内存(/dev/shm)还是有一定的要求的,其大小不能小于你分配给oracle使用的内存的大小
[[email protected] ~]$ cat /etc/fstab | grep shm
tmpfs /dev/shm tmpfs defaults 0 0
[[email protected] ~]$ df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on tmpfs 538M 0 538M 0% /dev/shm
[[email protected] ~]# vi /etc/fstab
[[email protected] ~]# more /etc/fstab
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults,size=1024M 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 LABEL=SWAP-sda2 swap swap defaults 0 0
[[email protected] ~]# mount -o remount /dev/shm
[[email protected] ~]# df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on tmpfs 1.0G 0 1.0G 0% /dev/shm
时间: 2024-11-08 20:29:18