HomeFreeBSD

'zfs receive' fails with "dataset is busy"

Description

'zfs receive' fails with "dataset is busy"

Receiving an incremental stream after an interrupted "zfs receive -s"
fails with the message "dataset is busy": this is because we still have
the hidden clone ../%recv from the resumable receive.

Improve the error message suggesting the existence of a partially
complete resumable stream from "zfs receive -s" which can be either
aborted ("zfs receive -A") or resumed ("zfs send -t").

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7129
Closes #7154

Details

Provenance
LOLi <loli10K@users.noreply.github.com>Authored on Feb 12 2018, 8:28 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 12 2018, 8:28 PM
Parents
rGa893627fac8d: contrib/initramfs: add missing conf.d/zfs
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc03f04708cae: 'zfs receive' fails with "dataset is busy" (authored by LOLi <loli10K@users.noreply.github.com>).Feb 12 2018, 8:28 PM