Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

recursive_recursion, (edited ) to linux in Help on BTRFS setup
@recursive_recursion@programming.dev avatar

Make a subvolume only for the swapfile.

doesn’t this kinda defeat the purpose/benefits of using a swapfile?

This is true for all files. Is it a bigger problem for swap?

specificly swapfiles yes, for swap partitions nope

How long ago did you have these issues?

Dec 2022, was still using and testing with swapfiles then and said fuck it as it caused too much problems.

I can’t rule out user error till I retest and strictly “follow the guide to the T” as I made modifications while following the same Arch guide for swapfile with BTRFS

edit:
also for clarification, I’m still not sure which one is optimal/best as I initially thought that using swapfile was forward thinking for the future, I’m using and recommending swap partitions as it seems to be the easiest to implement once and use continuously without any problems atm.

recursive_recursion, (edited ) to linux in Help on BTRFS setup
@recursive_recursion@programming.dev avatar

As swap is recommended just in case all RAM is maxed it’s better to have a swap partition as swap files have certain limitations when in combined use with BTRFS:

  • "subvolume - cannot be snapshotted if it contains any active swapfiles"
  • has a chance to fragment
  • has issues with hibernation (that I’ve personally encountered multiple times)

here’s the link for more info: man.archlinux.org/man/btrfs.5#SWAPFILE_SUPPORT

after switching to a swap partition with BTRFS I’ve experienced no issues for a user configuration

recursive_recursion, to asklemmy in What's your favorite thing to dream about?
@recursive_recursion@programming.dev avatar

Fixing systems

yeah I know I’m weird

recursive_recursion, to linux in Is there any way to emulate aegis authenticator (fdroid) on an ubuntu based computer?
@recursive_recursion@programming.dev avatar

That’s pretty neat! I didn’t know about Waydroid till now

however you need to mess with ARM emulation.

not sure about Arch as I’m on NixOS now and the implementation seems to be straightforward but I’ll keep an eye on your note if I do encounter issues

thanks!🤗

recursive_recursion, to linux in Help on BTRFS setup
@recursive_recursion@programming.dev avatar

From the BTRFS manual:

“Nodatacow implies nodatasum, and disables compression.”

“Datasum implies datacow”

Based on these notes I’d assume that since swapfile disables COW that it also disables checksumming which is where the risk of fragmentation occurs

I could be wrong tho

recursive_recursion, to linux in Anyone have experience with Intel Arc GPUs?
@recursive_recursion@programming.dev avatar

thank you for the links/references btw! +1

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #