Skip to content

borg fills the disk, even though it shouldn't (causing no space left on device) #9573

@mikae1

Description

@mikae1

The manual reads:

If you run a backup that stops due to a disk running full, Borg will roll back, delete the new new segment file and thus freeing disk space automatically.

That did not happen. When I ran a backup to an external disk it completely ran out of space and now I can not even run borg list or borg prune on it because borg tells me:
Failed to create/acquire the lock /run/media/username/external_disk/machine/lock.exclusive ([Errno 28] No space left on device: '/run/media/username/external_disk/machine/lock.exclusive.g2o0oj6d.tmp').

I have nothing else than this borg backup on the disk, so I can't free up space.

Expected outcome when space ran out would have been: borg acts as the manual says.

Now I probably have to get a larger disk to solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions