CLI Guide

Table Of Contents
[-f|--file]
pathname
Directory and filename of migration plan file. Relative paths can be used. If no directory is specified,
the default directory is /var/log/VPlex/cli on the management server.
Description
Checks the following conditions:
Block-size of source and target extents is equal (4 K bytes)
Capacity of target extent is equal to, or larger than the source extent's capacity
Device migrations:
Target device has no volumes on it
Source device has volumes on it
Extent migrations:
Target extent is claimed and ready for use
Source extent is in use
Check all migration plans before beginning execution.
Examples
In the following example, a migration plan fails the check.
VPlexcli:/> batch-migrate check-plan --file MigDev-test.txt
Checking migration plan file /var/log/VPlex/cli/MigDev-test.txt.
Target device '/clusters/cluster-2/devices/dev1723_61C' has a volume.
Target device '/clusters/cluster-2/devices/dev1723_618' has a volume.
Plan-check failed, 2 problems.
In the following example, a migration plan passes the check.
VPlexcli:/> batch-migrate check-plan --file migrate.txt
Checking migration plan file /temp/migration_plans/migrate.txt.
Plan-check passed.
See also
batch-migrate cancel
batch-migrate clean
batch-migrate commit
batch-migrate create-plan
batch-migrate pause
batch-migrate remove
batch-migrate resume
batch-migrate start
batch-migrate summary
batch-migrate clean
Cleans the specified batch migration and deletes the source devices.
Contexts
All contexts.
Commands
41