Comments (6)
Re ran btrbk with these settings:
sudo /usr/sbin/btrbk -q -v -l info -c /etc/btrbk/btrbk-#####.conf run
This is the first part of the output:
btrbk command line client, version 0.19.3 (Thu Jul 9 11:04:04 2015)
Using configuration: /etc/btrbk/btrbk-#######.conf
Creating subvolume snapshot for: /mnt/btr_system/@
>>> /mnt/btr_system/btrbk_snapshots/@.20150709_4
Creating subvolume snapshot for: /mnt/btr_system/@home
>>> /mnt/btr_system/btrbk_snapshots/@home.20150709_4
Creating subvolume snapshot for: /mnt/btr_system/@vms
>>> /mnt/btr_system/btrbk_snapshots/@vms.20150709_4
Checking for missing backups of subvolume "/mnt/btr_system/@" in: {#######}/mnt/btrfs/btrbk/#####/
No missing backups found
Creating subvolume backup (send-receive) for: /mnt/btr_system/@
Receiving from snapshot: /mnt/btr_system/btrbk_snapshots/@.20150709_4
Incremental from parent snapshot: /mnt/btr_system/btrbk_snapshots/@.20150709_3
>>> {#######}/mnt/btrfs/btrbk/#####/@.20150709_4
At subvol /mnt/btr_system/btrbk_snapshots/@.20150709_4
It seems to be occurring after sending an incremental snapshot to my server.
from btrbk.
Even with the latest btrfs-progs, you will still see the At subvol ...
messages. These are generated by btrfs send
on stderr, which btrbk does not catch and process. This is an issue and I won't fix this on btrbk, since we want to see the real errors on stderr if something fails. I will try to provide patches to btrfs-progs for disabling this, but for now we all have to live with it...
The -q
option only disables the summary display at the end of processing, and does not affect stderr output (btrbk messages as well as output from btrfs
commands).
from btrbk.
I fixed this logging problem by catching and filtering stderr from external commands (btrfs-progs). It's on the "open3" branch, and I will merge this to master as soon as I performed some more testing on several error cases.
I would apreciate if you (and also my GitHub followers reading this) could give it a try, I'm especially interested on how this behaves on old Perl versions (I'm using perl-5.20.2, which comes with IPC::Open3 v1.16 included on my system).
from btrbk.
Will do
from btrbk.
After digging deeper into the perl and file descriptor hell, I rewrote the stderr catching code, which is now in the "run_cmd_open3" branch (the old "open3" branch got deleted).
I did much testing, and it still produces deadlocks in some special test cases. I could not observe deadlocks with normal btrbk calls though, but as long as I'm not convinced that everything is correct I will not merge this.
from btrbk.
fixed in btrbk-0.21.0
from btrbk.
Related Issues (20)
- Configure Cleaning HOT 1
- Clean interrupted ssh transfers
- Prevent incomplete backups from blocking progress
- Is it safe to dedupe snapshots on the server and the client?
- Is my configuration wrong? I keep getting snapshots in the wrong folder HOT 6
- Failed to fetch subvolume detail for snapshot_dir HOT 1
- Double daily backups sometimes... HOT 1
- understanding target_preserve_min
- Is 650 GB per day between hard disks connected by 1 GBit ethernet ok? HOT 1
- Feature request : BTRBK + grub-btrfs - Restore the snapshot currently booted - like Timeshift
- Why is btrbk only creating snapshots and not transfering?
- dry-run ignores lock
- whatever default shell is used despite it is not a posix compatible shell
- Not optimal behavior for low quality network connections
- [Question] How to specify clone sources from snapshots of other unrelated subvolumes?
- ERROR: ... unable to destroy quota group: Device or resource busy
- ERROR: clone: did not find source subvol HOT 1
- Question: duplicated instance when /etc/crontab set to run hourly at 00 minute
- [Question] Quarterly retention
- [Feature Request] configurable timestamps / names for snapshots
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from btrbk.