创建分区swap分区

1.将文件系统卸载
shell

umount /sdc5

2.创建swap分区
```shell```
#mkswap /dev/sdc5

3.激活swap分区
shell

swapon -a /dev/sdc5

4.查看swap分区情况
```shell```
#swapon -s

成功:

原文地址:https://www.cnblogs.com/sunqim16/p/6566267.html