Correct zfs-send(8) on readonly sends
zfs-send(8) claimed in the flags list you could use -pR when sending a readonly filesystem or volume. You cannot. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes #12336
This commit is contained in:
parent
ba76bb30a6
commit
056c273939
|
@ -317,7 +317,7 @@ get_usage(zfs_help_t idx)
|
||||||
case HELP_SEND:
|
case HELP_SEND:
|
||||||
return (gettext("\tsend [-DnPpRvLecwhb] [-[i|I] snapshot] "
|
return (gettext("\tsend [-DnPpRvLecwhb] [-[i|I] snapshot] "
|
||||||
"<snapshot>\n"
|
"<snapshot>\n"
|
||||||
"\tsend [-nvPLecw] [-i snapshot|bookmark] "
|
"\tsend [-DnvPLecw] [-i snapshot|bookmark] "
|
||||||
"<filesystem|volume|snapshot>\n"
|
"<filesystem|volume|snapshot>\n"
|
||||||
"\tsend [-DnPpvLec] [-i bookmark|snapshot] "
|
"\tsend [-DnPpvLec] [-i bookmark|snapshot] "
|
||||||
"--redact <bookmark> <snapshot>\n"
|
"--redact <bookmark> <snapshot>\n"
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
.Ar snapshot
|
.Ar snapshot
|
||||||
.Nm zfs
|
.Nm zfs
|
||||||
.Cm send
|
.Cm send
|
||||||
.Op Fl DLPRcenpsvw
|
.Op Fl DLPcensvw
|
||||||
.Op Fl i Ar snapshot Ns | Ns Ar bookmark
|
.Op Fl i Ar snapshot Ns | Ns Ar bookmark
|
||||||
.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
|
.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
|
||||||
.Nm zfs
|
.Nm zfs
|
||||||
|
@ -285,7 +285,7 @@ You will be able to receive your streams on future versions of ZFS.
|
||||||
.It Xo
|
.It Xo
|
||||||
.Nm zfs
|
.Nm zfs
|
||||||
.Cm send
|
.Cm send
|
||||||
.Op Fl DLPRcenpvw
|
.Op Fl DLPcenvw
|
||||||
.Op Fl i Ar snapshot Ns | Ns Ar bookmark
|
.Op Fl i Ar snapshot Ns | Ns Ar bookmark
|
||||||
.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
|
.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
|
||||||
.Xc
|
.Xc
|
||||||
|
@ -296,7 +296,11 @@ filesystem must not be mounted.
|
||||||
When the stream generated from a filesystem or volume is received, the default
|
When the stream generated from a filesystem or volume is received, the default
|
||||||
snapshot name will be
|
snapshot name will be
|
||||||
.Qq --head-- .
|
.Qq --head-- .
|
||||||
.Bl -tag -width "-L"
|
.Bl -tag -width "-D"
|
||||||
|
.It Fl D , -dedup
|
||||||
|
Deduplicated send is no longer supported.
|
||||||
|
This flag is accepted for backwards compatibility, but a regular,
|
||||||
|
non-deduplicated stream will be generated.
|
||||||
.It Fl L , -large-block
|
.It Fl L , -large-block
|
||||||
Generate a stream which may contain blocks larger than 128KB.
|
Generate a stream which may contain blocks larger than 128KB.
|
||||||
This flag has no effect if the
|
This flag has no effect if the
|
||||||
|
|
Loading…
Reference in New Issue