What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.1.32
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: I added a SWAP Partition
Describe your issue
Been researching this for days and can’t find a solution. I appreciate any help you can give.
So, I ran into RAM and storage issues, as one does on a low-cost VPS. (Started on 1gb/10gb). I upgraded my plan and had to reconfigure Yunohost for a bigger HDD. I now have 2gb/80gb. At the time, I thought I’d get clever and cut out 2gb as a handy little SWAP partition. Now I have the strangest thing. Debian through SHH using the swapon --show command shows:
“/dev/vda2 partition 1.9G 437.1M -2”
Clear as day, the swap is showing and is even in use. This is after a reboot too, so obviously I did the fstab thing correctly. Ran lsblk too, and is says:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
vda 254:0 0 80G 0 disk
├─vda1 254:1 0 78.1G 0 part /
└─vda2 254:2 0 1.9G 0 part [SWAP]
However, Yunohost has other ideas. The diagnosis page is barking:
“The system has only 35 MiB (1.8%) RAM available! (out of 1.9 GiB)”
and
“The system has no swap at all. You should consider adding at least 512 MiB of swap to avoid situations where the system runs out of memory.”
One thing I did note is, Yunohost only shows /dev/vda1. Is it possible the SWAP issue is actually a HDD mounting issue? If so, how do I tell Yunohost that there’s a second HDD/Partition? Shouldn’t Yunohost already know that? I mean, Debian does. And how on Earth do I tell Yunohost that it has SWAP to play with?
Thank you for your time.
Damien.