Oracle11g安装时报swap空间不足解决方法
This is a prerequisite condition to test whether sufficient total swap space is available on the system. (more details)
Expected Value: 16.00GB (1.6270524KB) 16270524
Actual Value: 4.87GB (5111800.0KB)
原因是swap空间不足,解决方法如下:
dd if=/dev/zero of=/data/swap bs=1024 count=16270524
mkswap /data/swap #格式化分区
swapon /data/swap #转为swap分区
free -m #查看swap大小
echo "/dev/mapper/centos-swap swap swap defaults 0 0" >> /etc/fstab
即可解决。
最后更新于 2020-04-01 11:19:05 并被添加「oracle swap」标签,已有 351 位童鞋阅读过。
本站使用「署名 4.0 国际」创作共享协议,可自由转载、引用,但需署名作者且注明文章出处