automorphism88 / snapraid-btrfs

Script for using snapraid with btrfs snapshots
GNU General Public License v3.0
138 stars 16 forks source link

snapraid-btrfs sync jobs are failing to run with error IO Error (xmlDocFormatDump failed) #33

Closed y2kdread closed 7 months ago

y2kdread commented 7 months ago

Hi All - I recently came across an issue where "snapraid-btrfs sync" is failing to run. When I try to run the command manually, I get the following output:

y2kdread@booknas:~/snapraid-btrfs# snapraid-btrfs sync
snapraid-btrfs: WARNING: Running snapraid-btrfs as root is not recommended
snapraid-btrfs: WARNING: (nor is running snapraid as root)
IO Error (xmlDocFormatDump failed).
snapraid-btrfs: 1145: "$my_snapper" -c "$1" create -p "${snapper_create_opts[@]}" failed with exit status 1
Call stack:
/usr/local/bin/snapraid-btrfs: new_snapshot: 1145
/usr/local/bin/snapraid-btrfs: find_snapshots: 739
/usr/local/bin/snapraid-btrfs: setup_config: 1512
/usr/local/bin/snapraid-btrfs: main: 1084
/usr/local/bin/snapraid-btrfs: main: 2025
snapraid-btrfs: 1145: use_snapshot[$1]="$("$my_snapper" -c "$1" create -p "${snapper_create_opts[@]}")" failed with exit status 1
Call stack:
/usr/local/bin/snapraid-btrfs: new_snapshot: 1145
/usr/local/bin/snapraid-btrfs: find_snapshots: 739
/usr/local/bin/snapraid-btrfs: setup_config: 1512
/usr/local/bin/snapraid-btrfs: main: 1084
/usr/local/bin/snapraid-btrfs: main: 2025

I didn't do anything (that I am aware of) before this error started occuring. I have jobs scheduled to sync the data using snapraid-btrfs-runner and they had been running fine.

y2kdread commented 7 months ago

issue was due to running out of disk space