Journal gets spammed with "pbs_lxc: error fetching datastores" when PBS is not running

saldorin

Member
Mar 8, 2023
4
0
6
Hi there,
i've set up PBS as a VM in my Homelab to Backup VMs/CTs to an external drive. Works fine and all, but now i notice, that pvestatd spams the journal with
`pvestatd[2441]: pbs_lxc: error fetching datastores - 500 Can't connect to 192.168.1.24:8007 (No route to host)` every ten seconds when the VM is not running (i shut it down when the drive is not connected).

Is there a way to exclude this from pvestatd? Or to decrease the check frequency at least? I haven't found anything in the pvestat documentation so far :/
 
I seem to remember a similar question recently. AFAIR, a solution is to disable(?) this datastore after the backup job and enable it only before the next backup.
 
  • Like
Reactions: saldorin
Thank you! That indeed stops the journal spam - too obvious i guess ^^
Of course not the prettiest solution, but workable for me, as i don't need to update the offsite backup too often.
But maybe someone has a more elegant solution yet ;)
 
  • Like
Reactions: saldorin