dmctl —
manipulate device-mapper driver command
dmctl works with the device-mapper kernel driver. It can
  send and receive information and commands from the dm driver.
  
    | version | Print driver and lib version. | 
  
    | targets | List available kernel targets. | 
  
    | create | Create device with [dm device name]. | 
  
    | ls | List existing dm devices. | 
  
    | info | Get info about device with [dm device name]. | 
  
    | rename | Rename device with [dm device name] to [dm device new name]. | 
  
    | remove | Remove device with [dm device name]. | 
  
    | resume | Resume IO on dm device [dm device name]. | 
  
    | suspend | Suspend IO on dm device [dm device name]. | 
  
    | deps | Print physical dependencies for dm device [dm device name]. | 
  
    | reload | Switch active and passive tables for [dm device name]. | 
  
    | status | Print status for device with [dm device name]. | 
  
    | table | Print active table for device with [dm device name]. | 
The dmctl utility appeared in NetBSD
  6.0.
dmctl was written and contributed to
  NetBSD by Adam Hamsik.