mirror_zfs/lib/libzfs
LOLi 1d805a534b '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
2018-03-14 16:10:37 -07:00
..
.gitignore Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_changelist.c OpenZFS 6931 - lib/libzfs: cleanup gcc warnings 2017-02-07 14:02:27 -08:00
libzfs_config.c OpenZFS 4521 - zfstest is trying to execute evil "zfs unmount -a" 2017-02-03 13:24:44 -08:00
libzfs_core.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
libzfs_dataset.c Update for cppcheck v1.80 2018-01-30 10:27:31 -06:00
libzfs_diff.c OpenZFS 6931 - lib/libzfs: cleanup gcc warnings 2017-02-07 14:02:27 -08:00
libzfs_fru.c OpenZFS 8046 - Let calloc() do the multiplication in libzfs_fru_refresh 2017-04-09 16:07:42 -07:00
libzfs_import.c Update for cppcheck v1.80 2018-01-30 10:27:31 -06:00
libzfs_iter.c Fix intra-pool resumable 'zfs send -t <token>' 2017-10-16 10:57:55 -07:00
libzfs_mount.c Disable mount(8) canonical paths in do_mount() 2017-08-21 16:46:55 -07:00
libzfs_pool.c Fix column alignment with long zpool names 2017-12-04 17:21:38 -08:00
libzfs_sendrecv.c 'zfs receive' fails with "dataset is busy" 2018-03-14 16:10:37 -07:00
libzfs_status.c Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00
libzfs_util.c Multi-modifier protection (MMP) 2017-07-13 13:54:00 -04:00
libzfs.pc.in Add a pkgconfig file 2014-08-28 07:59:43 -07:00
Makefile.am Add -c to zpool iostat & status to run command 2016-11-29 14:45:38 -07:00