CLI Guide

Table Of Contents
See also
dm migration commit
dm migration pause
dm migration remove
dm migration resume
dm migration start
dm migration clean
Cleans a committed data migration.
Contexts
All contexts.
In /data-migrations context, command is migration clean.
In /data-migrations/device-migrations context, command is clean.
In /data-migrations/extent-migrations context, command is clean.
Syntax
dm migration clean
[-m|--migrations] context-path,context-path...
[-f|--force]
[-e|--rename-target]
Arguments
Required arguments
[-m|--migrations]
context-path,context-path...
* List of one or more migrations to clean. Entries must be separated by commas.
Optional arguments
[-f|--force]
Forces the cancellation of the specified migrations.
[-e|--rename-target]
For device migrations only, renames the target device after the source device. If the target
device is renamed, the virtual volume on top of it is also renamed if the virtual volume has a
system-assigned default name.
* - argument is positional.
Description
For device migrations, cleaning dismantles the source devices down to its storage volumes. The storage volumes no longer in
use are unclaimed.
For device migrations only, use the --rename-target argument to rename the target device after the source device. If the
target device is renamed, the virtual volume on top of it is also renamed if the virtual volume has a system-assigned default
name.
146
Commands