Sam@lemmy.ca to Selfhosted@lemmy.worldEnglish · 1 year agoHow much swap?message-squaremessage-square3fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareHow much swap?Sam@lemmy.ca to Selfhosted@lemmy.worldEnglish · 1 year agomessage-square3fedilinkfile-text
minus-squarez3bra@lemmy.sdf.orglinkfedilinkEnglisharrow-up0·1 year agoDon’t even bother with a SWAP partition. Create an empty file on your / partition so you can grow/shrink it as needed. did if=/dev/zero of=/SWAP bs=1024m count=4 mkswap /SWAP swapon /SWAP
minus-squaremygreatlimbo@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoNot a golden rule. For example btrfs has limited support for swapfiles.
Don’t even bother with a SWAP partition. Create an empty file on your / partition so you can grow/shrink it as needed.
did if=/dev/zero of=/SWAP bs=1024m count=4 mkswap /SWAP swapon /SWAP
Not a golden rule. For example btrfs has limited support for swapfiles.