1. adding new disk space or resizing swap partition 2. swap off [root@testsvr ~]# swapon --show NAME TYPE SIZE USED PRIO /dev/sdb1 partition 16G 0B -1 [root@testsvr ~]# swapoff /dev/sdb1 [root@testsvr ~]# swapon --show [root@testsvr ~]# 3. creating new swap partition [root@testsvr ~]# fdisk /dev/sdb Command (m for help): p Command (m for help): d Selected partition 1 Partition 1 is deleted Comma..