Skip to content

Better error handling #14

@Pitastic

Description

@Pitastic

After some backups one script execution (started headless with devd) failed due to running out of disk space on my usb drive.

This is ok and zfs has handled this correctly as some snapshots were copied and the one which does not fit on the disk has not started; no partial files, no mess 👍🏼

The downside is that the script fails and there is no process of cleaning up changes. The zfs pool was not exported at all and in a bad state. I had to restart the NAS because of this.

There should be a cleanup function to prevent leaving the system in such a state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions