Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: cannot open .../oc_activity.ibd: No such file or directory #223

Open
psi-4ward opened this issue Apr 30, 2018 · 8 comments
Open

ERROR: cannot open .../oc_activity.ibd: No such file or directory #223

psi-4ward opened this issue Apr 30, 2018 · 8 comments

Comments

@psi-4ward
Copy link

@psi-4ward psi-4ward commented Apr 30, 2018

I repetitive got this error:

Command execution failed (exitcode=1): `btrfs send -p /mnt/btrfs_root/_btrbk_snap/opt.20180423 /mnt/btrfs_root/_btrbk_snap/opt.20180424 | ssh -q -p 22022 -c aes256-ctr -i /opt/btrbk/secrets/h3-btrbk -C root@target 'btrfs receive /backups/server1/opt/'`
WARNING: [send/receive] (send=/mnt/btrfs_root/_btrbk_snap/opt.20180424, receive=/backups/server1/opt) At subvol /mnt/btrfs_root/_btrbk_snap/opt.20180424
ERROR: cannot open backups/server1/opt/opt.20180423/owncloud/_data/mariadb/nextcloud/oc_activity.ibd: No such file or directory
WARNING: [send/receive] (send=/mnt/btrfs_root/_btrbk_snap/opt.20180424, receive=/backups/server1/opt) At snapshot opt.20180424
ERROR: Failed to send/receive btrfs subvolume: /mnt/btrfs_root/_btrbk_snap/opt.20180424 [/mnt/btrfs_root/_btrbk_snap/opt.20180423] -> target:/backups/server1/opt
send/received failed, deleting (possibly present and garbled) received subvolume: target:/backups/server1/opt/opt.20180424

Deleting the problematic snapshots helps and the next 5-10 runs succeeds but the error come back after some time.

Probably related to #91

Kernel 4.14.8-1.el7.elrepo.x86_64
btrfs-progs v4.9.1
btrbk command line client, version 0.26.1

Does anyone have an idea why oc_activity.ibd is problematic?

@digint
Copy link
Owner

@digint digint commented Apr 30, 2018

Yes, it's related/duplicate of #91: upstream bug, nothing that can be fixed in btrbk.

The only advice I can give here is "try a newer kernel". If it's still reproducible, the btrfs devs might be interested.

For the record: what kernel / btrfs-progs version do you use on the target machine?

@psi-4ward
Copy link
Author

@psi-4ward psi-4ward commented Apr 30, 2018

Target:
4.11.2-1.el7.elrepo.x86_64
btrbk 0.25
btrfs-progs v4.9.1

I'll try to update everything.
Thx a lot!

@psi-4ward
Copy link
Author

@psi-4ward psi-4ward commented May 1, 2018

Updated src and target and created a full snapshot by hand. Let's see if the problem occurs again.

@aventrax
Copy link

@aventrax aventrax commented Jun 6, 2018

Same here. It happens only on graphite .wsd files. It seems related to changing files as databases's ones.
The error appear after a while (7 days?) than it persists for any futher run, until I remove the source (remote) snapshot. Then after some days the cycle restarts...

Here 2 errors on different days...

ERROR: cannot open storage/Backup/snapshots/@.20180601/var/lib/graphite/whisper/collectd/rpi/disk-sda1/pending_operations.wsp: No such file or directory

ERROR: cannot open storage/Backup/snapshots/@.20180525/var/lib/graphite/whisper/environment/home/bedroom/temperature.wsp: No such file or directory

The same volume has PostgreSQL files but they are not affected.

@psi-4ward
Copy link
Author

@psi-4ward psi-4ward commented Jun 6, 2018

Problem still occurs

@psi-4ward
Copy link
Author

@psi-4ward psi-4ward commented Jan 5, 2019

anything new here?
still happens on 5 of 7 servers.

@digint
Copy link
Owner

@digint digint commented Jan 5, 2019

@psi-4ward did you try new kernels? There has been some fixes (seen on the btrfs mailing list, but can't find it right now) which might have arrived in 4.19 / 4.20. Most probably you only need to upgrade the source side.

@digint digint added the upstream bug label Jan 5, 2019
@psi-4ward
Copy link
Author

@psi-4ward psi-4ward commented Mar 9, 2019

Some updates here, problem still occurs even with kernel 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.