prune-older on rclone/B2

17 views
Skip to first unread message

John Lilly

unread,
Feb 14, 2024, 11:45:54 AMFeb 14
to bup-list
Hi, a noob here (at 0.33.3) - have had no issues with a SSH remote however I want to write a offsite copy as well so am mounting a rclone Blackblaze B2 remote to /mnt/netdata/bup and I keep on getting a 'Bus error' when trying to prune-older, I can replicate this behaviour across a few hosts.

It's odd as index/save/fsck/ls/restore/etc. all work without any issues:

# strace bup -d /mnt/netdata/bup prune-older --unsafe -vv --keep-all-for 1w --keep-dailies-for 1m 2> /tmp/strace.out
keeping all since 2024-02-07-163647                                                        
keeping dailies since 2024-01-14-163647                                                    
found 1260150 objects 
Bus error (core dumped)

Output of strace at https://pastebin.com/m36FhFNJ

Thanks!
JL

Johannes Berg

unread,
Feb 15, 2024, 4:14:06 AMFeb 15
to John Lilly, bup-list
Hmm. Does sshfs even support mmap() properly? IIRC reading mmap out of
bounds or so is basically the only reason for seeing SIGBUS, at least on
x86 machines - or is that another architecture you're using?

When you're otherwise using the repo, are you doing that over sshfs as
well, or is that with "bup save -r" or "bup on"?

johannes

John Lilly

unread,
Feb 15, 2024, 6:36:21 AMFeb 15
to bup-list
Thanks for getting back to me -

I'm not strictly using sshfs - I'm using rclone with a B2 remote however it is utilising libfuse, etc so should be similar in such limitations. I'm also using vfs-cache-mode=full  (https://rclone.org/commands/rclone_mount/#vfs-cache-mode-full) to avoid seeking/O_TRUNC/other issues. As mentioned, everything else work perfectly - just prune'ing has this issue.

Both my cases are on 64bit Intel's and I'm using 'bup save -r' over the same mount

Regards,
JL
Reply all
Reply to author
Forward
0 new messages