-
Notifications
You must be signed in to change notification settings - Fork 313
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
mount --no-canonicalize error in the dev branch #199
Comments
I haven't updated that branch in a little while, but it's some cherry picked PRs that I forked off. If I get a chance in the next few days I'll take a look and try to make sure it's up to date and has all the fixes applied. |
Hi @dschaper Maybe it is not a
The exportfs error could be due to a nfs share on this zpool. Well, I think I will stay with root snapshots for the moment. This feature seems a bit too young in Kind regards, |
What is weird here is: the snapshots on the target are created. So maybe these errors are not criticals. Best regards. |
@remyd1 you are hitting an ZoL issue here: openzfs/zfs#7294, on linux mounting a dataset can only be done by the root user. You did an initial sync, which in your case will do an mount of the new target dataset when finished which fails. You can do the initial replication as root and all further replications with the delegated user. |
@phreaker0 It should actually be possible to mount datasets as unprivileged users, as long as the mount is done in a private namespace belonging to the user. It should be possible to fix the linked issue, it's not a fundamental problem, but only an unlucky situation resulting from a specific So unprivileged replications in sanoid will work at some point. |
yeah I hope that they figure out a solution. |
Hi,
I am using the development branch version from @dschaper at GlacialMagma. Indeed, I need the
--no-privilege-elevation
option in syncoid. My goal here is to delegate the snapshots responsability to some advanced users.However, I have an error, due to
mount
, and the--no-canonicalize
option when sending the snapshot to the remote target:I looked into the
syncoid
source code, but I did not find any clue on this/mount.This user has enough right on the remote dataset:
The user is a member of the Tycho group.
The text was updated successfully, but these errors were encountered: