Comments (8)
Please try your sync with the --debug flag, and post the output here.
Example: syncoid pool/dataset pool/otherdataset --debug
from sanoid.
Any update, @0xFate ?
from sanoid.
sorry i actually encounterd that while in an reabuild process so i had to focus on my servers first before debugging it. i found old syncoid snapshots wich may have caused that problem. ill come back on that later when finished and cleaned up messy snapshots
from sanoid.
Yeah indeed it was the messy snapshots after an cleanup it worked lik a charm again. i may spend some time in writing some exception handling for that this weekend.
from sanoid.
Don't know if you noticed, btw, but a lot of that new code I added was adding sudo support to syncoid. It will now automatically detect if it should use sudo (example syncoid syncoid@remotebox:pool/dataset localpool/dataset), so as long as the user on the remote end has NOPASSWD
available for /sbin/zfs, everything works great.
from sanoid.
yeah thats why o opened this in the first place b/c i supposed that changes to be the issue in some way but i read the code and it rules out sudo when @root.
from sanoid.
Yup. Coming up pretty soon on the roadmap will be the ability to communicate directly with a remote sanoid, to minimize the SSH traffic and also the amount of privilege needed to grant to a remote machine. IE have a wrapper syncoid-send that calls syncoid --send [arguments], which can obligingly cough up all of the necessary information about snapshots and capabilities in one go, can be given privileges to handle only certain datasets but not others, etc.
from sanoid.
great to hear that, i already wrapped my head around that a bit either. when you want to do the caching of snap/vol list on FS please consider a cfg file and an option to set cache dir and sync data source. that way you could easily adapt caching on clusterFS (glusterfs,ocfs) for accessing remote cache directly, or ramdisk for faster access.
if you go upstream w/ the feature you planned ill definitivly spaer some time in working on that :)
from sanoid.
Related Issues (20)
- Ability to include another config file(s) from sanoid.conf
- Sanoid Replication Issues HOT 13
- Syncoid Issue 256. Incompatible ZFS versions? HOT 2
- 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
- syncoid: ControlSocket already exists HOT 2
- ubuntu 24.04 fail to start sanoid service HOT 1
- My sanoid.conf is not being recognized. HOT 1
- sanoid --prune-snapshots performance is bad because of iszfsbusy HOT 5
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.