Results 1 to 2 of 2
Thread: swap file has holes
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2010
swap file has holes
I'm trying to setup a simple swapfile, using the commands shown below, and getting swapfile has holes error.
#dd if=/dev/zero of=/swapfile bs=1M count=20
20+0 records in
20+0 records out
swapon: swapfile has holes
swapon: /swapfile: Invalid argument
can any body help to solve this problem?