1.\" $NetBSD: dmctl.8,v 1.5 2017/06/04 08:34:34 abhinav Exp $ 2.\" 3.\" Copyright (c) 2004,2009 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to The NetBSD Foundation 7.\" by Adam Hamsik. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 21.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" POSSIBILITY OF SUCH DAMAGE. 29.Dd September 11, 2016 30.Dt DMCTL 8 31.Os 32.Sh NAME 33.Nm dmctl 34.Nd manipulate device-mapper driver command 35.Sh SYNOPSIS 36.Nm 37.Sh DESCRIPTION 38.Nm 39works with the device-mapper kernel driver. 40It can send and receive information and commands from the dm driver. 41.Bl -column -offset indent "suspend" "Switch active and passive tables for" 42.It Li version Ta Print driver and lib version. 43.It Li targets Ta List available kernel targets. 44.It Li create Ta Create device with [dm device name]. 45.It Li ls Ta List existing dm devices. 46.It Li info Ta Get info about device with [dm device name]. 47.It Li rename Ta Rename device with [dm device name] to [dm device new name]. 48.It Li remove Ta Remove device with [dm device name]. 49.It Li resume Ta Resume IO on dm device [dm device name]. 50.It Li suspend Ta Suspend IO on dm device [dm device name]. 51.It Li deps Ta Print physical dependencies for dm device [dm device name]. 52.It Li reload Ta Switch active and passive tables for [dm device name]. 53.It Li status Ta Print status for device with [dm device name]. 54.It Li table Ta Print active table for device with [dm device name]. 55.El 56.Sh SEE ALSO 57.Xr dm 3 , 58.Xr dm 4 59.Sh HISTORY 60The 61.Nm 62utility appeared in 63.Nx 6.0 . 64.Sh AUTHORS 65.Nm 66was written and contributed to 67.Nx 68by 69.An Adam Hamsik . 70