baodrate / snap-sync

Use snapper snapshots to backup to external drive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Input/output error

NicoHood opened this issue · comments

I have a weird error ERROR: utimes usr/share/texmf-dist/tex4ht/ht-fonts/alias/gbk/gbksu failed: Input/output error with snap-sync

Linux kernel: 5.6.3.arch1-1
btrfs-progs: 5.6-1

+ notify_info 'Backup in progress' 'Backing up root configuration.'
+ [[ 0 -eq 0 ]]
+ notify 'Backup in progress' 'Backing up root configuration.' information
++ users
++ tr ' ' '\n'
++ sort -u
+ for u in $(users | tr ' ' '\n' | sort -u)
++ sudo -u nicohood id -u
+ sudo -u nicohood DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send -a snap-sync 'Backup in progress' 'Backing up root configuration.' --icon=dialog-information
+ printf '\n'

+ old_num=3274
+ old_snap=//.snapshots/3274/snapshot
+ BACKUPDIR=/run/media/nicohood/975b2146-2804-4d3e-beb2-9e929d09c541/backup/talloniv
+ mybackupdir=backup/talloniv
+ new_num=4025
+ new_snap=//.snapshots/4025/snapshot
+ new_info=//.snapshots/4025/info.xml
+ backup_location=/run/media/nicohood/975b2146-2804-4d3e-beb2-9e929d09c541/backup/talloniv/root/4025/
+ test -d /run/media/nicohood/975b2146-2804-4d3e-beb2-9e929d09c541/backup/talloniv/root/4025//snapshot
+ mkdir -p /run/media/nicohood/975b2146-2804-4d3e-beb2-9e929d09c541/backup/talloniv/root/4025/
+ [[ -z 3274 ]]
+ printf 'Sending incremental snapshot for '\''%s'\'' configuration...\n' root
+ tee /tmp/tmp.q5K1lAlFhF/snap-sync.out
Sending incremental snapshot for 'root' configuration...
+ btrfs send -c //.snapshots/3274/snapshot //.snapshots/4025/snapshot
+ btrfs receive /run/media/nicohood/975b2146-2804-4d3e-beb2-9e929d09c541/backup/talloniv/root/4025/
At subvol //.snapshots/4025/snapshot
At snapshot snapshot
ERROR: utimes usr/share/texmf-dist/tex4ht/ht-fonts/alias/gbk/gbksu failed: Input/output error
++ traperror 453 1 '$ssh btrfs receive "$backup_location"' 0
++ printf 'Exited due to error on line %s.\n' 453
Exited due to error on line 453.
++ printf 'exit status: %s\n' 1
exit status: 1
++ printf 'command: %s\n' '$ssh btrfs receive "$backup_location"'
command: $ssh btrfs receive "$backup_location"
++ printf 'bash line: %s\n' 0
bash line: 0
++ printf 'function name: %s\n' ''
function name: 
++ exit 1

It turns out that this bug was fixed with newer kernel/btrfs progs release...