Changeset View
Changeset View
Standalone View
Standalone View
head/lib/geom/nop/gnop.8
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd January 17, 2018 | .Dd July 31, 2019 | ||||
.Dt GNOP 8 | .Dt GNOP 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm gnop | .Nm gnop | ||||
.Nd "control utility for NOP GEOM class" | .Nd "control utility for NOP GEOM class" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Cm create | .Cm create | ||||
.Op Fl v | .Op Fl v | ||||
.Op Fl d Ar delaymsec | |||||
.Op Fl e Ar error | .Op Fl e Ar error | ||||
.Op Fl o Ar offset | .Op Fl o Ar offset | ||||
.Op Fl p Ar stripesize | .Op Fl p Ar stripesize | ||||
.Op Fl P Ar stripeoffset | .Op Fl P Ar stripeoffset | ||||
.Op Fl q Ar rdelayprob | |||||
.Op Fl r Ar rfailprob | .Op Fl r Ar rfailprob | ||||
.Op Fl s Ar size | .Op Fl s Ar size | ||||
.Op Fl S Ar secsize | .Op Fl S Ar secsize | ||||
.Op Fl w Ar wfailprob | .Op Fl w Ar wfailprob | ||||
.Op Fl x Ar wdelayprob | |||||
.Op Fl z Ar physpath | .Op Fl z Ar physpath | ||||
.Ar dev ... | .Ar dev ... | ||||
.Nm | .Nm | ||||
.Cm configure | .Cm configure | ||||
.Op Fl v | .Op Fl v | ||||
.Op Fl d Ar delaymsec | |||||
.Op Fl e Ar error | .Op Fl e Ar error | ||||
.Op Fl q Ar rdelayprob | |||||
.Op Fl r Ar rfailprob | .Op Fl r Ar rfailprob | ||||
.Op Fl w Ar wfailprob | .Op Fl w Ar wfailprob | ||||
.Op Fl x Ar wdelayprob | |||||
.Ar prov ... | .Ar prov ... | ||||
.Nm | .Nm | ||||
.Cm destroy | .Cm destroy | ||||
.Op Fl fv | .Op Fl fv | ||||
.Ar prov ... | .Ar prov ... | ||||
.Nm | .Nm | ||||
.Cm reset | .Cm reset | ||||
.Op Fl v | .Op Fl v | ||||
▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
.Xr geom 8 . | .Xr geom 8 . | ||||
.It Cm unload | .It Cm unload | ||||
See | See | ||||
.Xr geom 8 . | .Xr geom 8 . | ||||
.El | .El | ||||
.Pp | .Pp | ||||
Additional options: | Additional options: | ||||
.Bl -tag -width ".Fl r Ar rfailprob" | .Bl -tag -width ".Fl r Ar rfailprob" | ||||
.It Fl d Ar delaymsec | |||||
Specifies the delay of the requests in milliseconds. | |||||
Note that requests will be delayed before they are sent to the backing device. | |||||
.It Fl e Ar error | .It Fl e Ar error | ||||
Specifies the error number to return on failure. | Specifies the error number to return on failure. | ||||
.It Fl f | .It Fl f | ||||
Force the removal of the specified provider. | Force the removal of the specified provider. | ||||
.It Fl o Ar offset | .It Fl o Ar offset | ||||
Where to begin on the original provider. | Where to begin on the original provider. | ||||
.It Fl p Ar stripesize | .It Fl p Ar stripesize | ||||
Value of the stripesize property of the transparent provider. | Value of the stripesize property of the transparent provider. | ||||
.It Fl P Ar stripeoffset | .It Fl P Ar stripeoffset | ||||
Value of the stripeoffset property of the transparent provider. | Value of the stripeoffset property of the transparent provider. | ||||
.It Fl q Ar rdelayprob | |||||
Specifies read delay probability in percent. | |||||
.It Fl r Ar rfailprob | .It Fl r Ar rfailprob | ||||
Specifies read failure probability in percent. | Specifies read failure probability in percent. | ||||
.It Fl s Ar size | .It Fl s Ar size | ||||
Size of the transparent provider. | Size of the transparent provider. | ||||
.It Fl S Ar secsize | .It Fl S Ar secsize | ||||
Sector size of the transparent provider. | Sector size of the transparent provider. | ||||
.It Fl w Ar wfailprob | .It Fl w Ar wfailprob | ||||
Specifies write failure probability in percent. | Specifies write failure probability in percent. | ||||
.It Fl v | .It Fl v | ||||
Be more verbose. | Be more verbose. | ||||
.It Fl x Ar wdelayprob | |||||
Specifies write delay probability in percent. | |||||
.It Fl z Ar physpath | .It Fl z Ar physpath | ||||
Physical path of the transparent provider. | Physical path of the transparent provider. | ||||
.El | .El | ||||
.Sh SYSCTL VARIABLES | .Sh SYSCTL VARIABLES | ||||
The following | The following | ||||
.Xr sysctl 8 | .Xr sysctl 8 | ||||
variables can be used to control the behavior of the | variables can be used to control the behavior of the | ||||
.Nm NOP | .Nm NOP | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |