The problem has resolved itself.

It looks like the root cause was that the portion of BPC which generates the 
graphs (and also supplies the "Pool is XXXGiB comprising YYY files and ZZZ 
directories" text in the General Server Information) does not update its 
information regarding the physical filesystem while a backup is in progress.  
We have one particularly large storage server which took a week to complete its 
first full backup on the new pool.  That backup finally finished yesterday, and 
then all the numbers were updated overnight.
________________________________
From: G.W. Haywood <bac...@jubileegroup.co.uk>
Sent: Thursday, March 20, 2025 16:53
To: backuppc-users@lists.sourceforge.net <backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Physical disk usage incorrect on graph

Hi there,

On Thu, 20 Mar 2025, Dave Sherohman wrote:

> This is primarily a cosmetic issue rather than a functional one, but I'd like 
> to resolve it anyhow.
>
> My BPC server has the backup pool stored on a zfs (raidz2) filesystem.  After 
> a couple years of usage, the pool fs was over 90% full, so I copied the 
> backups elsewhere, destroyed the original raidz2 vdev, and created a new pool 
> with a couple more disks in it last week.  Functionally, all of this has 
> worked flawlessly.
>
> However, the pool usage graphs in the BPC web interface are convinced that 
> pool disk usage has been a consistent 2.79T ever since I restarted with the 
> expanded pool.  Actual usage is 50T, and continuing to increase daily as new 
> backups are being taken.
>
> The "before pooling and compression" value on the graph is steadily rising 
> and appears to be plausible, and "Pool file system was recently at xx%" is 
> reporting the correct percentage used (currently 60%).  It's only the graph 
> of physical space used in the pool fs that is incorrect.
>
> The graph displayed physical space usage correctly prior to my teardown and 
> rebuild of the raidz2 pool, and the new pool is mounted at the same location 
> as the old one.
>
> Any suggestions for where I should look to get it graphing the correct amount 
> of physical space used?

Look for $RRDFile in BackupPC/bin/BackupPC_rrdUpdate.

You might need to blow away[*] the RRD file and start again.

[*] Move to some safe location elsewhere. :)

--

73,
Ged.


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to