错误:swapoff: /dev/dm-1: swapoff failed: Cannot allocate memory

解决方法:

[root@jrgc ~]# swapon -s
Filename                                Type                 Size         Used     Priority
/dev/dm-1                              partition            3145724       1524700    -1
[root@jrgc ~]# swapoff /dev/dm-1
swapoff: /dev/dm-1: swapoff failed: Cannot all