#[SOLVED] Swapfile block size/count?

7 messages · Page 1 of 1 (latest)

royal walrus
#

I'm having trouble understanding what block sizes I should be using when making a swapfile with dd

'dd if=/dev/zero of=swapfile bs=1M count=36864 status=progress'

This is what I think I should be using for a 36GB swapfile but I'm not 100% if I should be using bigger block sizes

round linden
#

Man page for DD goes over this but if you want something easier for allocating swap check out fallocate.

sudo fallocate -l 32G /swapfile
junior silo
royal walrus
strong ravineBOT
#

chaos2theory received a thank you cookie!

junior silo
#

... solved

orchid rainBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you