Skip to main content

Posts

Showing posts with the label file

Adding SWAP space on Oracle Linux 8.x using swap file

This article will guide you how you can add the swap space on Oracle Linux 8.x operating system. In this method we will use the swap file for adding it to the swap memory. Currently allocated swap memory – 8 GB New swap memory to be added – 32 GB [root@racnode1 ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 756G 0 756G 0% /dev tmpfs 756G 4.0K 756G 1% /dev/shm tmpfs 756G 27M 756G 1% /run tmpfs 756G 0 756G 0% /sys/fs/cgroup /dev/mapper/ol-root 100G 2.8G 98G 3% / /dev/sda2 945M 223M 658M 26% /boot /dev/sda1 488M 5.2M 483M 2% /boot/efi /dev/mapper/ol-oracle 500G 3.6G 497G 1% /oracle /dev/mapper/ol-ortrace 500G 3.6G 497G 1% /oracle/trace tmpfs 152G 0 152G 0% /run/user/0 [root@racnode1 ~]# Create swap file with 32GB size: [root@racnode1 ~]# dd if=/dev/zero of=/root/newswap bs=1M count=327...