You are not logged in.
Pages: 1
I just finished installing arch and everything seems to work fine. However, I just realised that my swap space, for which I allocated 16G during the installation process, is not used and I wonder why.
The partition layout of my arch installation (windows dualboot) is
├─sdb5 8:21 0 300G 0 part
│ └─root 254:0 0 300G 0 crypt
│ ├─main-root 254:1 0 80G 0 lvm /
│ ├─main-swap 254:2 0 16G 0 lvm
│ └─main-home 254:3 0 204G 0 lvm /homeRunning htop shows swap to be of size 0K:
1 [||| 2.6%] 5 [|| 1.3%]
2 [| 0.7%] 6 [|| 1.3%]
3 [ 0.0%] 7 [| 0.7%]
4 [||||||| 7.3%] 8 [ 0.0%]
Mem[|||||||||||||||||||| 1.90G/15.4G] Tasks: 44, 312 thr; 1 running
Swp[ 0K/0K] Load average: 0.25 0.31 0.32 I tried
sudo mkswap /dev/mapper/main-swap
sudo swapon /dev/mapper/main-swapWith the result that htop displayed the expected 16G swap space, however after reboot it was back to 0K.
Did I forget something in the installation process? Or is this normal under some circumstances?
Any hint is greatly appreciated.
Last edited by catastropeia (2018-12-02 15:05:46)
Offline
Is it in /etc/fstab?
Offline
You have 16G of memory, of which less than 2G is used. Why should swap even come into the picture?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Why on earth would you want your swap to be used instead of the shedloads of RAM you still have available?
Offline
Is it in /etc/fstab?
No, it isn't. Can I just run genfstab again?
Last edited by catastropeia (2018-11-19 19:21:23)
Offline
Can I just run genfstab again?
You can, yes. But that seems a bit tedious. All it does is write an fstab file which is just a plain text file: edit it as needed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks - that was it.
Offline
Pages: 1