I was Installing Oracle Database 12c on Oracle Solaris 11.2 and the pre-requisites for database Installation failed for SWAP memory requirement. The configured swap memory on the server is 1GB and the Physical memory of the server is 4GB.
There should be at least 4GB of SWAP memory configured to avoid this error.
This is article will help to Increase the SWAP memory of the system without any downtime. We can add additional SWAP memory online using zfs commands.
- Identify the current volume using for SWAP:
There should be at least 4GB of SWAP memory configured to avoid this error.
This is article will help to Increase the SWAP memory of the system without any downtime. We can add additional SWAP memory online using zfs commands.
- Identify the current volume using for SWAP:
root@soltest1:~# swap -l swapfile dev swaplo blocks free /dev/zvol/dsk/rpool/swap 303,1 8 2097144 2097144
- Identify the size of the current SWAP space:
root@soltest1:~# zfs get volsize rpool/swap NAME PROPERTY VALUE SOURCE rpool/swap volsize 1G local
- Set new size for SWAP volume
root@soltest1:~# zfs set volsize=5g rpool/swap root@soltest1:~# zfs get volsize rpool/swap NAME PROPERTY VALUE SOURCE rpool/swap volsize 5G local root@soltest1:~#
Set new size for SWAP volume
Its very simple in Solaris 11 to re-size the SWAP volume.
regards,
Zaheer
Comments