Giter VIP home page Giter VIP logo

Comments (2)

Sieboldianus avatar Sieboldianus commented on June 1, 2024

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.

Sieboldianus avatar Sieboldianus commented on June 1, 2024

Well, it was the script I used to limit the ssh keys permissions. Closing..

from sanoid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.