You are not logged in.

#1 2023-01-15 10:03

Sentinel
Member
Registered: 2023-01-02
Posts: 16

Swapon -a not working

Hello again!
After awaking from sleep mode I saw that the system is too slow and also that too much of swap space is occupied. I decided to return swap contents to memory and ran swapoff -a. After that I tried to enable swap again by swapon -a, but it didn't work. When I read the manual it said that it enables swap found in fstab file. My fstab file contains only root and efi partitions and no swap.
So I have a question for the developers - why is swap file not listed in fstab whereas it must be?

Offline

#2 2023-01-15 12:37

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Swapon -a not working

Yes, swap should be listed in fstab by default. What way did you install Q4OS ? Please post steps for us to be able to reproduce the issue.

Offline

#3 2023-01-15 17:48

Sentinel
Member
Registered: 2023-01-02
Posts: 16

Re: Swapon -a not working

q4osteam wrote:

What way did you install Q4OS?

I installed it from a live DVD made from the ISO from your site (the one with KDE DE).

q4osteam wrote:

Please post steps for us to be able to reproduce the issue.

Are you serious? Really? Well, I can do that:
- open /etc folder in file manager
- open fstab file in text editor
- search for the record labeled "swap"
- find nothing
- feel embarrassed (optional)

Offline

#4 2023-01-28 11:05

Kevin
Member
Registered: 2019-07-12
Posts: 9

Re: Swapon -a not working

mayby dit will help,

i did a blkid & added to fstab.

UUID=8678ec49-4e91-4074-809a-bf22b2c76b89 none        swap     sw   0   0

Offline

#5 2023-01-30 10:54

Sentinel
Member
Registered: 2023-01-02
Posts: 16

Re: Swapon -a not working

Yes, this can be done. I actually got the ID from KDE partition manager. The question is why it's not initially there, which developers refused to answer. Did you also have swap missing from fstab from the beginning?

Offline

#6 2023-01-30 13:56

Sentinel
Member
Registered: 2023-01-02
Posts: 16

Re: Swapon -a not working

And what is this "sw" thing? It's not mentioned in the manual.

Offline

Board footer

Powered by FluxBB