7.9.16 Migrating a volume You might want to migrate volumes from one set of MDisks to another set of MDisks to  decommission an old disk subsystem to better distribute load across your virtualized  environment, or to migrate data into the IBM Spectrum Virtualize environment that is using  image mode. For more information about migration, see Chapter 9, “Storage migration” on  page 409. Important:  After migration is started, it continues until completion. However, it is stopped  or suspended by an error condition or if the volume that is being migrated is deleted. Notice the parameters that are shown in Example 7-29. Before you can migrate your volume,  you must get the name of the volume to migrate and the name of the storage pool to which  you want to migrate it. To list the names of existing volumes and storage pools, run the  lsvdisk  and  lsmdiskgrp  commands. The command that is shown in Example 7-29 moves  volume_C  to the storage pool named  STGPool_DS5000-1 . Note:  If insufficient extents are available within your target storage pool, you receive an  error message. Ensure that the source MDisk group and target MDisk group have the  same extent size. Tip:  You can use the optional threads parameter to control priority of the migration  process. The default is  4 , which is the highest priority setting. However, if you want the  process to take a lower priority over other types of I/O, you can specify  3 ,  2 , or  1 . Use the  lsmigrate  command at any time to see the status of the migration process, as shown  in Example 7-30. Progress:  The progress is shown in terms of percentage complete. If no output is  displayed when you run the command, all volume migrations are complete. 332  Implementing the IBM System Storage SAN Volume Controller with IBM Spectrum Virtualize V8.2.1 IBM_2145:ITSO_CLUSTER:superuser>lsmigrate migrate_type MDisk_Group_Migration progress 0 migrate_source_vdisk_index 27 migrate_target_mdisk_grp 2 max_thread_count 4 migrate_source_vdisk_copy_id 0 IBM_2145:ITSO_CLUSTER:superuser>lsmigrate migrate_type MDisk_Group_Migration progress 76 migrate_source_vdisk_index 27 migrate_target_mdisk_grp 2 max_thread_count 4 migrate_source_vdisk_copy_id 0 Example 7-30 The lsmigrate command Example 7-29 The migratevdisk command  IBM_2145:ITSO_CLUSTER:superuser>migratevdisk -mdiskgrp STGPool_DS5000-1 -vdisk volume_C