diff --git a/man/man8/zfs.8 b/man/man8/zfs.8 index 48a5e6ea7..93eb52568 100644 --- a/man/man8/zfs.8 +++ b/man/man8/zfs.8 @@ -119,6 +119,15 @@ .Op Fl rS .Ar property Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot Ns ... .Nm +.Cm repair +.Nm +.Cm repair +.Fl s +.Nm +.Cm repair +.Op Fl rs +.Ar filesystem Ns | Ns Ar snapshot +.Nm .Cm upgrade .Nm .Cm upgrade @@ -2629,6 +2638,35 @@ option was not specified. .El .It Xo .Nm +.Cm repair +.Xc +Displays status of any in-flight repairs and whether anything must be fixed. +.It Xo +.Nm +.Cm repair +.Fl s +.Xc +Cancels all pending or running repair operations. +.It Xo +.Nm +.Cm repair +.Op Fl rs +.Op Fl V Ar version +.Fl a | Ar filesystem +.Xc +Checks for and non-destructively repairs consistency issues in filesystems +or snapshots caused by bugs in ZFS. Filesystems that cannot be fixed +automatically will be marked as degraded. This operation is not designed to +repair things not specified. It is intended to be used only as instructed by +the OpenZFS developers or your operating system's developers. +.Bl -tag -width "-V" +.It Fl r +Cancels pending or running repair operations on specified filesystems +.It Fl s +Repair all descendent filesystems and snapshots +.El +.It Xo +.Nm .Cm upgrade .Xc Displays a list of file systems that are not the most recent version.