2016-09-11 05:18:52 +03:00
|
|
|
.\" $NetBSD: dmctl.8,v 1.4 2016/09/11 02:18:52 sevan Exp $
|
2011-02-08 06:20:13 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2004,2009 The NetBSD Foundation, Inc.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Adam Hamsik.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT 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 SUCH DAMAGE.
|
2016-09-11 05:18:52 +03:00
|
|
|
.Dd September 11, 2016
|
2011-02-08 06:20:13 +03:00
|
|
|
.Dt DMCTL 8
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm dmctl
|
2011-02-08 12:49:07 +03:00
|
|
|
.Nd manipulate device-mapper driver command
|
2011-02-08 06:20:13 +03:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2011-02-08 12:49:07 +03:00
|
|
|
works with the device-mapper kernel driver.
|
|
|
|
It can send and receive information and commands from the dm driver.
|
2011-02-08 06:20:13 +03:00
|
|
|
.Bl -column -offset indent "suspend" "Switch active and passive tables for"
|
2011-02-21 20:05:50 +03:00
|
|
|
.It Li version Ta Print driver and lib version.
|
2011-02-08 06:20:13 +03:00
|
|
|
.It Li targets Ta List available kernel targets.
|
|
|
|
.It Li create Ta Create device with [dm device name].
|
|
|
|
.It Li ls Ta List existing dm devices.
|
|
|
|
.It Li info Ta Get info about device with [dm device name].
|
|
|
|
.It Li rename Ta Rename device with [dm device name] to [dm device new name].
|
|
|
|
.It Li remove Ta Remove device with [dm device name].
|
|
|
|
.It Li resume Ta Resume IO on dm device [dm device name].
|
|
|
|
.It Li suspend Ta Suspend IO on dm device [dm device name].
|
|
|
|
.It Li deps Ta Print physical dependiences for dm device [dm device name].
|
|
|
|
.It Li reload Ta Switch active and passive tables for [dm device name].
|
|
|
|
.It Li status Ta Print status for device with [dm device name].
|
|
|
|
.It Li table Ta Print active table for device with [dm device name].
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2011-02-08 12:49:07 +03:00
|
|
|
.Xr dm 3 ,
|
|
|
|
.Xr dm 4
|
2011-02-08 06:20:13 +03:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
2016-09-11 05:18:52 +03:00
|
|
|
utility appeared in
|
|
|
|
.Nx 6.0 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
.Nm
|
2011-02-08 06:20:13 +03:00
|
|
|
was written and contributed to
|
|
|
|
.Nx
|
2011-02-08 12:49:07 +03:00
|
|
|
by
|
2016-09-11 05:18:52 +03:00
|
|
|
.An Adam Hamsik .
|