Contents:
关闭/dev/sdb2的swap
# swapoff /dev/sdb2 # free -m #确认一下
命令关闭都是临时关闭,永久关闭需修改/etc/fstab文件里的内容,注释swap的行。
$ sudo swapoff -a