[root@localhost ~]# swapon /var/swapfile swapon: /var/swapfile: read swap header failed: Invalid argument [root@localhost ~]# mkswap /var/swapfile mkswap: /var/swapfile: warning: don't erase bootbits sectors on whole disk. Use -f to force. Setting up swapspace version 1, size = 52...