👉 Fichier SWAP et zRAM ▶ on s'amuse un peu avec les deux 👊

https://peertube.blablalinux.be/w/goCbw7kPMLu3P7DDWEHZRY

👉 Fichier SWAP et zRAM ▶ on s'amuse un peu avec les deux 👊

PeerTube

swapon, the original way to download more ram

#linux #tech #swapfile #downloadmoreram #swapon #swapoff #mrmiyagi

I have a brand new 2025 Dell Inspiron 5440 laptop with an Intel Core 7 150U CPU. I'm running #Linux Mint Cinnamon 22.2, with kernel 6.14.0-33-generic.

I increased the size of my #swapfile to 32 GiB, since I have 16 GiB of physical RAM, and tons of available storage (500 GB allocated to the Linux partition, 12% full) and ran "sudo systemctl hibernate":

' Call to Hibernate failed: Sleep verb 'hibernate' is not configured or configuration is not supported by kernel '

I'm now able to:
- create #btrfs subvolume
- Ensure entry in #fstab
- mount it
- create, init & enable #swapfile
- Ensure entry in fstab

\o/

#Ansible #ConfigurationManagement

Vamos a hacer hueco para la swap porque #kswapd me tiene fritanga.

El caso es que tenĂ­a un #swapfile pero con #BTRFS si quieres poder hacer instantĂĄneas no puedes tener un swapfile.

AsĂ­ que hay que crear un subvolumen.

Swap file https://wiki.archlinux.org/title/Btrfs#Usage

Btrfs - ArchWiki

@manielfo Claro que sirve Juan! Lo voy a tener en cuenta para el post de #swap!

A fines prĂĄcticos, son casi iguales... de hecho creo que distros como Ubuntu ahora usan #swapfile por default.

AdemĂĄs, el swapfile es mĂĄs fĂĄcil de configurar en algunos servidores en la nube, ya que no hay que particionar disco.

Creo que habĂ­a una diferencia al reiniciar desde un sistema suspendido, creo que habĂ­a que indicarle al nĂșcleo dĂłnde estaba el swapfile, pero no se si eso serĂĄ indistinto ahora.

A leer 🙂

đŸ§” 3/3 next time i install #KDEneon i'll have at least 4 partitions.

1) EFI
2) /boot
3) swap on LUKS
4) / (compressed btrfs on LUKS)

EDIT: apparently i CAN have a #swapfile on #btrfs, after all. [partitions 2) and 3) aren't required, then]

👉 btrfs filesystem mkswapfile --size 4g --uuid clear /swap/swapfile

👀 https://wiki.archlinux.org/title/Btrfs#Swap_file via @sirber (thanks, mate👍)

#LessonsLearned

Btrfs - ArchWiki

It seems that #Thunar ( #Xubuntu default file manager ) just can't get the .Trash folder to work with #btrfs volumes using subvol #mount option. That's quite a weak achievement. Because the #swapfile must be on root volume, and therefore it's logical to use subvolume for all data, so it can be snapshotted. But if snapshots are being used, then #trash feature won't work anymore, due to the limitations linked to the #subvolumes. Yet I personally find this to be incredibly lame and totally pointless and completely unbased limitation. #Linux silliness.
Some things are quite bit different with #btrfs, spent a enjoyable while while configuring #swapfile [root @ subvolume, no compression, no copy on write] and .Trash-User folders for Thunar, oh joy. But got it done. Extra bonus for misleading and confusing error messages. #linux

MĂĄs de un usuario de GNU/Linux se habrĂĄ preguntado: ÂżcuĂĄnta swap le asigno a mi sistema?

¿Querés saber cuånto espacio de intercambio, y qué tipo de swap podés implementar en tu sistema?

Te dejamos esta entrada en nuestro el blog que seguramente aclararĂĄ muchas dudas!

https://juncotic.com/swap-en-gnu-linux-cuanto-espacio-le-damos/

#linux #gnu #swap #swapfile #hibernar

Swap en GNU/Linux: ÂżCuĂĄnto espacio le damos? - Junco TIC

En este artĂ­culo hablaremos sobre el espacio swap en GNU/Linux, y cuĂĄnto espacio debe tener segĂșn el uso que vayamos a darle. SĂ­, ya hemos hablado largo y tendido sobre el espacio swap de Linux Leer mĂĄs


Junco TIC