Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
creating a swapfile in bcachefs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kris
n00b
n00b


Joined: 12 Oct 2009
Posts: 30
Location: Thorn Polska

PostPosted: Sun Mar 17, 2024 10:55 am    Post subject: creating a swapfile in bcachefs Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum