kris n00b
Joined: 12 Oct 2009 Posts: 30 Location: Thorn Polska
|
Posted: Sun Mar 17, 2024 10:55 am Post subject: creating a swapfile in bcachefs |
|
|
Hello
How to create a swapfile on a system with a bcachefs file system, an attempt to create a swap file failed
Code: |
# cd /home
# fallocate -l 10GiB swapfile
# chmod 600 swapfile
# mkswap /home/swapfile
mkswap: /home/swapfile contains holes or other unsupported extents.
This swap file may be rejected by the kernel on startup!
- unallocated extent at offset 0
- a hole was detected under offset 2147483648 |
|
|