read_meminfo failed - unable to read ...pages_sharing"
Closed this issue ยท 14 comments
Hey there! I've been using PBS through Docker for a while now with no issues, but today I can't get it to start.
It's repeatedly spitting out the below to the logs but not booting up.
read_meminfo failed - unable to read "/sys/kernel/mm/ksm/pages_sharing" - No such file or directory (os error 2)
Any idea as to what may be causing this?
I'm running the latest debug version (although it was showing up on :latest
too) on a Pi 4 with Debian Buster.
Interesting. Can you try one of the older versions? And don't use one with .debug
:)
I'm sure that v2.0.7
works: https://hub.docker.com/r/ayufan/proxmox-backup-server/tags?page=1&ordering=last_updated
It starts for me, that error appears only into PBS when I try to view some graphs
Is it possible, that this is related to RaspberrypiOS not supporting KMS?
This may be helpful: wofferl/proxmox-backup-arm64#5
Since this is docker container. Just bind-mount empty file, this should silence this warning very well.
volumes:
- /dev/null:/sys/kernel/mm/ksm/pages_sharing:ro
Would it be possible to apply the patch from wofferl/proxmox-backup-arm64#5 ?
That would solve the problem in a clean way in my opinion :)
For time being this should do the trick:
volumes:
...
- /tmp/pbs-mm:/sys/kernel/mm
command:
/bin/bash -c 'mkdir -p /sys/kernel/mm/ksm; echo 0 > /sys/kernel/mm/ksm/pages_sharing; exec runsvdir /runit'
Yes, that worked, thank you!
Also, thanks a lot for wrapping this up! It is the perfect solution and exactly what I was looking for for a long time ๐
@dorianim @caraar12345 You might check v2.1.5
with a fix: https://hub.docker.com/r/ayufan/proxmox-backup-server.
Works for me! ๐