public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>
Subject: Re: [pbs-devel] Some problems with fullstorage and cleanup
Date: Mon, 31 Aug 2020 13:39:16 +0200	[thread overview]
Message-ID: <1598873753.xg9lm3vlx4.astroid@nora.none> (raw)
In-Reply-To: <82142373-8994-8d65-5cc8-6944873bb33e@itronic.at>

On August 31, 2020 1:14 pm, Harald Leithner wrote:
> Hi,
> 
> my test stroage run out of diskspace.
> 
> This happens at Version 0.8-11
> 
> I tried to forget the olders snapshots but this doesn't change the disk
> usage. After this I started a manual GC (I assume it's garbage
> collection). It failed after phase one with an error message. I didn't
> copied the error message... (I miss the log panel in the gui).
> 
> I also configured GC and Prune Schedules at the same time and told the
> vm that backups to the pbs to keep only 20 copies.
> 
> After a while I came back to the gui and has only 3 snapshots left and
> one backup in progress (Thats maybe correct because of 1 yearly 1
> monthly 1 daily and 2 last).
> The Statistics Tab still says 100% usage and "zfs list" lists the same
> usage.
> 
> Starting now a manual GC ends in the error message:
> 
> unable to parse active worker status
> 'UPID:backup-erlach3-test:00000400:0000036A:00000000:5F4CD753:termproxy::root:'
> - not a valid user id

this was a known issue that should be fixed on upgrade to 0.8.11-1. can 
you run 'grep termproxy /var/log/apt/term.log' on the PBS server?

you can fixup the task index by running the sed command from 

/var/lib/dpkg/info/proxmox-backup-server.postinst

which replaces the invalid user 'root' with the correct 'root@pam'

> maybe because a backup is running?
> 
> Is there a way to give the unused diskspace free manually?

GC is the way to go, after fixing the issue above. note that only chunks 
older than 24h (or since the least recent, still running backup if that 
is even longer ago) will be GCed.

> thx
> 
> Harald




  reply	other threads:[~2020-08-31 11:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31 11:14 Harald Leithner
2020-08-31 11:39 ` Fabian Grünbichler [this message]
2020-08-31 12:32   ` Harald Leithner
2020-08-31 13:10     ` Fabian Grünbichler
2020-09-01 11:06       ` Harald Leithner
2020-09-08  6:58         ` Harald Leithner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1598873753.xg9lm3vlx4.astroid@nora.none \
    --to=f.gruenbichler@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal