You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under ZFS On Linux, it is not possible to mount ZFS filesystems even if you grant the mount permission to a user. For some reason, the maintainers of ZoL decided to raise an error in this situation, which causes zfs-autobackup to choke when creating parent and target datasets on the target host.
#### Synchronising
[Target] tank/neo: Creating filesystem and parents
! [Target] STDERR > filesystem successfully created, but it may only be mounted by root
! [Target] Command "ssh user@host 'zfs create -p target/tank/neo'" returned exit code 1 (valid codes: [0])
! [Source] tank/neo: FAILED: Last command returned error
[Source] tank/neo: sending to target/tank/neo
[Target] target/tank/neo@offsite1-20240619062656: receiving full
! [Target] STDERR > cannot open 'target/tank/neo': dataset does not exist
! [Target] STDERR > cannot receive new filesystem stream: unable to restore to destination
! [Target] Command "ssh user@host 'zfs recv -u -x refreservation -v -s target/tank/neo'" returned exit code 1 (valid codes: [0])
! [Source] tank/neo: FAILED: Last command returned error
This error specifically should be ignored under ZoL, since it is not fatal.
Re-running the same command will eventually create all the required parent and target datasets, so after another run or two, the errors will go away.
Lastly, a correction on the wiki: The permissions provided in the Running without root section are not always sufficient. You must also have the hold and userprop permissions for default operations to succeed.
You can live without hold if you are using --no-hold, and you can clear user props before sending with --filter-properties.
If you use --clear-mountpoint, you also need canmount, and readonly with --set-properties readonly=on.
The text was updated successfully, but these errors were encountered:
Under ZFS On Linux, it is not possible to mount ZFS filesystems even if you grant the
mount
permission to a user. For some reason, the maintainers of ZoL decided to raise an error in this situation, which causes zfs-autobackup to choke when creating parent and target datasets on the target host.This error specifically should be ignored under ZoL, since it is not fatal.
Re-running the same command will eventually create all the required parent and target datasets, so after another run or two, the errors will go away.
Lastly, a correction on the wiki: The permissions provided in the Running without root section are not always sufficient. You must also have the
hold
anduserprop
permissions for default operations to succeed.hold
if you are using--no-hold
, and you can clear user props before sending with--filter-properties
.--clear-mountpoint
, you also needcanmount
, andreadonly
with--set-properties readonly=on
.The text was updated successfully, but these errors were encountered: