You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bareos-users
Hi
When I delete some volumes I always run bareos-dbcheck -v -f after with option 15 (15 Run ALL checks).
Checking for orphaned Path entries. This may take some time! Query failed: SELECT DISTINCT Path.PathId, File.PathId, Path.Path FROM Path LEFT JOIN File USING (PathId) LEFT JOIN PathHierarchy ON (Path.Pathid = PathHierarchy.PPathId) WHERE File.PathId IS NULL AND PathHierarchy.PPathId IS NULL LIMIT 300000 : ERR=ERROR: could not write to file "base/pgsql_tmp/pgsql_tmp106408.0.fileset/o1209284of2097152.p0.0": No space left on device
But now it is giving the message above of disk full, even though there is 159 GB of disk available on the partition.
Monitoring the execution by another shell it is possible to see that option 15 really fills the disk at a certain point.
Is there any way to optimize PostgreSQL so that it doesn't run out of disk space?
Debian 12.10 BareOS 24.0.2
Thanks in advance.
Philippe
unread,
Mar 20, 2025, 3:29:14 PM3/20/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bareos...@googlegroups.com
Hi Rogerio,
try setting work_mem to 32MB or something in postgresql.
>
> Checking for orphaned Path entries. This may take some time! Query
> failed: SELECT DISTINCT Path.PathId, File.PathId, Path.Path FROM Path
> LEFT JOIN File USING (PathId) LEFT JOIN PathHierarchy ON (Path.Pathid =
> PathHierarchy.PPathId) WHERE File.PathId IS NULL AND
> PathHierarchy.PPathId IS NULL LIMIT 300000 : ERR=ERROR: could not write
> to file "base/pgsql_tmp/pgsql_tmp106408.0.fileset/
> o1209284of2097152.p0.0":*No space left on device*
>
> But now it is giving the message above of disk full, even though there
> is 159 GB of disk available on the partition.
>
> Monitoring the execution by another shell it is possible to see that
> option 15 really fills the disk at a certain point. Is there any way to
> optimize PostgreSQL so that it doesn't run out of disk space?
>
> Debian 12.10
> BareOS 24.0.2
>
> Thanks in advance.