Comments (2)
I tested further to first manually sync/create the dataset:
zfs send -w tank_hdd/lxc/lbsndb_docker@Test_20231226 | ssh [email protected] zfs receive tank/hdd/lxc/lbsndb_docker
This worked.
Then create another snapshot Test_20231226b
(no changes since the first @Test_20231226
), but this also fails with syncoid:
DEBUG: getting estimated transfer size from source -S /tmp/syncoid-proxmox-1703604667-4296 proxmox using "ssh -i ... -S /tmp/syncoid-proxmox-1703604667-4296 proxmox zfs send -R -w -nvP -I ''"'"'tank_hdd/lxc/lbsndb_docker@Test_20231226'"'"'' ''"'"'tank_hdd/lxc/lbsndb_docker@Test_20231226b'"'"'' 2>&1 |"...
Use of uninitialized value $sendsize in substitution (s///) at /usr/sbin/syncoid line 2022.
Use of uninitialized value $sendsize in scalar chomp at /usr/sbin/syncoid line 2024.
Use of uninitialized value $sendsize in pattern match (m//) at /usr/sbin/syncoid line 2027.
DEBUG: sendsize =
Sending incremental tank_hdd/lxc/lbsndb_docker@Test_20231226 ... Test_20231226b (~ UNKNOWN):
DEBUG: ssh -i ... -S /tmp/syncoid-proxmox-1703604667-4296 proxmox ' zfs send -R -w -I '"'"'tank_hdd/lxc/lbsndb_docker'"'"'@'"'"'Test_20231226'"'"' '"'"'tank_hdd/lxc/lbsndb_docker'"'"'@'"'"'Test_20231226b'"'"' | lzop ' | mbuffer -q -s 128k -m 16M | lzop -dfc | pv -p -t -e -r -b -s 0 | zfs receive -s -F 'tank/hdd/lxc/lbsndb_docker' 2>&1
lzop: <stdin>: not a lzop file
0.00 B 0:00:00 [0.00 B/s] [<=> ]
cannot receive: failed to read from stream
CRITICAL ERROR: ssh -i ... -S /tmp/syncoid-proxmox-1703604667-4296 proxmox ' zfs send -R -w -I '"'"'tank_hdd/lxc/lbsndb_docker'"'"'@'"'"'Test_20231226'"'"' '"'"'tank_hdd/lxc/lbsndb_docker'"'"'@'"'"'Test_20231226b'"'"' | lzop ' | mbuffer -q -s 128k -m 16M | lzop -dfc | pv -p -t -e -r -b -s 0 | zfs receive -s -F 'tank/hdd/lxc/lbsndb_docker' 2>&1 failed: 256 at /usr/sbin/syncoid line 889.
I have also given the receiving user full permissions:
sudo zfs allow zfs-backup create,destroy,diff,mount,readonly,receive,release,send,userprop tank/hdd/lxc
but still getting the above error.
The lzop: <stdin>: not a lzop file
somewhat seems to tell me that this is on the sender side (e.g. empty file stream being send), but I don't know why. The sende side has all privileges allowed: zfs allow zfs-backup send,snapshot,hold tank_hdd/lxc/lbsndb_docker
from sanoid.
Well, it was the script I used to limit the ssh keys permissions. Closing..
from sanoid.
Related Issues (20)
- Limiting the privileges of the service user on an SSH backup source machine HOT 2
- Too many snapshots? HOT 3
- syncoid paralell syncs HOT 1
- dataset busy when copying from a non-busy snapshot HOT 4
- Ability to include another config file(s) from sanoid.conf
- Sanoid Replication Issues HOT 13
- syncoid: `--force-delete` leads to infinite loop HOT 1
- Randomly failing syncoid pulls with `CRITICAL ERROR ... failed: 256 at /usr/sbin/syncoid line 889.` HOT 8
- same_as Setting in sanoid.conf HOT 2
- Sanoid Sync question HOT 2
- Perl 5.26 Dependency introduced HOT 1
- Perl Dependency resolution on Alma/Rocky/Cent 9 requires documentation change HOT 4
- CRITICAL ERROR: failed: 512 at /usr/sbin/syncoid line 889 HOT 5
- Sincoid two inital backups in parallel, same source, , second fails, finishes in second HOT 1
- Syncoid remote-to-remote decompresses and recompresses on the middle box
- How to tell sanoid not to take snapshot while syncoid is running? HOT 3
- syncoid backups out of sync HOT 2
- [question] Is syncoid inital offline sync possible? HOT 1
- Recursive setting cannot be enabled if trailing space present HOT 1
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 sanoid.