>>- svctask -- -- migrateexts -- -------------------------------> >-- -source --+- source_mdisk_id ---+-- ------------------------> '- source_mdisk_name -' >-- -target --+- target_mdisk_id ---+-- ------------------------> '- target_mdisk_name -' >-- -exts -- number_of_extents -- ------------------------------> >-- -vdisk --+- vdisk_id ---+-- --------------------------------> '- vdisk_name -' >--+---------------------------------+------------------------->< '- -threads -- number_of_threads -'
This command migrates a given number of extents from the source, specified in terms of the virtual disk, and the managed disk that contains some extents used to make up the virtual disk. The target is specified in terms of a managed disk (within the same managed disk group).
If a large number of extents are being migrated, you can specify the number of threads that should be started, between one and four. The progress of these can be checked by issuing the svcinfo lsmigrate command.
The migrateext command will fail if there are insufficient free extents on the target managed disk. To avoid this problem, do not issue new commands that use extents until migrateext is completed.
The command should be used in conjunction with the svcinfo lsfreeextents command.
An invocation example
svctask migrateexts -vdisk vdisk4 -source mdisk4 -exts 64 -target mdisk6 -threads 4
The resulting output
No feedback